﻿/* clone patch sheet.
 *
 * Three uses are allowed here and nothing else:
 *   1) patch WordPress' own intrusion into the surface;
 *   2) add a rule the mirror cannot carry, with its source cited in the comment;
 *   3) a browser-variable fallback.
 * No !important may be used to press a mirrored rule, and no iframe or
 * document-level style may be flattened to a global selector.
 *
 * Use 1 only, below: the toolbar is not part of the captured surface. It is also
 * removed at source (functions.php filters show_admin_bar off), so these two
 * rules are the belt to that braces, and they name WordPress' own output only —
 * no mirrored selector is touched.
 */

#wpadminbar {
	display: none;
}

body.admin-bar {
	padding-top: 0;
}

/* ---------------------------------------------------------------------------
 * Use 2 — a rule the mirror cannot carry, source cited.
 *
 * MOBILE DRAWER OPEN STATE (`?branch=mobile` / a phone user agent).
 *
 * Why a rule is needed at all: the captured mobile DOM holds the navigation
 * panel in its CLOSED state only — the runtime stylesheet parks it with
 * `.jpExCJ.jpExCJ.jpExCJ.jpExCJ{position:fixed;left:-200vw}` — and the layout the
 * app's own component tree gives it when open is in neither the captured DOM nor
 * the mirrored stylesheet. What follows is the MEASURED open state, not a design
 * choice (source: runtime/docs/captured/pages/home__mobile-inventory.json):
 *
 *   nav.drawer.level1[i].box        = 335 x 52, x = 20   -> row width = 375 - 2*20
 *   nav.drawer.close_control        = 24 x 48 at x = 331, y = 0
 *   nav.drawer.drilldown_example.back_button = 24 x 24 at x = 20, y = 12
 *
 * Typography, colour and every text spacing inside these rows stay the mirror's
 * and the captured CSSOM's; only the geometry the mirror does not carry is here.
 * No !important anywhere, and every selector is scoped under
 * [data-clone-nav-panel] / [data-clone-panel-chrome], which only clone-mobile.js
 * sets, so nothing else on either branch can match.
 * ------------------------------------------------------------------------- */

[data-clone-panel-chrome] {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding: 0 20px;
	background: #ffffff;
	z-index: 901;
}

[data-clone-panel-chrome] button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 48px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

[data-clone-panel-chrome] svg {
	fill: currentColor;
}

[data-clone-panel-chrome] [data-clone-back] {
	height: 24px;
	margin-right: auto;
}

[data-clone-panel-chrome] [data-clone-back][hidden] {
	display: none;
}

[data-clone-nav-panel] {
	padding: 0;
}

[data-clone-nav-panel] > [data-clone-row] {
	display: block;
	margin: 0 20px 8px;
}

[data-clone-nav-panel] > li[hidden] {
	display: none;
}

/* The drill-down's links are anchored by a parent rule the mirror does not carry
 * (the closed-state markup gives them no class of their own, so the browser's own
 * underline applies). Source: the captured open-state screenshot
 * runtime/docs/captured/_raw/mobile-probes/after-hamburger-click.png — the panel's
 * links render without an underline. Scoped to the panel; no !important. */
[data-clone-nav-panel] [data-clone-subpanel] a {
	text-decoration: none;
}

[data-clone-nav-panel] > [data-clone-row][hidden] {
	display: none;
}

[data-clone-nav-panel] [data-clone-level1] {
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 52px;
	padding: 0;
	border: 0;
	background: none;
	text-align: left;
	cursor: pointer;
}

[data-clone-nav-panel] [data-clone-subpanel][hidden] {
	display: none;
}

/* ---------------------------------------------------------------------------
 * Use 2 — a rule the mirror cannot carry, source cited.
 *
 * DEAD LINK POINTER AFFORDANCE (both branches).
 *
 * The footer's off-site entries are emitted without an `href` (the user's caliber:
 * a link with no in-site counterpart must not leave the site; the click is allowed
 * to do nothing). An `<a>` without href stops matching `:any-link`, so the browser
 * drops the UA `cursor: pointer` — measured on the clone at 1440x900:
 *
 *   runtime/cache/_probe_style_desktop.json  (runtime/scripts/_probe_deadlink_style.mjs)
 *   color / textDecorationLine / fontSize / fontWeight / letterSpacing / box:
 *     IDENTICAL before and after removing href (social 24x24, group 106.13x28,
 *     legal 61.33x12 — all unchanged)
 *   cursor:  "pointer" -> "auto"   <- the only computed-style difference
 *
 * So this single rule restores exactly the one property the element lost, and the
 * entry looks as it did. It is scoped to `[data-dead]`, an attribute only
 * build_home.py writes on a dead link, so no other element on either branch can
 * match it. No !important; no mirrored rule is pressed.
 * ------------------------------------------------------------------------- */

[data-dead] {
	cursor: pointer;
}

/* ---------------------------------------------------------------------------
 * Use 2 — rules the mirror cannot carry, source cited. PDP (product page).
 *
 * 1) SIZE / LENGTH SELECTED AFFORDANCE — SUPERSEDED (T5-minibag-rework).
 *
 * This used to be an INVENTED inset ring (`box-shadow: inset 0 0 0 1px #221D1D`) on the chip,
 * because the earlier round believed the capture held no selected look ("the mirrored runtime
 * stylesheet carries no rule that keys on aria-checked"). The re-capture proved otherwise: the
 * target's selected state is the chip's inner span with `border-color #221D1D`,
 * `background-color #F9F8F9` and `font-weight 600`, and a `transition: color .3s, border .3s`
 * on the way there (measured on the live page, `_t5_r2-inner.json`). The invented ring sat
 * 16 px above that real border box and read as "a box with a line through it" — the defect this
 * round removes. The rule is kept here as a comment, not as CSS, so it can never paint again.
 * ------------------------------------------------------------------------- */

/* 2) LIGHTBOX SCROLL LOCK.
 *
 * The clone's own overlay (the captured overlay's children were never serialised, see
 * clone-pdp.js) is `position: fixed`. Without a lock the page behind it still scrolls
 * under the overlay on a wheel event. Scoped to the attribute clone-pdp.js sets while
 * the overlay is open; nothing at rest matches it. */

html[data-clone-lightbox-open] {
	overflow: hidden;
}

/* 3) RECOMMENDATION ROW SCROLLER.
 *
 * The rows are slick carousels whose runtime JS is stripped; clone-pdp.js makes their
 * clipping box a real horizontal scroller so a phone can swipe them. A native
 * scrollbar inside the row would add height and shift every block below it, so the
 * bar is hidden on the clone's own attribute (the slick track's own affordance is the
 * captured "Next slide" button on desktop and the swipe on mobile). No !important, no
 * mirrored selector matched. */

[data-clone-scroller] {
	scrollbar-width: none;
	-ms-overflow-style: none;
	overscroll-behavior-x: contain;
}

[data-clone-scroller]::-webkit-scrollbar {
	height: 0;
	width: 0;
}

/* ---------------------------------------------------------------------------
 * Use 2 — a rule the mirror cannot carry, source cited. PDP (product page).
 *
 * 4) THE COLOUR SWATCH TOOLTIP THAT THE CAPTURE FROZE OPEN.
 *
 * The capture ran with the pointer resting on the "Heather Grey Logos" swatch, so the
 * DOM it saved carries react-aria's tooltip inline, inside that swatch:
 *
 *   <div role="radio" … class="… kzyzQz"><div id="swatch-tooltip"
 *        data-testid="box-selectors-tooltip-choice" class="… sc-166hg1e-0 cExIAk">…
 *
 * NO captured stylesheet holds a rule for it — measured 0 occurrences of `cExIAk`,
 * `sc-166hg1e`, `swatch-tooltip`, `kSQOxa` and `hUrXMf` in the runtime CSSOM
 * (runtime/docs/captured/assets/cssom__pdp__desktop.css) and in both linked page
 * stylesheets (1d4d49b17774ec92.css / cc8688825f3075b3.css). In flow it therefore grew
 * the "Prints" swatch row from the captured 50 px to 229 px and pushed the whole buy
 * box down by 187 px (clone add-to-bag y = 1511.9 vs captured y = 1325).
 *
 * The target page shows it as a floating card above the swatch (target screenshot
 * runtime/screenshots/target/pdp-desktop-1440-fold.png: card x 1181…1318 / y 531…740,
 * swatch x 1185 / y 745 from the captured `colors[10].thumb_rendered`). The rule below
 * restores exactly that placement so the buy box keeps its captured geometry:
 * absolute inside the swatch (which the mirror already gives `position: relative` —
 * `.kzyzQz.kzyzQz.kzyzQz.kzyzQz{position:relative}`), bottom edge 5 px above the swatch
 * top, left edge on the swatch left, 137 px wide, opaque so it covers what it covers on
 * the target. No !important; scoped to the captured id, so nothing else can match.
 * Registered as deviation D-PDP-04 in runtime/docs/implementation_pdp.md.
 * ------------------------------------------------------------------------- */

#swatch-tooltip {
	position: absolute;
	left: 0;
	bottom: calc(100% + 5px);
	width: 137px;
	background: #ffffff;
	z-index: 2;
}

#swatch-tooltip img {
	display: block;
	width: 137px;
	height: auto;
}

/* ---------------------------------------------------------------------------
 * Use 2 — a rule the mirror cannot carry, source cited. PDP (product page).
 *
 * 5) THE SHIPPING TABS' HEIGHT.
 *
 * The tabs strip (`prism-tabs`, the three cards "Ship To You / FREE In-Store Pickup /
 * Same Day Delivery") has NO rule of its own anywhere in the captured corpus: measured
 * 0 occurrences of `sc-nkkdgh`, `prism-tabs` and `sc-1ayksym` in
 *   - runtime/docs/captured/assets/cssom__pdp__desktop.css,
 *   - runtime/docs/captured/assets/cssom__pdp__mobile.css (and in a fresh re-capture),
 *   - the linked page stylesheets 1d4d49b17774ec92.css / cc8688825f3075b3.css.
 * What the mirror does carry is the tab CARD (`.dSmPNl` / `.dTgTJn`: flex column,
 * padding 0.667rem, radius, border), whose height therefore comes from its content —
 * and the content's paragraphs (`sc-nkkdgh-5` / `sc-nkkdgh-6`) have no rule either, so
 * they render with the UA's `1em` margins and the card grows to 96 px instead of the
 * captured 88 px.
 *
 * Measured cost of that 8 px, A/B on the clone (runtime/cache/_pdp_try_fix2.cjs):
 *   card height 96 px -> add-to-bag y = 1708.8   (captured mobile value: 1701)
 *   card height 88 px -> add-to-bag y = 1700.8   (captured mobile value: 1701)
 * and on desktop the same 8 px sat between the length group and the add-to-bag
 * (clone y = 1332.9 vs captured 1325), pushing the accordion and about-product blocks
 * with it (clone 1580.3 vs captured 1572).
 *
 * So the height below is the CAPTURED geometry, not a design choice: 88 px is the value
 * that reproduces the captured add-to-bag position on both branches, and the number
 * also matches the tab card measured on the target screenshot
 * (runtime/screenshots/target/pdp-mobile-375-full.png, tab card 176 device px at dpr 2).
 * Scoped to the three captured data-testids; no !important; no mirrored rule is pressed
 * (there is none to press). Registered as deviation D-PDP-05 in
 * runtime/docs/implementation_pdp.md.
 * ------------------------------------------------------------------------- */

[data-testid="ShipToYouTab"],
[data-testid="InstorePickUpTab"],
[data-testid="SameDayDeliveryTab"] {
	height: 88px;
	min-height: 0;
}

/* ---------------------------------------------------------------------------
 * T3-cart-checkout — the bag and checkout surfaces (APPENDED block).
 *
 * Three uses only, all of them clone-side chrome that the capture cannot carry:
 *
 *  1. `.clone-panel` — the panel wrapper build_cart_checkout.py puts around each captured
 *     state's <main> content. `display: contents` makes the wrapper vanish from the layout,
 *     so the visible panel keeps the exact layout context `<main>` had on the target. The
 *     `[hidden]` rule is REQUIRED, not cosmetic: `display: contents` outranks the UA
 *     stylesheet's `[hidden] { display: none }`, so without it a hidden panel would render.
 *  2. `.clone-card-slot` — the EMPTY card slot in the payment step. The capture's provider
 *     iframe was 478x178 inside a container measured at 417,579,478,232; the clone keeps the
 *     container and renders the slot empty at that box (min-height 232px, full column width,
 *     hairline outline). Registered as deviation D-CC-01 in
 *     runtime/docs/implementation_cart_checkout.md; the outline is the slot's own marker so a
 *     reader can see the boundary is intentional.
 *  3. `.clone-modal` / `.clone-dry-run` — the clone's own two chrome pieces: the remove-line
 *     confirmation (the target uses a native dialog, which a DOM capture cannot contain) and
 *     the dry-run status line under the checkout's forward button.
 *
 * No !important; no mirrored rule is pressed (none of these selectors exists upstream); no
 * iframe document-level style; no JS inline size overriding a mirrored CSS size rule.
 * ------------------------------------------------------------------------- */

.clone-panel {
	display: contents;
}

.clone-panel[hidden] {
	display: none;
}

.clone-card-slot {
	box-sizing: border-box;
	width: 478px;
	max-width: 100%;
	min-height: 232px;
	border: 1px solid #E0DAD5;
	border-radius: 2px;
	background-color: transparent;
}

.clone-modal {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(0, 0, 0, 0.45);
}

.clone-modal__dialog {
	box-sizing: border-box;
	width: 420px;
	max-width: calc(100% - 32px);
	padding: 24px;
	background-color: #FFFFFF;
	border-radius: 3px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
	font-family: inherit;
	color: #4E3844;
}

.clone-modal__title {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 600;
}

.clone-modal__body {
	margin: 0 0 20px;
	font-size: 14px;
	line-height: 1.4;
}

.clone-modal__actions {
	display: flex;
	gap: 12px;
	justify-content: flex-end;
}

.clone-modal__button {
	box-sizing: border-box;
	min-height: 44px;
	padding: 0 20px;
	border: 1px solid #4E3844;
	border-radius: 3px;
	background-color: #FFFFFF;
	color: #4E3844;
	font: inherit;
	font-size: 13px;
	letter-spacing: 0.08em;
	cursor: pointer;
}

.clone-modal__button--primary {
	background-color: #4E3844;
	color: #FFFFFF;
}

.clone-dry-run {
	margin: 8px 0 0;
	font-size: 12px;
	line-height: 1.4;
	color: #605858;
}

/* 4. A captured image has no intrinsic cap without the page's own layout rules: on the bag a
 *    recommendation `<picture>` renders at its intrinsic 1452 px and pushes the document 12 px
 *    past a 1440 viewport (measured: scrollWidth 1452 / clientWidth 1440). The cap is scoped to
 *    the two routes this block owns by `body[data-clone-page]`, so the home page and the PDP
 *    (whose body tags carry no such value, or "pdp") keep their captured layout untouched.
 *    Registered as deviation D-CC-02. */
body[data-clone-page="bag"] img,
body[data-clone-page="checkout"] img {
	max-width: 100%;
}

/* 5. The recommendation rows on these two routes are slick carousels whose library JS (and
 *    slick.css) is not part of the capture; the captured markup keeps slick's own classes and
 *    its inline `width: 5900px` track, so without the library's clip the track pushes the
 *    document 8 px past a 1440 viewport in the bag's emptied state (measured: 1448/1440).
 *    `.slick-list{overflow:hidden}` is slick's own rule, restored here for these two routes
 *    only. Registered as deviation D-CC-03. */
body[data-clone-page="bag"] .slick-list,
body[data-clone-page="checkout"] .slick-list {
	overflow: hidden;
}

/* =====================================================================================
 * PLP FILTER DRAWER (cloned /category/bras/ route only)
 *
 * The captured DOM carries the drawer's own stylesheet — `<style id="filter-drawer-dialog-
 * styles">` — which already places `dialog.filter-drawer-dialog` (fixed, full viewport,
 * transparent, `::backdrop` rgba(34,29,29,.35), right-side `.filter-drawer-panel` up to
 * 360px, slide-in animation). What is NOT in any captured artifact is the drawer's INNER
 * markup: the dialog was never mounted during the capture run, so `plp-<branch>-drawer.html`
 * is generated from `plp__<branch>-inventory.json` → `filters.sections` (10 sections /
 * 123 options, source=this_run) by `runtime/scripts/build_plp.py`. The rules below therefore
 * style elements that have no captured counterpart, and they are the only PLP-only rules in
 * this sheet. Scope: `#clone-plp-filter-dialog`, which exists on that route and nowhere else,
 * so no other page and no mirrored rule is touched (`override_discipline`: three uses only,
 * no `!important` against a mirrored effective rule).
 *
 * Colours are the page's own, taken from the capture: text `#221D1D` (text-neutral95),
 * hairline `#EFECEA` (the drawer panel's captured border-left), panel white.
 * ================================================================================== */
#clone-plp-filter-dialog .clone-plp-drawer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 16px 12px;
	border-bottom: 1px solid #EFECEA;
	color: #221D1D;
}
#clone-plp-filter-dialog .clone-plp-drawer-title {
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.02em;
}
#clone-plp-filter-dialog .clone-plp-drawer-close {
	appearance: none;
	border: 0;
	background: transparent;
	color: #221D1D;
	font-size: 20px;
	line-height: 1;
	padding: 4px 8px;
	cursor: pointer;
}
#clone-plp-filter-dialog .clone-plp-drawer-body {
	position: absolute;
	top: 56px;
	bottom: 108px;
	left: 0;
	right: 0;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}
#clone-plp-filter-dialog .clone-plp-accordion {
	border-bottom: 1px solid #EFECEA;
}
#clone-plp-filter-dialog .clone-plp-accordion-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	appearance: none;
	border: 0;
	background: transparent;
	color: #221D1D;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.02em;
	padding: 14px 16px;
	cursor: pointer;
	text-align: left;
}
#clone-plp-filter-dialog .clone-plp-accordion-count {
	color: #6B6560;
	font-weight: 400;
	font-size: 12px;
}
#clone-plp-filter-dialog .clone-plp-panel {
	padding: 0 16px 12px;
}
#clone-plp-filter-dialog .clone-plp-option {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 32px;
	color: #221D1D;
	font-family: inherit;
	font-size: 14px;
	cursor: pointer;
}
#clone-plp-filter-dialog .clone-plp-option[aria-disabled="true"] {
	color: #A8A29D;
	cursor: default;
}
#clone-plp-filter-dialog .clone-plp-input {
	width: 16px;
	height: 16px;
	margin: 0;
	accent-color: #221D1D;
}
#clone-plp-filter-dialog .clone-plp-option[role="radio"] {
	justify-content: flex-start;
}
#clone-plp-filter-dialog .clone-plp-option[aria-checked="true"]::before,
#clone-plp-filter-dialog .clone-plp-option:has(.clone-plp-input:checked)::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #221D1D;
	flex: none;
}
#clone-plp-filter-dialog .clone-plp-option[aria-checked="false"]::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	border: 1px solid #A8A29D;
	flex: none;
}
#clone-plp-filter-dialog .clone-plp-drawer-foot {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 12px 16px 16px;
	border-top: 1px solid #EFECEA;
	background: #FFFFFF;
}
#clone-plp-filter-dialog .clone-plp-drawer-status {
	margin: 0 0 8px;
	color: #6B6560;
	font-family: inherit;
	font-size: 12px;
}
#clone-plp-filter-dialog .clone-plp-drawer-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}
#clone-plp-filter-dialog .clone-plp-see {
	flex: 1 1 auto;
	appearance: none;
	border: 1px solid #221D1D;
	background: #221D1D;
	color: #FFFFFF;
	font-family: inherit;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	padding: 12px 16px;
	cursor: pointer;
}
#clone-plp-filter-dialog .clone-plp-clear {
	appearance: none;
	border: 0;
	background: transparent;
	color: #221D1D;
	font-family: inherit;
	font-size: 12px;
	text-decoration: underline;
	padding: 12px 4px;
	cursor: pointer;
}
#clone-plp-filter-dialog .clone-plp-clear[disabled] {
	color: #A8A29D;
	cursor: default;
}
/* ---------------------------------------------------------------------------
 * Use 2 — MOBILE BAG + CHECKOUT BRANCH (375x812 dpr2, `?branch=mobile`).
 *
 * Every rule below is scoped to `html[data-clone-branch="mobile"]`, the attribute bag.php /
 * checkout-clone.php write for that branch only. The shipped desktop document has neither the
 * attribute nor these selectors, so it cannot be reached from here.
 *
 * (a) THE SUMMARY BOTTOM BAR IS DOCKED.
 *     The captured mobile DOM holds the bar in its IN-FLOW variant — the root carries the
 *     app's `kdXxLa` class (`padding:1rem 1.667rem 0;margin-bottom:60px`), which is why an
 *     unpatched render parks the summary at page y=1341 instead of the viewport bottom. The
 *     capture ALSO carries the docked variant of the same component: `cssom__bag__mobile.css`
 *     -> `.KfVLi{background:#fff;border-top:1px solid rgb(224,218,213);bottom:0;position:fixed;
 *     padding:0.667rem 1rem 1.667rem;width:100%;z-index:100}`. Those are exactly the
 *     declarations below, moved onto the captured container by id so the class-level padding of
 *     the in-flow variant cannot win. Measured result: `{0,690,375,122}` — the captured fold
 *     reading (`cart-checkout-mobile__report.md` §3.2: bar top y=690, height 122).
 *
 * (b) THE MOBILE CARD SLOT KEEPS THE MOBILE BOX.
 *     Desktop slot = `417,579,478,232`; mobile slot = `44,697,310,260`
 *     (`checkout__mobile-geometry.json#states.payment.card_slot.card_slot_box`). The empty
 *     marker replaces the provider frame, so without a size it collapses to 0 and the reading
 *     compares nothing. Width/height come from that recorded box; the 1px border is the same
 *     clone-side affordance the desktop rule uses (deviation D-CC-01, mobile twin D-CC-M1).
 * ------------------------------------------------------------------------- */

html[data-clone-branch="mobile"] #buttons-aurus-overlay {
	background: #FFFFFF;
	border-top: 1px solid #E0DAD5;
	bottom: 0;
	left: 0;
	right: 0;
	position: fixed;
	padding: 0.667rem 1rem 1.667rem;
	margin-bottom: 0;
	width: 100%;
	z-index: 100;
}

html[data-clone-branch="mobile"] .clone-card-slot {
	width: 310px;
	max-width: 100%;
	min-height: 260px;
	border: 1px solid #E0DAD5;
}
/* (a2) The collapsed bar shows the total row directly.
 *      Measured on the unpatched clone (375x812 dpr2, `?branch=mobile`): the in-flow sheet keeps
 *      a header gap above the total row — `[data-testid="order-summary-details-container"]`
 *      `padding-top:4px` plus `[data-testid="order-summary-details-order-total"]`
 *      `margin-top:16px` — which docks the bar at `{0,666,375,146}` instead of the captured
 *      `{0,690,375,122}`. Those two declarations belong to the EXPANDED sheet; with the stack
 *      collapsed there is nothing for the gap to separate. Scoped to the collapsed state (set by
 *      clone-bag-mobile.js), so the expanded sheet keeps its own spacing untouched.
 */
html[data-clone-branch="mobile"] #buttons-aurus-overlay [data-clone-summary-state="collapsed"] [data-testid="order-summary-details-container"] {
	padding-top: 0;
}

html[data-clone-branch="mobile"] #buttons-aurus-overlay [data-clone-summary-state="collapsed"] [data-testid="order-summary-details-order-total"] {
	margin-top: 0;
}

/* ===================================================================================
 * T5-pages r1 — APPEND-ONLY BLOCK (every rule below is a use-2 addition with its source
 * cited; no mirrored rule is pressed, no !important is used anywhere in this block).
 * =================================================================================== */

/* ---------------------------------------------------------------------------
 * (1) PLP — THE CAPTURE'S PLACEHOLDER CELLS KEEP THE CAPTURE'S HEIGHT.
 *
 * Source of the height: the card container's OWN captured inline style,
 *   `content-visibility: auto; contain-intrinsic-size: auto 360px`
 * (`plp__desktop.html`, 60/60 cells), i.e. 360 px is what an un-laid-out cell reports.
 * Source of the membership: `plp__desktop-geometry.json` -> `nodes.cards[48..59].box.h
 * == 360` (the capture stopped at its 6-screen cap before those cells were ever laid
 * out; every cell it did lay out reads 502.33 / 519.33 / 507.75). `build_plp.py`
 * stamps exactly those cells `data-clone-capture-state="placeholder"` from that file —
 * this rule only gives the stamped state a height and clips the content the capture
 * never showed. Measured effect (1440x900 dpr1, full-scroll settle): rows 13-15 go from
 * 519.33 to 360.00, document 12745 -> 12267 (= captured 12268 - 0.4 px).
 * The height is scoped to the placeholder set only: the 48 cells that the capture DID
 * lay out keep their own content-driven height untouched.
 */
html[data-clone-page="plp"] [data-testid="productCardContainer"][data-clone-capture-state="placeholder"] {
	height: 360px;
	overflow: hidden;
}

/* ---------------------------------------------------------------------------
 * (2) PLP — LOAD MORE empty-state line.
 *
 * Source: B-PLP5 (`runtime/docs/blocked_assets.md`): the captured pool holds no
 * un-mounted card, so a click appends nothing and records `no-source`. The line
 * `clone-plp.js` inserts beside the control is clone-side chrome; this rule only
 * spaces and types it so it sits inside the captured footer stack (measured context:
 * the control is `data-testid="loadMoreButton"` inside a centred flex column that
 * opens with `Showing Items 1-180 of 547`). No captured node is restyled.
 */
.clone-plp-loadmore-status {
	margin: 12px 0 0;
	font-family: inherit;
	font-size: 12px;
	line-height: 17px;
	letter-spacing: 0.44px;
	color: #6B6560;
	text-align: center;
}

/* ---------------------------------------------------------------------------
 * (3) BAG — THE TWO THIRD-PARTY PAYMENT BUTTON FACES, AS STATIC REPLICAS.
 *
 * Source of every number below: the target's own bag fold at 1440x900 dpr1
 * (`runtime/screenshots/target/cart-desktop-1440-fold.png`), measured as flat-colour
 * bands inside the summary column:
 *   PayPal   x 925..1272 (348 wide)  y 713..757 (45 high)  fill rgb(44,46,47)   radius ~4
 *   Shop Pay x 925..1272 (348 wide)  y 775..828 (54 high)  fill rgb(84,51,235)  radius ~4
 * and the two marks inside them: "Pay with" + the PayPal wordmark (ink 136x18, centred
 * at x 1098.5) and the Shop wordmark (ink 51x21).
 *
 * Why a static face at all: the captured buttons were provider frames. `build_cart_
 * checkout.py` drops a `src`-less frame (it would draw an empty rectangle) and drops
 * the `<shop-pay-payment-request-button>` custom element, so the containers survived
 * with no face — which is why the bag read 54 px short and carried no ink in either
 * band. No SDK, no key, no merchant id, no outbound request: the marks come from the
 * document's OWN sprite symbols (`#paypallogo`, `#shoppay-icon`), the fills/sizes from
 * the pixels above, and a click lands on the dead-link behaviour (U-13) in clone-bag.js.
 */
.clone-quickpay-face {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	width: 100%;
	border: 0;
	border-radius: 4px;
	cursor: pointer;
	font-family: inherit;
	padding: 0;
}

/* the PayPal host div already carries `height:45px` inline; the face fills that box */
#paypal-button-container .clone-quickpay-face {
	height: 45px;
	background: #2C2E2F;
}

.clone-quickpay-face--paypal .clone-quickpay-label {
	color: #FFFFFF;
	font-size: 13px;
	line-height: 18px;
	letter-spacing: 0;
	font-weight: 400;
}

.clone-quickpay-face--paypal .clone-quickpay-mark {
	height: 20px;
	width: 67px;
	display: block;
	filter: brightness(0) invert(1);
}

#shop-pay-button-container .clone-quickpay-face {
	height: 54px;
	background: #5433EB;
}

.clone-quickpay-face--shop .clone-quickpay-mark {
	height: 21px;
	width: 32px;
	display: block;
}

.clone-quickpay-face[data-clone-pay="dead"]:focus-visible {
	outline: 2px solid #221D1D;
	outline-offset: 2px;
}

/* ---------------------------------------------------------------------------
 * (4) CHECKOUT — THE CARD FORM'S TRAILING COPY SITS 34 px HIGHER THAN THE MIRROR PUTS IT.
 *
 * Source: the target's payment step, two independent readings that agree —
 *   runtime/docs/captured/pages/checkout__desktop-geometry.json (state=payment):
 *     card_slot_box = 417,579,478,232  |  billing_block.y = 1070  |  cta.y = 1158  | docH 1559
 *   runtime/screenshots/target/checkout-desktop-1440-payment-full.png:
 *     the "Forgot your Victoria's Secret credit card details?" line sits at y 779, i.e.
 *     INSIDE the slot wrapper's 232 px (579..811), not below it.
 * The captured DOM keeps that copy as the SECOND child of `[data-testid="credit-card-form"]`
 * (`… > div[data-testid="fabric-aurus-credit-card-form-component"] + div`), and the mirror
 * renders it after the slot's full 232 px — 34 px lower than the target, which pushes
 * Billing Address to 1104, the CTA to 1192 and the document to 1593 (all +34).
 * The slot's own box is NOT touched (V-CO-P-01 reads 417.22,579.02,478,232 and must stay
 * there); only the copy that follows it moves back up by the measured 34 px.
 */
[data-clone-panel="payment"] [data-testid="credit-card-form"] > div + div {
	margin-top: -34px;
}

/* ---------------------------------------------------------------------------
 * (5) CHECKOUT — A NON-CARD METHOD COLLAPSES THE CARD FORM.
 *
 * Source of the state: `checkout__desktop-geometry.json` records only the DEFAULT state
 * (creditCardForm checked, provider frame mounted 417,594,478,178); the capture never
 * switched to another method, so NO captured DOM exists for "paypal selected". The
 * collapse below is therefore a VISUAL state only and is registered UNVERIFIED in
 * `runtime/docs/rework_pages.md` — it is not claimed as the target's own behaviour.
 * It exists because V-CO-P-07 read "card slot still visible after choosing paypal",
 * which is a clone-side contradiction: a card mount point under a PayPal choice.
 */
[data-testid="credit-card-form"][data-clone-collapsed="1"] {
	display: none;
}

/* ---------------------------------------------------------------------------
 * (3a) BAG — THE FIVE PIXELS BETWEEN THE TWO QUICK-PAY FACES.
 *
 * Measured, not chosen: on the target the PayPal band ends at y757 and the Shop Pay
 * band starts at y775 (runtime/screenshots/target/cart-desktop-1440-fold.png), i.e. a
 * 17 px gap; the mirror stacks the two captured containers with 12 px, so the Shop Pay
 * face lands at y769.89 and the document 5 px short (1811 vs the target's 1816). One
 * margin restores the captured stacking: face top 774.89, document 1816.
 */
#shop-pay-button-container {
	margin-top: 5px;
}

/* ===================================================================================
 * T5-mobile r2 — APPEND-ONLY BLOCK (mobile branch only: the bag summary in flow, and the
 * docked render that the captured fold frame shows). No `!important` anywhere; no mirrored
 * rule is pressed — (1) supersedes an EARLIER CLONE rule of this same sheet by later order,
 * and (2) styles an element this round creates (`#clone-bag-dock`).
 * =================================================================================== */

/* ---------------------------------------------------------------------------
 * (1) BAG — THE CAPTURED SUMMARY GOES BACK INTO THE FLOW (M-BAG-07).
 *
 * What the earlier Use-2 rule (this sheet, "the summary bottom bar is docked") did: it moved
 * the captured in-flow component `#buttons-aurus-overlay` to `position: fixed` at the viewport
 * bottom and collapsed its rows, which removed the component's own height from the document.
 * Measured cost of that rule alone: document 1984 px against the captured 2475
 * (`cart__mobile-geometry.json#geometry.doc.h` = 2475, `#geometry.footer.y` = 1832, footer
 * height 642 — 1832 + 642 = 2474, i.e. the flow content must end at the footer).
 *
 * The captured DOM holds the component IN FLOW and EXPANDED — `class="sc-sdfqxq-3 kdXxLa"`,
 * and `cssom__bag__mobile.css` carries `.kdXxLa{padding:1rem 1.667rem 0;margin-bottom:60px}`.
 * The declarations below hand it back exactly those two values (they are the capture's own
 * numbers, not a tuning): the rest of the stack (Subtotal / Discounts / Shipping / Estimated
 * Total / Klarna line / return policy / "Or pay with" / "We accept") is the capture's markup
 * laid out by the capture's stylesheet, and it is what makes the document 2475 px again.
 *
 * Measured after the rule (375x812 dpr 2, `?branch=mobile`, full-scroll settle):
 * document 2475, footer top 1832, in-flow CTA 1526..1574 — the captured in-flow CTA box
 * (`cart__mobile-inventory.json#...checkout_button` = {20,1526,335,48}) lands exactly.
 */
html[data-clone-branch="mobile"] #buttons-aurus-overlay {
	position: static;
	bottom: auto;
	left: auto;
	right: auto;
	width: auto;
	z-index: auto;
	padding: 1rem 1.667rem 0;
	margin-bottom: 60px;
}

/* ---------------------------------------------------------------------------
 * (2) BAG — THE DOCKED RENDER OF THE SAME COMPONENT (M-BAG-04 / M-BAG-05).
 *
 * Source of every number: the captured fold frame. `cart-checkout-mobile__report.md` §3.2
 * scans `cart-mobile-375-fold.png` and reads the bar's top rule at image y=1380/1381
 * (= 690 CSS), its bottom at the viewport edge 812, i.e. `{0, 690, 375, 122}`; the same
 * section records the CTA block at `x≈12, y≈744, w≈350, h≈48`. The box is reproduced from
 * the app's own docked variant, which the capture's CSSOM still carries —
 * `cssom__bag__mobile.css`: `.KfVLi.KfVLi.KfVLi.KfVLi{background:rgb(255,255,255);
 * border-top:1px solid rgb(224,218,213);bottom:0;position:fixed;padding:0.667rem 1rem 1.667rem;
 * width:100%;z-index:100}` — the padding turns the captured total row (37 px) plus the
 * captured CTA (48 px) into 122.3 px, so the box lands on the captured 122 without a height
 * being written.
 *
 * The element is created by `clone-bag-mobile.js` (`buildDock()`), which CLONES the captured
 * `[data-testid="order-summary-details-order-total"]` and
 * `[data-testid="ContinueToCheckoutBtn"]` into it — no label, price or button text is typed
 * here. It is shown only while the in-flow stack is outside the viewport, which is the state
 * the captured fold frame records; at scrollY=0 that is the initial state.
 */
#clone-bag-dock {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	background: #FFFFFF;
	border-top: 1px solid #E0DAD5;
	padding: 0.667rem 1rem 1.667rem;
	width: 100%;
	z-index: 100;
}

#clone-bag-dock[hidden] {
	display: none;
}

#clone-bag-dock [data-testid="order-summary-details-order-total"] {
	margin: 0;
}
/* the gap the docked variant carries between its total row and its CTA. The captured fold
 * frame reads the CTA block at `x≈12, y≈744, w≈350, h≈48` (`cart-checkout-mobile__report.md`
 * §3.2, pixel scan) and the bar at `{0,690,375,122}`; solved against the docked variant's own
 * numbers the stack is 1 (top rule) + 8 (padding .667rem) + 37 (total row) + 8 (gap)
 * + 48 (CTA) + 20 (padding 1.667rem) = 122, which puts the CTA strip at 743..791 — the scan's
 * own ±1 px of its 744..792. Measured with this gap: dock `{0,690,375,122}` exact. */
#clone-bag-dock [data-clone-dock-cta] {
	margin-top: 8px;
}

/* ===================================================================================
 * T5-paymethod r3 — APPEND-ONLY BLOCK: the payment-method switch on the checkout step.
 *
 * Every number below is read from `runtime/docs/captured/pages/checkout-paymethod__{desktop,
 * mobile}.json` (`states[]`, nine states per branch) and its `__report.md` §3.1/§3.2:
 *
 *   default   wrapper 417.22,579.02,478.44,232  frame 417.22,594.02,478.44,178
 *             mobile   44,697,310,260            frame   44,712,310,206
 *   vs        wrapper 417.22,685.02,478.44,236  frame 417.22,700.02,478.44,182
 *             mobile   44,771,310,236            frame   44,786,310,182
 *   paypal    card container AND provider frame absent from the DOM (not 0-high, not hidden);
 *             document -232 (desktop, 1559 -> 1327) / -260 (mobile, 1935 -> 1675)
 *   klarna    same absence, document -167 / -195: 64.59 px of blank stays in the payment list,
 *             measurably BETWEEN the klarna label and the afterpay label (the captured
 *             `radios[].box.y` moves the afterpay label 64.59 px down in this state and in no
 *             other). The capture never names the node that owns it — see
 *             `runtime/docs/rework_paymethod.md` §5.
 *   afterpay  same absence, document -127 / -155: 105.00 px of blank stays, and the captured
 *             label boxes put it BELOW the afterpay label (every label keeps the paypal-state y).
 *
 * No `!important` anywhere. No mirrored rule is pressed: (1) supersedes an EARLIER CLONE rule of
 * this same sheet by later order (`.clone-card-slot` and its mobile twin), and every other rule
 * here styles a node this round creates.
 * =================================================================================== */

/* ---------------------------------------------------------------------------
 * (1) THE CARD SLOT: its own hairline moves from `border` to `outline`.
 *
 * Reason (geometry, not taste): the captured provider frame sits at x417.22 with the SAME width
 * as its container (478.44), i.e. flush with the container's border box. A 1 px border on the
 * clone's slot shifts an inner frame to x418.22 / 476 wide — a 1 px error on the one box the
 * acceptance list reads. `outline` draws the same hairline at the same place and takes no
 * layout space, so the inner frame lands on the captured box exactly. The slot's own box is
 * unchanged (border-box 232 / 260 -> outline-box 232 / 260).
 * The 15 px the captured frame sits below the slot's top edge is written as the SLOT's own
 * `padding-top`, not as the frame's `margin-top`: with the border gone nothing is left to stop a
 * child's top margin collapsing through the slot, and it did — the slot started 15 px lower and
 * the document grew by the same 15 px (measured, first run of this round: 1574 instead of 1559).
 * ------------------------------------------------------------------------- */
.clone-card-slot {
	border: 0;
	outline: 1px solid #E0DAD5;
	outline-offset: -1px;
	width: 100%;
	padding-top: 15px;
}

html[data-clone-branch="mobile"] .clone-card-slot {
	width: 100%;
	border: 0;
	outline: 1px solid #E0DAD5;
	outline-offset: -1px;
	padding-top: 15px;
}

/* ---------------------------------------------------------------------------
 * (2) THE PROVIDER FRAME'S BOX, AS AN EMPTY MOUNT POINT.
 *
 * The clone emits no third-party frame (payment boundary, D-1), so the captured frame's own box
 * had no node to be read on. `build_cart_checkout.py` now writes `.clone-card-slot__frame` inside
 * the slot: empty, borderless, 178 px on desktop and 206 on mobile, 15 px below the slot's top —
 * which is exactly where the capture puts it (frame y594.02 inside wrapper y579.02 desktop,
 * y712 inside y697 mobile). It is the mount point the user's gateway renders into.
 * ------------------------------------------------------------------------- */
.clone-card-slot__frame {
	display: block;
	width: 100%;
	height: 178px;
	margin: 0;
}

html[data-clone-branch="mobile"] .clone-card-slot__frame {
	height: 206px;
}

/* ---------------------------------------------------------------------------
 * (3) `vsCreditCardForm`: THE CARD SLOT KEEPS ITS FRAME AND GROWS BY THE CAPTURED DELTA.
 *
 * The capture reads the same provider frame at 182 px in this state — +4 on desktop (wrapper
 * 232 -> 236, document 1559 -> 1563) and -24 on mobile (wrapper 260 -> 236, document
 * 1935 -> 1911). Both branches therefore land on the SAME 236 px wrapper and 182 px frame; the
 * two deltas differ only because the default frames differ (178 vs 206).
 * The frame's 15 px offset is the capture's (700.02 inside 685.02). Nothing else moves: the
 * card slot must NOT be detached for this method.
 * ------------------------------------------------------------------------- */
body[data-clone-payment-method="vsCreditCardForm"] .clone-card-slot {
	min-height: 236px;
}

html[data-clone-branch="mobile"] body[data-clone-payment-method="vsCreditCardForm"] .clone-card-slot {
	min-height: 236px;
}

body[data-clone-payment-method="vsCreditCardForm"] .clone-card-slot__frame {
	height: 182px;
}

/* ---------------------------------------------------------------------------
 * (4) THE BLANK THE TARGET LEAVES BEHIND FOR klarna AND afterpay.
 *
 * Measured, not chosen. Against the paypal state (where the card block is gone and nothing else
 * is) the document is 65 px taller with klarna and 105 px taller with afterpay, on BOTH
 * branches — and the captured label geometry says where that height sits:
 *   klarna   afterpay label y 769.02 -> 833.61 desktop, 855 -> 919.59 mobile (delta 64.59 both);
 *            the blank is between the klarna label and the afterpay label, i.e. inside the
 *            klarna item where the captured (collapsed) `#accordion-klarna` lives.
 *   afterpay every label keeps the paypal-state y; the blank is below the afterpay label, i.e.
 *            at the end of the afterpay item where the capture's two 0-high `checkout_widget`
 *            frames sit. Those two frames are NOT replicated (they are the target's own, and
 *            this clone emits no third-party frame at all); only the space they hold is.
 * The nodes are written by `build_cart_checkout.py` and are `hidden` until their method is
 * picked. 64.59 px is the captured label delta written as-is; it lands the document on
 * 1392 / 1740 (target 1392 / 1740) and the afterpay label on 833.59 / 919.58 (target 833.61 /
 * 919.59). The task's own read is "the blank was not located to a node on the target": the
 * capture records the space and the label shift, never the element that owns it — this file
 * records the same uncertainty in the same place (see rework_paymethod.md §5).
 * ------------------------------------------------------------------------- */
.clone-paymethod-blank {
	display: block;
}

.clone-paymethod-blank[hidden] {
	display: none;
}

.clone-paymethod-blank[data-clone-blank-for="klarna"] {
	height: 64.59px;
}

.clone-paymethod-blank[data-clone-blank-for="afterpay"] {
	height: 105px;
}

/* ---------------------------------------------------------------------------
 * (4) PLP — EMPTY CARD SLOTS KEEP THE CAPTURED CARD BOX.
 *
 * Source of every number: the captured card's own laid-out boxes, measured on
 * `/category/bras/?branch=desktop` at 1440x900 dpr2 BEFORE this round changed
 * anything (readings kept in runtime/docs/plp_datapath_report.md §6):
 *     [role="radiogroup"] swatch row   h 18.00
 *     [data-testid="productFamily"]    h 12.00
 *     [data-testid="categoryTwoBadge"] h 12.00
 *     card box                         293.50 x 502.33
 *
 * Why they can be empty at all: the card is rendered from the product library, and
 * the library has no structure for three of the captured card's slots — 0 variations
 * (so no colour chips), no product-family field, no badge field. Writing a value into
 * them would be inventing product data, so they render empty and are pinned here to
 * the height the capture gave them. An empty slot therefore never moves the card box,
 * the grid row or anything below it; the visitor sees the same grid rhythm.
 *
 * Scope: `html[data-clone-plp-datapath="woo"]` — the attribute `plp.php` writes only on
 * the datapath render. The static capture (and the fallback path that serves it) has
 * text inside these slots and cannot match `:empty`; no captured node is restyled.
 * ------------------------------------------------------------------------- */

html[data-clone-plp-datapath="woo"] [data-clone-swatchrow="empty"] {
	min-height: 18px;
}

html[data-clone-plp-datapath="woo"] [data-testid="productFamily"]:empty {
	display: block;
	min-height: 12px;
}

html[data-clone-plp-datapath="woo"] [data-testid="categoryTwoBadge"]:empty {
	min-height: 12px;
}

/* ==========================================================================
   T3-cart-real — REAL CART SURFACE (appended 2026-11-24; this file is append-only)
   --------------------------------------------------------------------------
   Three clone-side elements the captures do not carry, and one wrapper change:
     1. .clone-atb-flash    — the "Added to bag" confirmation on a `?clone_added=1` PDP.
     2. .clone-cart-notice  — WooCommerce's own notice after a cart update / line removal.
     3. .clone-line-total   — the line's own subtotal beside the unit price it was added to.
   The quantity stepper needs no rule: the builder keeps the captured class list when it turns
   the stepper's <div> into the cart <form>, so its box is the captured box.
   No important-flag overrides: every rule here is a new class on a node the capture never styled.
   ========================================================================== */

.clone-atb-flash {
	box-sizing: border-box;
	width: 100%;
	margin: 0 0 12px;
	padding: 10px 14px;
	border: 1px solid #E0DAD5;
	border-left: 3px solid #8CC24A;
	border-radius: 3px;
	background: #F9F8F9;
	font-family: inherit;
	font-size: 14px;
	line-height: 20px;
	color: #4E3844;
}

.clone-atb-flash a {
	color: #4E3844;
	text-decoration: underline;
}

.clone-atb-flash a:hover {
	color: #7A6A73;
}

.clone-cart-notice {
	box-sizing: border-box;
	width: 100%;
	margin: 0 0 12px;
	padding: 10px 14px;
	border: 1px solid #E0DAD5;
	border-left: 3px solid #8CC24A;
	border-radius: 3px;
	background: #F9F8F9;
	font-family: inherit;
	font-size: 14px;
	line-height: 20px;
	color: #4E3844;
}

.clone-cart-notice__item {
	display: block;
}

.clone-cart-notice__item--error {
	border-left-color: #C0392B;
}

.clone-line-total {
	display: block;
	flex: 0 0 100%;
	margin-top: 2px;
	font-family: inherit;
	font-size: 12px;
	line-height: 16px;
	color: #4E3844;
	white-space: nowrap;
}

.clone-remove-form {
	display: none;
}

/* ---------------------------------------------------------------------------
 * Use 2 — a rule the mirror cannot carry, source cited. HOME, PHONE PANEL.
 *
 * CATEGORY ROW BOX (375x812 dpr2, `?branch=mobile`).
 *
 * What changed and why a rule is needed. Eleven of the panel's fifteen rows are
 * category entries, and the build now serves them as
 * `<a href="/category/<slug>/" role="button" data-clone-level1-link="<slug>">`
 * instead of the dead anchors the capture carries
 * (`runtime/scripts/build_home.py`, `fill_panel`). The captured title anchor has
 * NO class of its own — its type comes from the `<li>` it sits in — so as an
 * inline element it would collapse the row: measured on the clone, the `<a>` that
 * the captured markup holds is `display: inline`, `width: auto`, `height: auto`,
 * while the open-state row is 335 x 52 (x = 20, y = 56 + 60*i). The declarations
 * below are the SAME ones `[data-clone-nav-panel] [data-clone-level1]` already
 * gives the button that used to stand in this slot, so the row keeps its box
 * instead of losing it: 335 x 52, step 60, unchanged (before/after table in
 * `runtime/docs/home_datapath_report.md` §B.4).
 *
 * `text-decoration: none` / `color: inherit` are not decoration choices: an
 * `<a href>` gets the UA's link colour and underline, and the button it replaces
 * had neither (measured: color rgb(34, 29, 29), textDecorationLine none). Without
 * these two lines the row would gain a colour and an underline the capture does
 * not have.
 *
 * Scoped to `[data-clone-nav-panel]` (written by clone-mobile.js only while the
 * panel is open) AND to `[data-clone-level1-link]` (written by the build on those
 * eleven rows only), so no other anchor on either branch can match it. No
 * important-flag; no mirrored rule is pressed.
 * ------------------------------------------------------------------------- */

[data-clone-nav-panel] a[data-clone-level1-link] {
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 52px;
	padding: 0;
	border: 0;
	background: none;
	text-align: left;
	cursor: pointer;
	text-decoration: none;
	color: inherit;
}

/* -------------------------------------------------------------------------
 * T5-store-fixes-A — a recommendation thumbnail whose bytes this run never
 * mirrored.
 *
 * The empty bag's shelf names products the product crawl did not carry, so a
 * few of its captured `<picture>` nodes have no local image at all: the builder
 * drops the `/p/…` candidates (they 404 on the clone host) and the captured
 * `<img>` stays as the capture wrote it — no `src`. A src-less `<img>` paints
 * its `alt` text inside the captured photo box, which reads as a broken card
 * rather than as a card whose photo is simply not held locally. `color:
 * transparent` keeps the captured box and hides the words; the card's own
 * title, rating, price and colour count underneath are untouched, and how many
 * cards are in this state is counted in `runtime/docs/rework_store_a.md`
 * instead of being drawn.
 *
 * Scoped to the product-card image (`img.product-image`) with NO `src`, so no
 * painted image on any page can match it. No important-flag; no mirrored rule
 * is pressed (`prism-image` sets no colour of its own).
 * ------------------------------------------------------------------------- */

img.product-image:not([src]) {
	color: transparent;
}
/* -------------------------------------------------------------------------
 * T5-cleanup — the empty bag's three recommendation cards whose picture the
 * capture never painted (`runtime/docs/cleanup_report.md` §2).
 *
 * `bag.php` marks those cards' header and image with `data-clone-noimg="1"`.
 * The captured styled-components rule paints the SAME 1x1 transparent blur-up
 * placeholder on every card of the shelf (`.cxrtVA` repeated four times), so
 * the marker has to out-rank a four-level class chain. No important-flag: the
 * selector repeats the attribute instead, which is specificity, not force, and
 * it cannot match a card the server did not mark. The marked `<img>` carries
 * the same attribute but no rule of its own — `img.product-image:not([src])`
 * above already hides its alt text; the marker exists so a reader of the DOM
 * can tell "empty by decision" from "empty by accident".
 *
 * The box is NOT set here. The marked card keeps the photo box it already
 * measures (156x207.75 desktop / 197.38 phone, the same as its twelve
 * siblings), so this rule removes one paint layer and changes no geometry.
 * ------------------------------------------------------------------------- */

[data-clone-noimg="1"][data-clone-noimg="1"][data-clone-noimg="1"][data-clone-noimg="1"][data-clone-noimg="1"] {
	background-image: none;
}

/* the marked card's own `<img>` paints nothing at all: with no `src` the engine draws its
 * broken-image glyph in the top-left corner of the slot, which reads as a failed load rather
 * than as a photo this run does not hold. `visibility` (not `display`) keeps the box in the
 * layout, so the captured card geometry is untouched; `alt` text is already hidden by
 * `img.product-image:not([src])` above. */
img.product-image[data-clone-noimg="1"] {
	visibility: hidden;
}

/* -------------------------------------------------------------------------
 * T5-closeout — the empty bag's whole recommendation rail under ONE rule.
 *
 * `bag.php` now marks every one of the rail's fifteen cards (`data-clone-noimg="1"`
 * on the card header AND its img: none of the fifteen captured img nodes carries its
 * own `src`, `data-src` or `srcset`) and writes on the same two nodes whether the
 * card's own `<picture>` still holds a local candidate (`data-clone-paint="source"`,
 * twelve cards) or none at all (`data-clone-paint="none"`, the three cards the
 * previous round handled by title).
 *
 * The two rules above are kept exactly as written: they neutralise a card whose
 * picture this run does not hold. The two rules below keep a card that DOES hold its
 * picture painting exactly as it did before the marker became universal:
 *   - `visibility: visible` out-ranks the single-attribute hide rule above (one more
 *     attribute, not a force flag), so a card with a local candidate is not blanked
 *     for uniformity;
 *   - `background-color: #EEEEEE` is the captured loading placeholder itself: the
 *     header's captured rule paints a 1x1 PNG whose only pixel is #EEEEEE (mirror
 *     `b33f78571bc96291.png`, 70 B), and this six-attribute selector restates that
 *     pixel while the lazy image has not painted yet. Nothing is resized: the image
 *     is `object-fit: fill` inside the same 156x207.75 / 147.94x197.38 box, and once
 *     it paints it covers the colour completely.
 *
 * No important-flag anywhere; no mirrored image rule is pressed; both selectors can
 * only match a node `bag.php` wrote.
 * ------------------------------------------------------------------------- */

img.product-image[data-clone-noimg="1"][data-clone-paint="source"] {
	visibility: visible;
}

[data-clone-noimg="1"][data-clone-noimg="1"][data-clone-noimg="1"][data-clone-noimg="1"][data-clone-noimg="1"][data-clone-paint="source"] {
	background-color: #EEEEEE;
}
/* -------------------------------------------------------------------------
 * DESKTOP MEGA MENU — ONE PANEL PER PRIMARY
 *
 * What was wrong: the captured DOM ships the mega menu as ONE FLAT LIST
 * (`ul.sc-nffzxe-6 jpExCJ`: 11 top rows, 277 anchors). clone-home.js opened that
 * one list on ANY primary, so hovering BRAS showed every category at once, and
 * the column headings (STYLES / COLLECTIONS / FEATURED / BRA EDUCATION /
 * EVERYDAY DEALS) were not in it at all — they are not anchors.
 *
 * What is here now: `build_home.py` renders one `.mm-panel` per primary from
 * `runtime/docs/nav_megamenu.json`, and this sheet is only the presentation of
 * that markup. Every rule is scoped to `ul[data-mm-panels="1"]`, the marker the
 * builder writes on the home page's own menubar, so no other page can inherit it.
 *
 * Open/close is CSS only (`li:hover`, plus `:focus-within` for keyboard users):
 * the behaviour file's panel selector no longer exists in the page, and a hover
 * state that needs no script cannot drift from the markup.
 *
 * Column geometry, heading size, spacing and the rule between columns restate the
 * captured design language: white panel, 12px/24px drop shadow, the captured rule
 * colour #E0DAD5 for the dividers, the nav's own 944px row above it.
 * No important-flag anywhere; no mirrored rule is re-pointed.
 * ---------------------------------------------------------------------- */

ul[data-mm-panels="1"] {
	position: relative;
}

/* the panel is positioned against the menubar, not against its own <li>: a <li> box
   is only as wide as the word, so anchoring there would size the panel to the word */
ul[data-mm-panels="1"] > li {
	position: static;
}

ul[data-mm-panels="1"] > li > .mm-panel {
	display: none;
	position: absolute;
	top: 100%;
	left: 50%;
	width: 100vw;
	transform: translateX(-50%);
	box-sizing: border-box;
	background: #FFFFFF;
	border-top: 1px solid #E0DAD5;
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
	padding: 24px 0 32px;
	z-index: 600;
	text-align: left;
}

/* ONE primary at a time: only the hovered/focused row's own panel is shown */
ul[data-mm-panels="1"] > li:hover > .mm-panel,
ul[data-mm-panels="1"] > li:focus-within > .mm-panel {
	display: block;
}

ul[data-mm-panels="1"] .mm-panel-inner {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	width: 1200px;
	max-width: calc(100vw - 80px);
	margin: 0 auto;
}

ul[data-mm-panels="1"] .mm-col {
	flex: 1 1 0;
	min-width: 0;
	padding: 0 36px;
	border-right: 1px solid #E0DAD5;
}

ul[data-mm-panels="1"] .mm-col:first-child {
	padding-left: 0;
}

ul[data-mm-panels="1"] .mm-col:last-child {
	padding-right: 0;
	border-right: 0;
}

ul[data-mm-panels="1"] .mm-group + .mm-group {
	margin-top: 20px;
}

ul[data-mm-panels="1"] .mm-group-title {
	display: block;
	margin: 0 0 6px;
	padding: 0;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	line-height: 1.3;
	color: #000000;
	text-decoration: none;
}

ul[data-mm-panels="1"] a.mm-group-title:hover {
	text-decoration: underline;
}

/* The mirrored sheet parks EVERY <ul> under a `.kQaxUU` row with
   `.kQaxUU.kQaxUU.kQaxUU.kQaxUU ul { margin:0; padding:0; position:absolute }` — that is
   how the capture hid the flat list. A 4-class rule out-ranks a plain class selector, so
   the marker attribute is repeated here (the same way this sheet already out-ranks its
   own mirrored rules): the element stays in flow WITHOUT a force flag. */
ul[data-mm-panels="1"][data-mm-panels="1"][data-mm-panels="1"][data-mm-panels="1"] .mm-items {
	display: block;
	position: static;
	list-style: none;
	margin: 0;
	padding: 0;
}

ul[data-mm-panels="1"] .mm-items > li {
	display: block;
	list-style: none;
	margin: 0;
	padding: 0;
}

ul[data-mm-panels="1"] .mm-link {
	display: block;
	padding: 2px 0;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.5;
	color: #1A1A1A;
	text-decoration: none;
}

ul[data-mm-panels="1"] .mm-link:hover {
	color: #000000;
	text-decoration: underline;
}

/* a dead entry keeps the captured look and loses the jump: no pointer affordance */
ul[data-mm-panels="1"] .mm-link[data-dead="1"],
ul[data-mm-panels="1"] .mm-group-title[data-dead="1"] {
	cursor: default;
	text-decoration: none;
}

/* ============================================================================
   THE ACCOUNT FLOW — /login/ step 1 (measured), steps 2-3 (inferred copy).
   T3-account-flow, appended; no rule above is edited.

   WHERE THE NUMBERS COME FROM. Step 1 is the captured sign-in entry: the field is
   374x48 at (533,450.9) on desktop and 343x48 at (16,321) on mobile, the button is
   the same pair 16px/24px below it, the label is 12px/20px centered in the field
   until it floats, the button pair is #F4C6CF / #4E3844 and the error language is
   #CE2B21 (runtime/docs/captured/account/account_validate__{desktop,mobile}.json).
   The card is the 432px white box the capture draws around the column
   (398 content + 16px padding + 1px border) — that reading is off the captured
   screenshots, not a computed-value read.

   Colours are consumed from the SAME inline custom properties the capture carries
   (`--prism-InputText-*`, `--prism-InputLabel-color`, `--prism-Button-*`), so a
   state change is a property change and never a second colour declaration. No
   `!important` anywhere: the one rule that has to out-rank the mirrored sheet (the
   h1) does it by scoring more, exactly as the login page's first layout block did.
   ============================================================================ */

[data-clone-account] {
	display: block;
	margin: 0;
	padding: 0;
	font-family: PublicSans, Helvetica, Arial, sans-serif;
	color: #221D1D;
}

[data-clone-account] .clone-acct__sprite {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

/* ---- the card the capture centres on this route ------------------------- */
[data-clone-account] .clone-acct {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	box-sizing: border-box;
	padding: 26px 16px 30px;
}

[data-clone-account][data-clone-account-branch="mobile"] .clone-acct {
	display: block;
	padding: 0;
}

[data-clone-account] .clone-acct__card {
	width: 432px;
	max-width: 100%;
	box-sizing: border-box;
	padding: 26px 16px 27px;
	background: #FFFFFF;
	border: 1px solid #E0DAD5;
}

[data-clone-account][data-clone-account-branch="mobile"] .clone-acct__card {
	width: 100%;
	padding: 22px 16px 43px;
	border: 0;
}

/* ---- rewards strip: 148x33 logo, 11px/17px copy, Learn More -------------- */
[data-clone-account] .clone-acct__rewards {
	padding: 0 16px;
	margin: 0 0 27px;
}

[data-clone-account][data-clone-account-branch="mobile"] .clone-acct__rewards {
	padding: 0;
	margin: 0 0 30px;
}

[data-clone-account] .clone-acct__logo {
	margin: 0 0 11px;
}

[data-clone-account] .clone-acct__logo svg {
	display: block;
	width: 148px;
	height: 33px;
}

[data-clone-account][data-clone-account-branch="mobile"] .clone-acct__logo {
	margin: 0 0 10px;
}

[data-clone-account] .clone-acct__incentive {
	margin: 0;
	max-width: 290px;
	font-size: 11px;
	line-height: 17px;
	letter-spacing: 0.44px;
	color: #221D1D;
}


[data-clone-account] .clone-acct__learn {
	padding-left: 0.334rem;
	font-size: 12px;
	line-height: 14px;
	color: inherit;
	text-decoration: underline;
}

/* a control with no counterpart route keeps the captured look and loses the jump (U-13) */
[data-clone-account] .clone-acct__learn[data-dead="1"],
[data-clone-account] .clone-acct__privacy-link[data-dead="1"] {
	cursor: default;
}

/* ---- heading: 15.192px/600, the mirrored sheet sizes every h1 under this
   wrapper, so this selector is deliberately more specific than (0,2,1) ----- */
[data-clone-account][data-clone-account-step] .clone-acct__head {
	margin: 0 0 16px;
}

[data-clone-account][data-clone-account-branch="mobile"] .clone-acct__head {
	margin: 0 0 24px;
}

main[data-clone-account].fabric-landing-template.vs .clone-acct__title {
	margin: 0;
	font-size: 15.192px;
	font-weight: 600;
	line-height: 20px;
	letter-spacing: 0.60768px;
	color: #221D1D;
}

[data-clone-account] .clone-acct__lede {
	margin: 8px 0 0;
	font-size: 13px;
	line-height: 19px;
	color: #221D1D;
}

[data-clone-account] .clone-acct__lede-email {
	font-weight: 600;
}

[data-clone-account] .clone-acct__badge {
	display: inline-flex;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	margin: 0 0 12px;
	border: 1px solid #4E3844;
	border-radius: 50%;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.6px;
}

/* ---- the page-level alert: 11px copy, #CE2B21 frame, 46px tall ----------- */
[data-clone-account] .clone-acct__alert {
	display: flex;
	align-items: center;
	gap: 16px;
	box-sizing: border-box;
	margin: 20px 0 16px;
	padding: 16px;
	border: 1px solid #CE2B21;
	border-radius: 3px;
	background: transparent;
	font-size: 11px;
	line-height: 12px;
	color: #221D1D;
}

[data-clone-account] .clone-acct__alert[hidden] {
	display: none;
}

[data-clone-account] .clone-acct__alert-icon {
	display: block;
	flex: 0 0 20px;
	width: 20px;
	height: 12px;
	line-height: 0;
}

[data-clone-account] .clone-acct__alert-icon svg {
	display: block;
	width: 20px;
	height: 20px;
	margin-top: -4px;
}

[data-clone-account] .clone-acct__alert-text {
	display: block;
}

[data-clone-account] .clone-acct__status {
	margin: 0 0 16px;
	font-size: 13px;
	line-height: 18px;
	color: #221D1D;
}

/* ---- the controls: 48px tall, 374px wide on desktop, 343px on mobile ----- */
[data-clone-account] .clone-acct__form {
	margin: 0;
	padding: 0 12px;
}

[data-clone-account][data-clone-account-branch="mobile"] .clone-acct__form {
	padding: 0;
}

[data-clone-account] .clone-acct__field {
	margin: 0 0 16px;
}

[data-clone-account][data-clone-account-branch="mobile"] .clone-acct__field {
	margin: 0 0 24px;
}

[data-clone-account] .clone-acct__input-wrap {
	position: relative;
	display: block;
}

[data-clone-account] .clone-acct__input {
	display: block;
	width: 100%;
	height: 48px;
	box-sizing: border-box;
	margin: 0;
	padding: 18px 0.667rem 0.667rem;
	font-family: inherit;
	font-size: 16px;
	line-height: 20px;
	letter-spacing: 0.64px;
	color: #221D1D;
	background: var(--prism-InputText-inputBackgroundColor, #FFFFFF);
	border: var(--prism-InputText-inputBorderThickness, 1px) solid var(--prism-InputText-inputBorderColor, #958F8F);
	border-radius: 0;
}

[data-clone-account] .clone-acct__input:focus {
	outline: none;
	border-color: var(--prism-InputText-inputFocusBorderColor, #221D1D);
}

/* the floating label: centred at 12px/20px while the field is untouched, up at
   10px/14px once it carries a value or a message (the floated metrics are read
   off the captured error screenshot's ink box; the centred metrics are measured) */
[data-clone-account] .clone-acct__label {
	position: absolute;
	left: 9px;
	top: 50%;
	transform: translateY(-50%);
	margin: 0;
	font-size: 12px;
	line-height: 20px;
	letter-spacing: 0.48px;
	color: var(--prism-InputLabel-color, #605858);
	pointer-events: none;
	white-space: nowrap;
}

[data-clone-account] .clone-acct__field.is-floated .clone-acct__label {
	top: 7px;
	transform: none;
	font-size: 10px;
	line-height: 14px;
	letter-spacing: 0.4px;
}

[data-clone-account] .clone-acct__field.is-error .clone-acct__label {
	text-transform: uppercase;
}

[data-clone-account] .clone-acct__hint {
	margin: 6px 0 0;
	font-size: 11px;
	line-height: 15px;
	color: #605858;
}

[data-clone-account] .clone-acct__submit {
	display: block;
	width: 100%;
	height: 48px;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-size: 15.192px;
	font-weight: 600;
	line-height: 46px;
	letter-spacing: 1.21536px;
	text-transform: uppercase;
	text-align: center;
	color: var(--prism-Button-color, #4E3844);
	background: var(--prism-Button-backgroundColor, #F4C6CF);
	border: 1px solid var(--prism-Button-borderColor, #F4C6CF);
	border-radius: 3px;
	cursor: pointer;
}

[data-clone-account] .clone-acct__submit:hover {
	background: var(--prism-Button-hoverBackgroundColor, #F4C6CF);
}

[data-clone-account] a.clone-acct__submit {
	text-decoration: none;
}

[data-clone-account] .clone-acct__privacy {
	margin: 19px 0 0;
	line-height: 12px;
	text-align: center;
}

[data-clone-account] .clone-acct__privacy-link {
	display: inline-block;
	font-size: 13px;
	line-height: 12px;
	color: #221D1D;
	text-decoration: underline;
}

[data-clone-account] .clone-acct__actions {
	margin: 20px 0 0;
}

[data-clone-account] .clone-acct__signout {
	display: block;
	margin: 16px 0 0;
}

[data-clone-account] .clone-acct__note {
	margin: 16px 0 0;
	font-size: 11px;
	line-height: 16px;
	color: #605858;
}

[data-clone-account] .clone-acct__vhidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ---- the signed-in header: the captured account control becomes an
   initials badge that opens the account page, plus one way out ------------- */
.clone-acct__hdr-badge {
	display: inline-flex;
	width: 22px;
	height: 22px;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	border: 1px solid currentColor;
	border-radius: 50%;
	font-family: PublicSans, Helvetica, Arial, sans-serif;
	font-size: 10px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.3px;
	text-transform: uppercase;
}


/* ---------------------------------------------------------------------------
 * Use 2 — rules the mirror cannot carry, source cited.
 *
 * "FREE SHIPPING ON $50+" — the hint blocks (T3-freeship).
 *
 * Source: runtime/docs/captured/pages/freeship_report.md (the capture, measured on the target):
 *   1.2  hero line       desktop y=646 h=23 font-size 17.0892px; phone y=624 h=18 font-size 13.5px
 *   1.3  rewards card    position:fixed box (1012,703,400x169) at 1440x900,
 *                        background rgba(255,255,255,0.85), inner text 12px rgb(34,31,32)
 *   1.4  collapsed capsule — the SAME slot (400x48 desktop / 337.5x48 phone). The capture records
 *        the capsule and the card as one slot in two states, so the expanded card REPLACES the
 *        capsule instead of stacking on it: the page build marks the capsule
 *        `data-clone-freeship-replaced="1"` and only a marked capsule is hidden here.
 *   4.1  bag loyalty block copy; 4.2 its meter scale `$0 / FREE SHIPPING / $100`
 *   7    sign-in callout: 11px, letter-spacing 0.44px, directly under the page title
 *
 * The captured class chains for these blocks (`sc-4r6fmw*` card, `sc-qcblft*` capsule) appear in
 * NO mirrored stylesheet and in NO head fragment (0 hits, measured), so reusing them would ship
 * unstyled markup: the blocks are clone-side and these are the only rules that paint them.
 * No !important anywhere; every selector is scoped to a `clone-freeship*` class or to the marker
 * attribute the build writes, so no mirrored element can match these rules at rest.
 * ------------------------------------------------------------------------- */

/* the hero's third line — the capture's own size; its COLOUR follows the hero text layer it sits
   in (the capture measured white text over the target's darker hero art; this clone's hero art
   carries black text, and a white line on it would not be read at all) */
.clone-freeship-hero {
	font-size: 17.09px;
	line-height: 23px;
	font-weight: 700;
	letter-spacing: 0.44px;
	color: inherit;
	text-align: center;
}

html.mobile .clone-freeship-hero {
	font-size: 13.5px;
	line-height: 18px;
}

/* the fixed bottom-right rewards card: the capture's expanded state of the capsule's slot */
.clone-freeship-card {
	position: fixed;
	right: 28px;
	bottom: 28px;
	z-index: 3;
	box-sizing: border-box;
	width: 400px;
	min-height: 169px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 10px;
	padding: 16px 20px 18px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.85);
	color: rgb(34, 31, 32);
	font-family: PublicSans, Helvetica, Arial, sans-serif;
	font-size: 12px;
	line-height: 1.45;
	letter-spacing: 0.44px;
	text-align: left;
}

.clone-freeship-card__logo svg {
	display: block;
	width: 148px;
	height: 33px;
	fill: currentColor;
}

.clone-freeship-card__copy {
	margin: 0;
}

.clone-freeship-card__copy strong {
	font-weight: 700;
}

.clone-freeship-card__cta {
	align-self: flex-start;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
	text-decoration: underline;
	cursor: pointer;
}

/* one slot, one state: the expanded card replaces the captured collapsed capsule */
[data-testid="acquisition-collapsed-state"][data-clone-freeship-replaced="1"] {
	display: none;
}

/* the bag's loyalty block: an in-flow body block under the item list (capture §4.1/§4.2) */
.clone-freeship-bag {
	box-sizing: border-box;
	width: 100%;
	margin: 24px 0 8px;
	padding: 18px 20px 20px;
	border: 1px solid #E0DAD5;
	border-radius: 4px;
	background: #FFFFFF;
	color: rgb(34, 31, 32);
	font-family: PublicSans, Helvetica, Arial, sans-serif;
	font-size: 12px;
	line-height: 1.5;
	letter-spacing: 0.44px;
	text-align: left;
}

.clone-freeship-bag__copy {
	margin: 0 0 10px;
}

.clone-freeship-bag__copy strong {
	font-weight: 700;
}

.clone-freeship-bag__progress {
	margin: 0 0 12px;
}

.clone-freeship-bag__bar {
	position: relative;
	height: 4px;
	border-radius: 2px;
	background: #E0DAD5;
	overflow: hidden;
}

.clone-freeship-bag__fill {
	display: block;
	height: 100%;
	background: #221D1D;
}

/* the captured scale, three labels left / middle / right: `FREE SHIPPING` therefore sits on the
   $50 point of the $0..$100 axis, which is where the capture draws it (report §4.2) */
.clone-freeship-bag__scale {
	display: flex;
	justify-content: space-between;
	margin-top: 6px;
	color: #605858;
	font-size: 10px;
	letter-spacing: 0.44px;
	text-transform: uppercase;
}

/* the sign-in surface's incentive line (capture §7: under the page title) */
.clone-freeship-login {
	margin: 8px 0 16px;
	color: rgb(34, 31, 32);
	font-family: PublicSans, Helvetica, Arial, sans-serif;
	font-size: 11px;
	line-height: 1.5;
	letter-spacing: 0.44px;
	text-align: center;
}

.clone-freeship-login strong {
	font-weight: 700;
}

.clone-freeship-login__more {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
	text-decoration: underline;
	cursor: pointer;
}

/* ---------------------------------------------------------------------------
 * T3-chat-rewards — (B) THE REWARDS ENTRY, one implementation for every route.
 *
 * Source: runtime/docs/captured/account2/rewards_entry.json (measured on the target, both
 * branches, two states):
 *
 *   state      desktop box (x,y,w,h)      phone box (x,y,w,h)          what paints it
 *   expanded   (1012,703,400,169)         (20,593.5,335,169)           .clone-rewards__panel
 *   collapsed  (1012,824,400,48)          (18.8,736,337.5,48)          .clone-rewards__bar
 *
 * The two states share ONE anchor: bottom 28px on desktop for both, bottom 28px for the phone
 * bar and 49.5px for the phone panel — the phone's own measured offsets, not a derived rule.
 * Anchors, paddings and the inner insets are the capture's numbers: panel padding 20/12/16 with
 * a 1px border puts the content box at +21 (logo 1033 = 1012+21 at y 724 = 703+21), the gift
 * icon and the chevron keep a 21px inset (1327 = 1412-21-64, 1381 = 1412-21-10), the action row
 * starts at +13 (1025) and its second control at 1162.7 = 1025+125.7+12.
 *
 * The captured class chains for this slot (`sc-4r6fmw*` card, `sc-qcblft*` capsule) appear in no
 * mirrored stylesheet (measured 0 hits, see build_home.py), so these clone-side classes are the
 * only rules that can paint the entry. Colours, sizes and letter-spacing are the capture's own
 * computed values, quoted in the declarations below.
 *
 * No !important; every selector is scoped to the `clone-rewards` block or to the body marker the
 * document filter writes, so no mirrored element matches these rules at rest.
 * ------------------------------------------------------------------------- */

/* the safe area: the bar is fixed, so the document reserves its 48px at the bottom instead of
   letting the bar sit on the last line of content (measurement: docH +48 on every route). */
body[data-clone-rewards-page="on"] {
	padding-bottom: 48px;
}

.clone-rewards {
	font-family: PublicSans, Helvetica, Arial, sans-serif;
}

/* ---- collapsed bar: 400x48 (desktop) / 337.5x48 (phone), radius 10px ------------------ */
.clone-rewards__bar {
	position: fixed;
	right: 28px;
	bottom: 28px;
	z-index: 40;
	box-sizing: border-box;
	width: 400px;
	height: 48px;
	margin: 0;
	padding: 0 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgb(239, 236, 234);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.85);
	color: rgb(34, 31, 32);
	font-family: inherit;
	font-size: 15.008px;
	font-weight: 600;
	line-height: 20px;
	letter-spacing: 1.20064px;
	text-align: center;
	cursor: pointer;
}

.clone-rewards[data-clone-rewards-branch="mobile"] .clone-rewards__bar {
	left: 18.75px;
	right: 18.75px;
	width: auto;
}

/* ---- expanded panel: 400x169 (desktop) / 335x169 (phone) ------------------------------- */
.clone-rewards__panel {
	position: fixed;
	right: 28px;
	bottom: 28px;
	z-index: 41;
	box-sizing: border-box;
	width: 400px;
	height: 169px;
	padding: 20px 12px 16px;
	border: 1px solid rgb(224, 218, 213);
	border-radius: 10.008px;
	background: rgba(255, 255, 255, 0.85);
	box-shadow: none;
	color: rgb(34, 29, 29);
	font-family: inherit;
	font-size: 11px;
	font-weight: 400;
	line-height: 17px;
	letter-spacing: 0.44px;
	text-align: left;
}

/* the no-JS state: the panel stays out of the document flow until the bar opens it, and the
   bar is what renders with scripting off (the filter emits it unconditionally). */
.clone-rewards__panel[hidden] {
	display: none;
}

/* one slot, one state (the capture's own rule): with the panel open the collapsed bar is not
   painted. It stays in the DOM — it is the toggle and it owns the aria-expanded state — and
   `visibility` keeps its box, so nothing reflows while the two states swap. */
.clone-rewards[data-clone-rewards-state="expanded"] .clone-rewards__bar {
	visibility: hidden;
}

.clone-rewards[data-clone-rewards-branch="mobile"] .clone-rewards__panel {
	left: 20px;
	right: auto;
	width: 335px;
	bottom: 49.5px;
}

.clone-rewards__logo {
	position: absolute;
	left: 20px;
	top: 20px;
}

.clone-rewards__logo svg {
	display: block;
	width: 151.1px;
	height: 33px;
}

.clone-rewards__offer {
	position: absolute;
	left: 20px;
	top: 64px;
	width: 193px;
	margin: 0;
	font-size: 12px;
	font-weight: 400;
	line-height: 17px;
	letter-spacing: 0.48px;
	color: rgb(34, 31, 32);
}

.clone-rewards__offer strong {
	font-weight: 700;
}

.clone-rewards__gift {
	position: absolute;
	right: 20px;
	top: 39px;
	width: 64px;
	height: 64px;
	display: block;
}

.clone-rewards__close {
	position: absolute;
	right: 20px;
	top: 20px;
	width: 10px;
	height: 14px;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
}

.clone-rewards__close svg {
	display: block;
	width: 10px;
	height: 14px;
}

.clone-rewards__actions {
	position: absolute;
	left: 12px;
	top: 115px;
	display: flex;
	align-items: center;
}

.clone-rewards__signin {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 125.7px;
	height: 32px;
	padding: 8.004px 10.008px;
	border: 1px solid rgb(0, 0, 0);
	border-radius: 20.004px;
	background: rgb(0, 0, 0);
	color: rgb(255, 255, 255);
	font-family: inherit;
	font-size: 10.008px;
	font-weight: 600;
	letter-spacing: 0.80064px;
	line-height: normal;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
}

.clone-rewards__learn {
	margin-left: 12px;
	font-family: inherit;
	font-size: 11px;
	font-weight: 400;
	line-height: 17px;
	letter-spacing: 0.44px;
	color: rgb(34, 29, 29);
	text-decoration: underline;
}

/* ---------------------------------------------------------------------------
 * T3-chat-rewards — (C) THE CREATE-ACCOUNT STEP, built from the capture.
 *
 * Source: runtime/docs/captured/account2/account_flow2.json §create_form / §validation and
 * create__desktop__form.html (the form's own DOM):
 *   control       measured                this step
 *   input         382x48, bg #F9F8F9, radius 2px, 16px/20px 0.64px   .clone-acct__input (create scope)
 *   submit        342x48, bg #F4C6CF, text #4E3844, 15.192px/600     .clone-acct__submit (342px)
 *   cancel        342x48, white, 1px #4E3844                         .clone-acct__cancel
 *   SHOW          47.2x33, 11px/17px, right of the password field    .clone-acct__show
 *   error         #CE2B21 on label + border, label text = message     .is-error (already here)
 *   requirements  10.668px/17px, title 10.668px/600                  .clone-acct__req*
 * The step's own copy is the measurement; nothing on it is invented (see login-step-create.html).
 * ------------------------------------------------------------------------- */

[data-clone-account][data-clone-account-step="create"] .clone-acct__card {
	width: 448px;
}

[data-clone-account][data-clone-account-branch="mobile"][data-clone-account-step="create"] .clone-acct__card {
	width: 100%;
}

[data-clone-account] .clone-acct__required {
	margin: 0 0 10px;
	font-size: 12px;
	line-height: 20px;
	letter-spacing: 0.48px;
	color: #221D1D;
}

[data-clone-account] .clone-acct__legend {
	padding: 0;
	margin: 0 0 10px;
	font-size: 11px;
	line-height: 17px;
	letter-spacing: 0.44px;
	color: #221D1D;
}

[data-clone-account] .clone-acct__fieldset {
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

[data-clone-account][data-clone-account-step="create"] .clone-acct__input,
[data-clone-account][data-clone-account-step="create"] .clone-acct__select {
	border-radius: 2px;
	background: var(--prism-InputText-inputBackgroundColor, #F9F8F9);
	border-color: var(--prism-InputText-inputBorderColor, #F9F8F9);
}

[data-clone-account][data-clone-account-step="create"] .clone-acct__field.is-error .clone-acct__input,
[data-clone-account][data-clone-account-step="create"] .clone-acct__field.is-error .clone-acct__select {
	border-color: #CE2B21;
}

[data-clone-account] .clone-acct__input[readonly] {
	color: #605858;
	cursor: default;
}

[data-clone-account] .clone-acct__select {
	display: block;
	width: 100%;
	height: 48px;
	box-sizing: border-box;
	margin: 0;
	padding: 18px 0.667rem 0.667rem;
	font-family: inherit;
	font-size: 16px;
	line-height: 20px;
	letter-spacing: 1.28px;
	color: #221D1D;
	background: var(--prism-InputText-inputBackgroundColor, #F9F8F9);
	border: 1px solid var(--prism-InputText-inputBorderColor, #F9F8F9);
	border-radius: 2px;
	appearance: none;
	-webkit-appearance: none;
}

[data-clone-account] .clone-acct__select:focus {
	outline: none;
	border-color: #000000;
}

/* the select's own chevron: drawn, not fetched, so the step carries no extra request */
.clone-acct__select-wrap {
	position: relative;
	display: block;
}

.clone-acct__select-wrap::after {
	content: "";
	position: absolute;
	right: 14px;
	top: 21px;
	width: 7px;
	height: 7px;
	border-right: 1px solid #221D1D;
	border-bottom: 1px solid #221D1D;
	transform: rotate(45deg);
	pointer-events: none;
}

[data-clone-account] .clone-acct__show {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	margin: 0;
	padding: 8px 10px;
	border: 0;
	background: none;
	color: #221D1D;
	font-family: inherit;
	font-size: 11px;
	font-weight: 400;
	line-height: 17px;
	letter-spacing: 0.44px;
	cursor: pointer;
}

/* the password's requirement list: title 10.668px/600, items 10.668px/17px (capture) */
[data-clone-account] .clone-acct__req {
	margin: 8px 0 0;
}

[data-clone-account] .clone-acct__req-title {
	margin: 0 0 2px;
	font-size: 10.668px;
	font-weight: 600;
	line-height: 17px;
	letter-spacing: 0.44px;
	color: #221D1D;
}

[data-clone-account] .clone-acct__req-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

[data-clone-account] .clone-acct__req-item {
	position: relative;
	padding-left: 12px;
	font-size: 10.668px;
	line-height: 17px;
	letter-spacing: 0.44px;
	color: #605858;
}

[data-clone-account] .clone-acct__req-item::before {
	content: "\2022";
	position: absolute;
	left: 0;
	top: 0;
}

[data-clone-account] .clone-acct__req-item.is-met {
	color: #221D1D;
}

[data-clone-account] .clone-acct__strength {
	margin: 8px 0 0;
	font-size: 11px;
	font-weight: 400;
	line-height: 17px;
	letter-spacing: 0.44px;
	color: #221D1D;
}

[data-clone-account] .clone-acct__strength.is-weak {
	color: #CE2B21;
}

/* the two check rows: a 20x20 box (capture: a 1px visually-hidden input plus a 20x20 button)
   and the 12px/20px label beside it */
[data-clone-account] .clone-acct__checkrow {
	display: flex;
	align-items: flex-start;
	margin: 0 0 16px;
}

[data-clone-account] .clone-acct__check {
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	box-sizing: border-box;
	margin: 0 12px 0 0;
	padding: 0;
	border: 1px solid #958F8F;
	border-radius: 2px;
	background: #FFFFFF;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
}

[data-clone-account] .clone-acct__check:checked {
	border-color: #221D1D;
	background: #221D1D;
}

[data-clone-account] .clone-acct__check:checked::after {
	content: "";
	display: block;
	width: 5px;
	height: 10px;
	margin: 2px auto 0;
	border-right: 2px solid #FFFFFF;
	border-bottom: 2px solid #FFFFFF;
	transform: rotate(45deg);
}

[data-clone-account] .clone-acct__check-label {
	font-size: 12px;
	line-height: 20px;
	letter-spacing: 0.48px;
	color: #221D1D;
	cursor: pointer;
}

[data-clone-account] .clone-acct__check-label a {
	color: inherit;
	text-decoration: underline;
}

[data-clone-account] .clone-acct__submit-row {
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin: 22px 0 0;
}

[data-clone-account] .clone-acct__submit-row .clone-acct__submit,
[data-clone-account] .clone-acct__submit-row .clone-acct__cancel {
	width: 342px;
	max-width: 100%;
	margin: 0 auto;
}

[data-clone-account] .clone-acct__cancel {
	display: block;
	height: 48px;
	box-sizing: border-box;
	padding: 0;
	font-family: inherit;
	font-size: 15.192px;
	font-weight: 600;
	line-height: 46px;
	letter-spacing: 1.21536px;
	text-transform: uppercase;
	text-align: center;
	color: #4E3844;
	background: #FFFFFF;
	border: 1px solid #4E3844;
	border-radius: 3px;
	cursor: pointer;
}

[data-clone-account] .clone-acct__alert.is-terms {
	margin: 12px 0 0;
}

[data-clone-account] .clone-acct__have {
	margin: 22px 0 0;
	font-size: 10.668px;
	font-weight: 800;
	line-height: 20px;
	letter-spacing: 0.44px;
	color: #221D1D;
	text-align: center;
}

[data-clone-account] .clone-acct__have a {
	color: inherit;
	text-decoration: underline;
}
/* ---------------------------------------------------------------------------
 * T3-logged-in — the signed-in header control, its phone dot, the REWARDS enrollment gate and
 * the greeting the capture measured.
 *
 * Source table — every number below is a reading, named:
 *
 *   desktop control    54x40, icon 22x22, no dot      after_login_session.json desktop.state.header_right
 *   phone control      41x48 signed in / 32x48 out    after_login_session.json mobile.state.header_right
 *   phone icon         16x16 at +9 from the control   mobile-profile-loggedin.png (glyph 607..637 device)
 *   phone dot          7x7 at (312,128) CSS           1px pixel mask, runtime/scripts/_dot_vals.py
 *                      fill rgb(253,122,116)          = measured (126,61,58) undimmed: the capture's
 *                                                     backdrop is a 50% black multiply (white 255 -> 127,
 *                                                     black 0 -> 0)
 *   desktop card       808x487, centred                after_login_report.md §5
 *                      (JSON wrapper (315,223,810,454)  after_login_session.json desktop.state.interstitial)
 *   desktop media      337 wide (315..651)            desktop-account-menu.png column scan
 *   desktop JOIN NOW   392.5x48 at (692.5,423)        after_login_session.json desktop.state.membership_panel
 *   phone JOIN NOW     335x48 at (20,700)             after_login_session.json mobile.state.membership_panel
 *   phone media        375x276 (device 750x551 @2)    mobile-profile-loggedin.png
 *   backdrop           50% black                      the dim factor measured above
 *
 * The captured class chains for these nodes (`.sc-3qgvh6-*`, `.sc-1qyutjo-*`, `.sc-1ojvshl-5`)
 * appear in NO mirrored stylesheet and in NO head fragment (measured 0 hits), so the clone-side
 * classes below are the only rules that can paint them.
 *
 * The gate's TYPE metrics (sizes and line boxes) are the one group read off the screenshots
 * rather than from a computed style: the capture holds no CSSOM block for this dialog. They are
 * named as such in runtime/docs/logged_in_state.md; the copy is the capture's verbatim.
 *
 * No !important. Every selector is scoped to an attribute or class THIS theme writes
 * (`data-clone-account-control`, `clone-acct__hdr-dot`, `clone-rw-gate*`), so no mirrored element
 * can match these rules at rest.
 * ------------------------------------------------------------------------- */

/* ---- 1. the signed-in header control: the capture's own anchor, re-sized on the phone ----- */
a[data-clone-account-control="signedin"] {
	position: relative;
}

/* signed in the phone cell is 41x48 (signed out: 32x48); the icon sits at +9 so the dot can
   overlap its bottom-right corner exactly where the capture paints it (312..319 of 294..335).
   The mirrored rule that sizes this cell is `.kagTak.kagTak.kagTak.kagTak` (0,4,0, measured in
   the served stylesheet), so this selector carries the same class twice PLUS the element and the
   two state attributes: (0,4,1) — specific enough without `!important`. */
a.kagTak.kagTak[data-clone-account-control="signedin"][data-clone-account-branch="mobile"] {
	width: 41px;
	padding-left: 9px;
	padding-right: 16px;
}

/* ---- 2. the phone's dot: 7x7, no digit, right-aligned to the icon, 3px below it ---------- */
.clone-acct__hdr-dot {
	position: absolute;
	right: 16px;
	top: 28px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: rgb(253, 122, 116);
	pointer-events: none;
}

/* ---- 3. the greeting the capture measured (DOM + string are its own; type is read off the
   screenshot: 15px/600 is this site's body scale) ---------------------------------------- */
[data-clone-account] .clone-acct__welcome {
	margin: 0 0 8px;
}

main[data-clone-account].fabric-landing-template.vs p.clone-acct__greeting {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	line-height: 22px;
	letter-spacing: 0.44px;
	color: var(--prism-Color-text, #221D1D);
	text-align: left;
	/* the capture's reading puts TWO spaces on each side of the name; HTML collapses a pair, so
	   the pair is preserved literally and the element's own text is the string that was measured */
	white-space: pre-wrap;
}

[data-clone-account] .clone-acct__greeting-name {
	font-weight: 600;
}

[data-clone-account] .clone-acct__greeting-icon {
	font-weight: 400;
}

/* ---- 4. the REWARDS enrollment gate ------------------------------------------------------ */
.clone-rw-gate {
	position: fixed;
	inset: 0;
	z-index: 300;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: PublicSans, Helvetica, Arial, sans-serif;
	color: rgb(34, 31, 32);
}

.clone-rw-gate__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
}

/* A closed gate (or one the visitor has already answered) must not dim the page and must not
   eat its clicks: the capture's dialog-container is removed when its dialog closes, and this is
   the same reading on a server-rendered document. The notice `JOIN NOW` leaves behind is inside
   the gate and stays visible. */
.clone-rw-gate:not([data-clone-rw-gate-state="open"]) {
	pointer-events: none;
}

.clone-rw-gate:not([data-clone-rw-gate-state="open"]) .clone-rw-gate__backdrop {
	display: none;
}

.clone-rw-gate__dialog {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 100%;
	max-height: 100%;
}

/* the closed state is in the served document: with scripting off only the backdrop's absence
   keeps the page readable, so the dialog is genuinely out of layout until it is opened. */
.clone-rw-gate__dialog[hidden] {
	display: none;
}

.clone-rw-gate__card {
	position: relative;
	display: flex;
	flex-direction: row;
	box-sizing: border-box;
	width: 808px;
	height: 487px;
	overflow: hidden;
	background: #FFFFFF;
	box-shadow: 0 2px 24px rgba(0, 0, 0, 0.18);
	text-align: left;
}

.clone-rw-gate__media {
	display: block;
	flex: 0 0 337px;
	width: 337px;
	height: 487px;
	margin: 0;
	overflow: hidden;
	background: rgb(244, 241, 236);
}

.clone-rw-gate__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.clone-rw-gate__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	box-sizing: border-box;
	width: 471px;
	padding: 8px 38px 24px 40px;
	overflow-y: auto;
	text-align: center;
}

.clone-rw-gate__logo {
	display: flex;
	justify-content: center;
	margin: 0 0 10px;
}

.clone-rw-gate__logo svg {
	display: block;
	width: 173px;
	height: 38px;
	fill: currentColor;
}

.clone-rw-gate__copy {
	margin: 0 0 16px;
	font-size: 18px;
	font-weight: 700;
	line-height: 22px;
	letter-spacing: 0.2px;
	text-align: center;
}

.clone-rw-gate__earn {
	margin: 0 0 24px;
	font-size: 15px;
	font-weight: 400;
	line-height: 20px;
	text-align: center;
}

.clone-rw-gate__terms {
	margin: 0 0 13px;
	font-size: 10px;
	font-weight: 400;
	line-height: 13px;
	letter-spacing: 0.2px;
	text-align: left;
}

.clone-rw-gate__legal {
	text-decoration: underline;
	cursor: default;
}

.clone-rw-gate__join {
	display: block;
	width: 100%;
	height: 48px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	/* the capture's own inline token pair on this button:
	   --prism-Button-backgroundColor: #221F20; --prism-Button-color: #FFFFFF */
	background: #221F20;
	color: #FFFFFF;
	font-size: 15px;
	font-weight: 600;
	line-height: 48px;
	letter-spacing: 1.2px;
	text-align: center;
	cursor: pointer;
}

.clone-rw-gate__decline {
	margin: 24px 0 0;
	font-size: 13px;
	font-weight: 400;
	line-height: 18px;
	text-align: center;
}

.clone-rw-gate__signout {
	color: inherit;
	text-decoration: underline;
	cursor: pointer;
}

/* `No Thank You.` is a sentence in the capture, and a sentence cannot be clicked: it is a
   button here, painted as the capture's own plain text (no border, no background, inherited
   font, no padding), so it looks the same and still closes the gate. */
.clone-rw-gate__decline-btn {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
	cursor: pointer;
}

/* JOIN NOW has no local equivalent: the nearest neutral statement of that fact, in the page's
   own voice, shown only after the control is used (data-clone-inferred="1" on the node). */
.clone-rw-gate__notice {
	position: fixed;
	left: 50%;
	bottom: 32px;
	z-index: 301;
	transform: translateX(-50%);
	margin: 0;
	padding: 12px 20px;
	border-radius: 3px;
	background: #221F20;
	color: #FFFFFF;
	font-size: 13px;
	line-height: 18px;
	letter-spacing: 0.44px;
	white-space: nowrap;
}

.clone-rw-gate__notice[hidden] {
	display: none;
}

/* ---- the phone: full screen, media on top, the body scrolls under it --------------------- */
.clone-rw-gate[data-clone-rw-gate-branch="mobile"] .clone-rw-gate__dialog {
	align-items: flex-start;
	width: 100%;
	height: 100%;
}

.clone-rw-gate[data-clone-rw-gate-branch="mobile"] .clone-rw-gate__card {
	flex-direction: column;
	width: 100%;
	height: 100%;
	overflow-x: hidden;
	overflow-y: auto;
}

.clone-rw-gate[data-clone-rw-gate-branch="mobile"] .clone-rw-gate__media {
	flex: 0 0 auto;
	width: 100%;
	height: 276px;
}

.clone-rw-gate[data-clone-rw-gate-branch="mobile"] .clone-rw-gate__body {
	width: 100%;
	padding: 40px 20px 32px;
	overflow: visible;
}

.clone-rw-gate[data-clone-rw-gate-branch="mobile"] .clone-rw-gate__logo {
	margin: 0 0 24px;
}

.clone-rw-gate[data-clone-rw-gate-branch="mobile"] .clone-rw-gate__copy {
	margin: 0 0 22px;
	font-size: 17px;
	line-height: 22px;
}

.clone-rw-gate[data-clone-rw-gate-branch="mobile"] .clone-rw-gate__earn {
	margin: 0 0 26px;
}

.clone-rw-gate[data-clone-rw-gate-branch="mobile"] .clone-rw-gate__decline {
	margin: 22px 0 0;
}

.clone-rw-gate[data-clone-rw-gate-branch="mobile"] .clone-rw-gate__notice {
	left: 50%;
	right: auto;
	bottom: 24px;
	width: calc(100% - 40px);
	white-space: normal;
	text-align: center;
}

/* ---------------------------------------------------------------------------
 * T5-rewards-geom — THE COLLAPSED CAPSULE'S GEOMETRY, AND ONE ARROW COMPONENT.
 *
 * Source: runtime/docs/captured/account2/rewards__desktop.json / rewards__mobile.json (boxes),
 * the four folds under runtime/screenshots/account2/ (pixels) and the two captured DOMs.
 *
 * 1. THE CAPSULE IS A FIXED CAPSULE ON BOTH BRANCHES. The earlier mobile rule set
 *    `left:18.75px; right:18.75px; width:auto`, which is the capture's own 5% / 90% inset
 *    expressed as edges: correct at a 375px viewport, and 1403px wide as soon as the mobile
 *    branch is served at a desktop width (the reported `[19,824,1403,48]`). Both branches now
 *    carry their measured width, so the bar can never stretch:
 *      desktop  400x48   at (1012,824)   = right 28, bottom 28   (capture: [1012,824,400,48])
 *      phone    337.5x48 at (18.75,736)  = left 18.75, bottom 28 (capture: [18.8,736,337.5,48])
 *    The text stays centred: the arrow is out of flow, so it occupies no space in the flex row.
 *
 * 2. ONE ARROW COMPONENT, TWO STATES. A 22x22 ring box (the icon system's own 22x22 grid) with
 *    the capture's chevron glyph inside it at 14x14 — the size measured from the four folds
 *    (§3 of runtime/docs/rework_rewards_geom.md: ink 12x6 core, which is 18.78x9.39 icon units
 *    scaled by 14/22). The glyph is the captured `main.svg#arrow` path, rotated the way the
 *    captured nodes rotate it: 270deg on the bar (up), 90deg on the panel's close (down).
 *
 *    The ring itself: `--prism-Button-borderColor: #F4C6CF` and `--prism-Button-borderWidth:
 *    1px` are the captured inline tokens of this very capsule, so the ring is drawn in the
 *    control's own border token, 1px thick. NOTE, measured and recorded: the captured folds
 *    contain NO ring — the only ink around either chevron is the chevron (max chroma 12 in a
 *    90x40px box around it, zero pink pixels). The ring is therefore a RECONSTRUCTION against
 *    the user's report, not a measurement; see §3 of the rework report and the BLOCKING row.
 *    To retune it, change --clone-rewards-ring / --clone-rewards-ring-width below: one place.
 *
 * Offsets are measured, per branch, from the ink box of the captured chevron:
 *   collapsed  desktop ring right 25px  | phone ring right 11.75px | vertical: bar centre - 11
 *   expanded   both      ring right 15px, top 19px  (panel's own top-right corner)
 *
 * No !important; every selector is scoped under `.clone-rewards`.
 * ------------------------------------------------------------------------- */

.clone-rewards {
	--clone-rewards-ring: #F4C6CF;
	--clone-rewards-ring-width: 1px;
	--clone-rewards-arrow: 22px;
	--clone-rewards-glyph: 14px;
}

/* ---- 1. the capsule: fixed on both branches, never a full-width strip -------------- */

.clone-rewards[data-clone-rewards-branch="desktop"] .clone-rewards__bar {
	left: auto;
	right: 28px;
	width: 400px;
}

.clone-rewards[data-clone-rewards-branch="mobile"] .clone-rewards__bar {
	left: 18.75px;
	right: auto;
	width: 337.5px;
}

/* the text keeps the capsule's centre; the arrow is taken out of the flex row below */
.clone-rewards__bar-text {
	display: block;
}

/* ---- 2. the arrow component ------------------------------------------------------- */

.clone-rewards__arrow {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: var(--clone-rewards-arrow);
	height: var(--clone-rewards-arrow);
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	color: rgb(34, 29, 29);
	font: inherit;
	cursor: pointer;
}

/* the ring: the capsule's own border token, the icon grid's diameter */
.clone-rewards__ring {
	position: absolute;
	top: 0;
	left: 0;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	border: var(--clone-rewards-ring-width) solid var(--clone-rewards-ring);
	border-radius: 50%;
	pointer-events: none;
}

.clone-rewards__arrow-svg {
	display: block;
	width: var(--clone-rewards-glyph);
	height: var(--clone-rewards-glyph);
}

/* collapsed: chevron up, at the capsule's right end (bar centre - 11 vertically) */
.clone-rewards__arrow--expand {
	right: 24px;
	top: 12px;
}

.clone-rewards[data-clone-rewards-branch="mobile"] .clone-rewards__arrow--expand {
	right: 11.75px;
}

.clone-rewards__arrow--expand .clone-rewards__arrow-svg {
	transform: rotate(270deg);
}

/* expanded: chevron down, in the panel's top-right corner */
.clone-rewards__arrow--close {
	right: 14px;
	top: 18px;
}

.clone-rewards__arrow--close .clone-rewards__arrow-svg {
	transform: rotate(90deg);
}


/* ---------------------------------------------------------------------------
 * T5-rewards-geom R2 — THE ARROW IS THE WHOLE CONTROL (user ruling, 2026-11-25).
 *
 * The four screenshots the user marked up carry hand-drawn red circles around the arrow. Those
 * circles are ANNOTATIONS, not UI: the captured pixels never had a ring (36x32 window around
 * each chevron: 0 pink pixels, max chroma 11 / 5). R1 read them as the store's styling and drew
 * a ring; R2 removes it. The control is now one thin chevron and nothing else — no ring, no
 * filled circle, no background — and it is placed by its INK, which already measured 0-diff
 * against the capture (desktop 12x6 core at [1370,845]-[1382,851], phone 13x7 at
 * [326.5,756.5]-[339.5,763.5]).
 *
 * This block only shrinks the control box from R1's 22x22 ring box to the 14x14 glyph box and
 * re-anchors it inside that box (offsets are measured from each box's padding edge, so the
 * 22->14 change moves them by the ring's 4px inset):
 *   collapsed  desktop  right 28px, top 16px        (padding box right 1411, top 825)
 *   collapsed  phone    right 15.75px, top 16px     (padding box right 355.25, top 737)
 *   expanded   both     right 18px,  top 22px       (panel padding box right 1411/354, top 704/594.5)
 * `--clone-rewards-ring*` stay declared but now paint nothing (no node carries the class).
 *
 * No !important; scoped under `.clone-rewards`.
 * ------------------------------------------------------------------------- */

.clone-rewards {
	--clone-rewards-arrow: 14px;
}

.clone-rewards__arrow {
	border-radius: 0;
	background: none;
}

/* belt and braces: no node emits this any more, and a cached document that still has one
   cannot paint a ring either. */
.clone-rewards__ring {
	display: none;
}

.clone-rewards__arrow--expand {
	right: 28px;
	top: 16px;
}

.clone-rewards[data-clone-rewards-branch="mobile"] .clone-rewards__arrow--expand {
	right: 15.75px;
}

.clone-rewards__arrow--close {
	right: 18px;
	top: 22px;
}

/* The offer's container: the capture measures 192.8px wide and that width is what makes its
 * two-line break ("Get rewards, exclusive offers" / "& free shipping on $50+ orders."). Our
 * PublicSans run for that second line is ~4.7% wider than the target's — this build ships
 * PublicSans 200/300/600/800 and no 400/700, so the 400 body resolves to 300 and the <strong>
 * 700 resolves to 800 — and at 192.8px the same string therefore needs a third line
 * ("orders." alone), which the capture does not have. 197.4px is the measured threshold at
 * which the captured break comes back (197.2 -> 3 lines, 197.4 -> 2 lines, box height 34 =
 * the capture's 34); 198px keeps a 0.6px margin. The box is invisible (no background, no
 * border), so this is a text-metric correction, not a geometry change: the ink ends up where
 * the capture's ink is. Re-measure the threshold if the font set ever gains PublicSans 400/700.
 */
.clone-rewards__offer {
	width: 198px;
}

/* The offer's line-height is the capture's 20px, not the 17px this file carried from the panel
 * root's own line-height. Captured `expanded.offer.css.lineHeight` = "20px"; the capture's offer
 * box is 192.8x34, which is exactly "one 14px inline content area + one 20px line" for a
 * two-line inline box — the 17px this file had put our second line 3px too high (measured: the
 * captured line tops are 19px apart, ours were 16px), which is what filled the panel's pixel
 * diff with whole-glyph outlines rather than edges.
 */
.clone-rewards__offer {
	line-height: 20px;
}

/* ...and the first baseline inside that 20px line sits 3px lower in our PublicSans build than
 * in the target's (measured: with the capture's own top:64px the offer's ink landed at 773/792
 * while the capture's ink is at 770/789; with line-height 17px it had been 771/787). The line box
 * is what differs, not the position of the block, so the block moves up 3px — the ink then lands
 * exactly on the capture's ink (offset 0/0 on both lines) and the offer's own box (invisible: no
 * background, no border) reads 765x198 instead of the capture's 768x192.8. Ink is what is judged.
 */
.clone-rewards__offer {
	top: 61px;
}

/* ============================================================================
 * T5-nav-hover — THE PRIMARY ITEM'S HOVER / ACTIVE INDICATOR (problem row 41)
 *
 * WHERE THE NUMBERS COME FROM. `runtime/docs/captured/assets/cssom__desktop.css` lines
 * 121–123 (and 124) are the ONLY state rules the capture carries for a primary item:
 *
 *   .JlkPq.JlkPq.JlkPq.JlkPq                 { padding: 0.334rem 0px 1.667rem; position: relative }
 *   .JlkPq.JlkPq.JlkPq[aria-expanded="true"]::after
 *        { background: rgb(78, 56, 68); bottom: 0px; content: ""; height: 3px; left: 50%;
 *          position: absolute; transform: translateX(-50%); width: calc(100% - 10px) }
 *   .JlkPq.JlkPq.JlkPq::after                { opacity: 0.8 }
 *   .JlkPq.JlkPq.JlkPq.JlkPq .prism-link     { padding: 0.334rem }
 *
 * Those four rules are already mirrored into this page's own head, so the geometry is not
 * written here as a new value — the block below re-states the capture's declarations on the
 * state this page can actually reach. What the capture does NOT contain is equally load
 * bearing: no `:hover` rule touches the label, and the anchor's inline style pins
 * `--prism-Link-hoverColor:inherit` / `--prism-Link-hoverTextDecoration:none`, so the
 * official hover changes the bar and nothing else. No colour / weight / letter-spacing /
 * underline change exists in the source to copy, and none is invented here.
 *
 * WHY THE MIRRORED RULE NEVER FIRED. It is keyed on `[aria-expanded="true"]`, which the
 * React tree sets when the panel opens. This clone's panels open on `li:hover` (see the
 * mega-menu block above) and nothing writes `aria-expanded`, so that arm could not match —
 * the label really did have no state. The same declarations are therefore bound to the
 * item's own `:hover` and to `:focus-within` (keyboard), with the `[aria-expanded="true"]`
 * arm kept so the official rule still applies unchanged if a state ever sets it.
 *
 * READINGS THIS LANDS ON (1440×900 dpr1, root font-size 12px, measured on the item boxes,
 * which match the capture's own `home__geometry.json` primary_nav_items to 2 dp):
 *   bar width   = item box − 10px   (BRAS: 48.09375 − 10 = 38.09375; the label's own text
 *                                     box is 40.09 wide, so the bar sits 1px inside it)
 *   bar height  = 3px, flush with the item's bottom edge (`bottom: 0`), colour
 *                 rgb(78,56,68) at the mirrored `opacity: 0.8`; measured on the pixels:
 *                 rgb(77,55,67) at opacity 1 and rgb(111,94,103) as shipped
 *   bar top     = item bottom − 3px = 255.89 − 3 → 17px below the label's 20px line box
 *   transition  = none (no `transition` declaration on the item or its ::after)
 * The bar is a pseudo-element, so no panel box, no nav box and no label box moves by a pixel,
 * and this block turns off with the same `data-mm-panels="1"` marker the panel rules use.
 * ========================================================================== */

ul[data-mm-panels="1"] > li:hover > .JlkPq::after,
ul[data-mm-panels="1"] > li:focus-within > .JlkPq::after,
ul[data-mm-panels="1"] > li > .JlkPq[aria-expanded="true"]::after {
	background: rgb(78, 56, 68);
	bottom: 0;
	content: "";
	height: 3px;
	left: 50%;
	position: absolute;
	transform: translateX(-50%);
	width: calc(100% - 10px);
}

/* ===========================================================================
 * T3-carousel — the category header carousel's arrows and card box.
 *
 * The motion is JS (assets/js/clone-carousel.js, rAF interpolation of
 * `transform: translateX`); CSS here supplies ONLY what the capture's own class
 * chain cannot: the arrow's painted box, its absolute slot, and the card's
 * measured 120x231 / 10px box when a mirrored image is present.
 *
 * Measured on the target (`runtime/docs/captured/plp_carousel/carousel_spec.json`):
 *   32x32 px circle, background rgb(250,245,239) = #FAF5EF, NO border,
 *   icon stroke rgb(34,29,29) = #221D1D, box-shadow none, transition: all 0s ease,
 *   cursor pointer, absolutely placed at right/left -40px, vertically centred
 *   (rail centre - 16px), and NO hover state at all (0 hover rules matched, hover
 *   pixel diff 0/3600). The `:hover`/`:focus-visible` blocks below repeat the rest
 *   values on purpose: any inherited hover rule is neutralised by writing the same
 *   values, never by a priority override.
 * ======================================================================== */

[data-clone-carousel] {
	position: relative;
}

[data-clone-carousel] > .clone-carousel-arrow {
	align-items: center;
	background: rgb(250, 245, 239);
	border: 0;
	border-radius: 999px;
	box-shadow: none;
	color: rgb(34, 29, 29);
	cursor: pointer;
	display: flex;
	height: 32px;
	justify-content: center;
	margin: 0;
	opacity: 1;
	padding: 0;
	position: absolute;
	top: 50%;
	transform: translateY(-16px);
	transition: all 0s ease;
	width: 32px;
	z-index: 5;
}

[data-clone-carousel] > .clone-carousel-arrow[data-clone-carousel-next] {
	right: -40px;
}

[data-clone-carousel] > .clone-carousel-arrow[data-clone-carousel-prev] {
	left: -40px;
}

[data-clone-carousel] > .clone-carousel-arrow:hover,
[data-clone-carousel] > .clone-carousel-arrow:focus,
[data-clone-carousel] > .clone-carousel-arrow:focus-visible,
[data-clone-carousel] > .clone-carousel-arrow:active {
	background: rgb(250, 245, 239);
	border: 0;
	box-shadow: none;
	color: rgb(34, 29, 29);
	outline: 0;
}

[data-clone-carousel] > .clone-carousel-arrow svg path {
	stroke: rgb(34, 29, 29);
	stroke-width: 1.2;
}

/* No JS: the arrows live in a <template>, so nothing paints above the rail and the first
   screenful (8 cards + the 9th card's 33%) is exactly the captured first position. */
[data-clone-carousel] > template {
	display: none;
}

/* ---------------------------------------------------------------------------
 * Use 2 — rules the mirror cannot carry, source cited. PDP (product page).
 * T3-pdp-rebuild-A: the gallery's two no-bytes positions and the size chip's
 * out-of-stock state.
 *
 * 5) A VIDEO POSITION, AND AN IMAGE POSITION WHOSE MIRROR HAS NOT LANDED.
 *
 *     The captured gallery tile fixes its height through its own <img>. A tile
 *     that keeps the position but carries no picture would collapse to 0 px and
 *     the whole grid below it would move, which is the one thing a placeholder
 *     may not do. The footprint is therefore declared, and it is the CAPTURED
 *     one: every gallery asset is served at 760x1013 (`/p/760x1013/...`, the
 *     segment the page itself prints), so the ratio is measured, not chosen.
 *
 *     Scoped to the two data attributes pdp.php writes on a no-bytes position
 *     (`data-clone-slot="video"` / `data-clone-slot="image"` + `data-clone-absent`),
 *     so no captured tile matches and no at-rest pixel moves.
 * ------------------------------------------------------------------------- */

[data-clone-slot="video"],
[data-clone-slot="image"][data-clone-absent] {
	aspect-ratio: 760 / 1013;
	background: rgb(245, 242, 242);
}

[data-clone-slot="video"]::after,
[data-clone-slot="image"][data-clone-absent]::after {
	content: "";
	display: block;
	height: 100%;
	width: 100%;
}

/* ---------------------------------------------------------------------------
 * 6) THE OUT-OF-STOCK SIZE CHIP.
 *
 *     The captured page's unavailable chip is `aria-disabled="true"` with the
 *     sentence "Size X is unavailable, try selecting available colors and
 *     sizes"; its greyed look comes from a styled-components rule that was
 *     never captured (measured: 0 occurrences of the chip's own class token in
 *     runtime/docs/captured/assets/cssom__pdp__desktop.css). What is written
 *     here is therefore an affordance, not a copy: the grey is the captured
 *     `--prism-Button-disabledColor` value (#958F8F, read off the same page's
 *     disabled buttons) and the strike-through is the caliber's "visible but
 *     not choosable".
 *
 *     Scoped to the attribute pdp.php writes on an out-of-stock chip only.
 * ------------------------------------------------------------------------- */

[role="radio"][data-clone-unavailable="1"] {
	color: #958F8F;
	cursor: not-allowed;
}

[role="radio"][data-clone-unavailable="1"] span {
	color: #958F8F;
	text-decoration: line-through;
}

/* 6b) The same state, one level down. The captured chip's LABEL carries its own colour rule and
 *     the capture wrote it with the styled-components repetition trick --
 *     `.bUmzFF.bUmzFF.bUmzFF.bUmzFF { color: rgb(34, 29, 29) }` (measured against the live page:
 *     the rule that actually wins on the label span is the 4x-repeated class, specificity 0,4,0).
 *     A parent-only rule therefore greys the chip and leaves its text black. This selector reaches
 *     0,4,1 without `!important`: four attribute selectors plus the element.
 *     Every attribute it names is written by pdp.php on an out-of-stock chip only. */

[role="radio"][data-clone-unavailable="1"][aria-disabled="true"] span[class*="prism-typography"] {
	color: #958F8F;
	text-decoration: line-through;
}

/* ---------------------------------------------------------------------------
 * 7) T3-pdp-rebuild-B — the review block's photo slots, and the last-seen shelf's hidden state.
 *
 * Three rules, each for a state the capture never had, each scoped to an attribute this round's
 * renderer writes and nothing else writes:
 *
 *   7a) A customer-image slide whose bytes the mirror has NOT landed keeps its 130 px slot and
 *       drops its <img> (pdp.php removes the picture and marks the slide). Without a rule the
 *       slot collapses to 0 height and the strip jumps; the capture's own slide is 130 wide and
 *       the review photos are portrait, so the box is 4:5.
 *   7b) The `Pick up where you left off` shelf is rendered EMPTY and marked `pending` until the
 *       client has written a card list. The capture has no closed state for this shelf because it
 *       only renders when the browser has history, so "not rendered" is expressed here instead of
 *       in the markup — the captured markup stays byte-identical.
 *   7c) The line a click reveals on the review filters / sort / paging controls. It is page copy
 *       the capture does not have (marked `data-clone-inferred="1"` in the markup); it inherits
 *       the captured body typography and only gets the spacing the surrounding stack uses.
 * ------------------------------------------------------------------------- */

[data-clone-photo-absent] img,
[data-clone-photo-absent] picture {
	display: none;
}

[data-clone-photo-absent]::after {
	content: "";
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	background: #E8E3DF;
}

[data-clone-rv="pending"] {
	display: none;
}

[data-clone-inert-note] {
	margin: 8px 0 12px;
	color: #605858;
}

/* ---------------------------------------------------------------------------
 * 8) T5-color-stock — THE STOCK VOCABULARY IS CANCELLED (user caliber, recorded in
 *    runtime/docs/rework_color_stock.md).
 *
 *    The target site really does go out of stock: its size chips print
 *    `aria-disabled="true"` with a strike, its colour cards get a slash when only some
 *    band/cup combinations are left, and its buy box prints urgency copy ("Only 1 left!").
 *    The operator's caliber for this clone OVERRIDES that behaviour: any product, any SKU,
 *    always buyable. The renderer therefore writes none of those states (see
 *    `clone_pdp_sizechips_html()` / `clone_pdp_color_cards_html()` in pdp.php), and section 6
 *    of this file — the grey + strikethrough + `cursor: not-allowed` affordance — is left
 *    without a subject on purpose.
 *
 *    These three rules are the EXPLICIT neutralisation, so the cancellation is visible here
 *    and not only in the renderer: if the attribute ever comes back, the chip stays choosable.
 *    Same specificity as section 6 and later in the file, so no priority escalation is needed.
 * ------------------------------------------------------------------------- */

[role="radio"][data-clone-unavailable="1"] {
	color: inherit;
	cursor: pointer;
}

[role="radio"][data-clone-unavailable="1"] span {
	color: inherit;
	text-decoration: none;
}

[role="radio"][data-clone-unavailable="1"][aria-disabled="true"] span[class*="prism-typography"] {
	color: inherit;
	text-decoration: none;
}

/* 8b) The colour-card grid. The captured group container (`div.sc-1ebboku-9`) is repeated once
 *     per captured group, so the spacing, the wrapping and the card size are the captured ones.
 *     The only thing that is not captured is the panel's behaviour when a style carries MANY
 *     groups (a bra: 9): the captured page shows 4 and the buy box has no scroll of its own, so
 *     the groups simply stack — the row direction and the wrap come from the captured classes,
 *     and this rule adds nothing to them. Kept as a comment, not a rule, on purpose: an invented
 *     rule here would move the captured geometry this round must not touch. */
/* -------------------------------------------------------------------------
 * 9) T5-nav-sticky — THE PRIMARY NAV ON ALL THREE PAGE TYPES (problem row 51)
 *
 * Three reports, one section:
 *   (1) the 3px indicator stayed under BRAS while another category was hovered;
 *   (2) the hover treatment (indicator + panel) existed on the home page only, because
 *       the PLP and PDP menubars carried neither the panels nor the `data-mm-panels`
 *       marker these rules are scoped to;
 *   (3) scrolling did not pin the category row.
 *
 * (2) is answered in the markup, not here: `functions.php::clone_nav_apply()` stamps ONE
 * shared menubar (`template-parts/nav-megamenu.html`) into every page's
 * `nav[aria-label="Primary"]`, so the section-3 panel rules and the section-4 indicator rule
 * now have the same subject on all three pages. This section adds only what was missing:
 * one-indicator-at-a-time, the pinned state, and the no-script state.
 *
 * MEASURED (runtime/docs/captured/nav_sticky.json, target, 1440x900 dpr1 — PLP `y` values,
 * home/PDP +2px because their promo row is 2px taller):
 *   flow top of the row                189.00   (home/PDP 191.00)
 *   flow height of the row              65.89
 *   pins when its top reaches           84.00   -> at scrollY 105 (home/PDP 107)
 *   pinned position                     fixed, top 84px, width 100%, background #FFFFFF
 *   pinned height                       64.89
 *   pinned box-shadow                   none
 *   pinned border-bottom                0px solid rgb(229, 231, 235)
 *   transition (captured rule)          transform 250ms ease-out
 * The 4px white border that stays visible belongs to the BAR above (`react-masthead-brandbar`,
 * border-bottom 4px solid rgb(255,255,255)) and is captured CSS — not repeated here.
 * ---------------------------------------------------------------------- */

/* 9a) ONE INDICATOR AT A TIME. The current category's own bar is painted by the captured
 *     `.YAQlE…::after` rule (it is there at rest, as the capture has it). While ANY row of the
 *     same menubar is hovered, every OTHER row's indicator is removed, so the bar that is
 *     visible is always the pointer's row — the report's first line. `:has()` is what lets a
 *     child's state reach a sibling; the rule simply does not match where `:has()` is not
 *     supported, which leaves the previous two-bar behaviour rather than a broken one. */
ul[data-mm-panels="1"]:has(> li:hover) > li:not(:hover) > .YAQlE::after,
ul[data-mm-panels="1"]:has(> li:focus-within) > li:not(:focus-within) > .YAQlE::after {
	content: none;
}

/* 9b) THE PINNED ROW. Declarations are the captured pinned variant's own
 *     (`.dyiyWs.react-masthead-category-nav-pinned`, cssom__desktop.css#120) plus the captured
 *     pinned offset (`.hXdDAU…{top:84px}`, #117). The base class the capture swaps on pin
 *     (`dyiyWs` -> `hXdDAU`) is a render hash this clone does not carry, so the state is keyed
 *     on `clone-nav-pinned`, which `assets/js/clone-nav.js` toggles at the measured threshold. */
/* The selector repeats its own class four times on purpose: the captured stylesheet sets
 * `top: 0px` on the row's base class with `.dyiyWs.dyiyWs.dyiyWs.dyiyWs` (specificity 0,4,0),
 * and this state must raise `top` to 84px. Repeating a class is the capture's OWN technique for
 * exactly this (`cssom__desktop.css` does it on every component rule), it needs no !important,
 * and it stays inside this state: nothing outside `.clone-nav-pinned` is affected. */
nav[data-clone-nav="1"].clone-nav-pinned.clone-nav-pinned.clone-nav-pinned.clone-nav-pinned {
	background-color: rgb(255, 255, 255);
	position: fixed;
	top: 84px;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 6;
	transition: transform 250ms ease-out;
}

/* the pinned row's own height is 64.89 on the target: the 1px rule under the row is a flex item
 * there, inside the flow there it sits below the row. Removing it from the pinned box is what
 * makes the two heights equal; nothing else about the rule changes. */
nav[data-clone-nav="1"].clone-nav-pinned hr.prism-rule {
	display: none;
}

/* the placeholder that keeps the row's space while it is out of the flow. Its height is set by
 * the script (the row's own measured flow height) — there is no captured rule for it. */
.clone-nav-spacer {
	display: block;
	width: 100%;
}

/* 9c) NO SCRIPT, NO HOVER LAYER. The capture has no hover state at all without React: the panel
 *     was opened by script and the indicator only ever marked the current category. So with
 *     `clone-nav-js` absent (this file's script never ran) both stay off, and the page is the
 *     capture: the static nav, the current category's own bar, no panel. */
html:not(.clone-nav-js) ul[data-mm-panels="1"] > li:hover > .JlkPq::after,
html:not(.clone-nav-js) ul[data-mm-panels="1"] > li:focus-within > .JlkPq::after {
	content: none;
}

html:not(.clone-nav-js) ul[data-mm-panels="1"] > li:hover > .mm-panel,
html:not(.clone-nav-js) ul[data-mm-panels="1"] > li:focus-within > .mm-panel {
	display: none;
}

/* ===========================================================================
 * T5-MOBILE-FIXES — APPENDED (the sheet's three uses only: a rule the mirror cannot
 * carry, a rule scoping a clone-only control, a measured geometry the mirror does not
 * hold). No !important anywhere below; every selector is scoped to a marker this
 * theme's own markup or script writes, so nothing outside its own element can match.
 * =========================================================================== */

/* ---------------------------------------------------------------------------
 * MA-2 + MA-8 — THE PHONE DRAWER'S LEVEL-1 ROW.
 *
 * (a) THE TYPE. The captured open drawer paints its row labels far larger than the 11px
 *     the clone inherited. Read off the capture's own pixels
 *     (`runtime/docs/captured/_raw/mobile-probes/after-hamburger-click.png`, 375x812 CSS
 *     px) against the clone's own 11px rendering of the SAME strings:
 *         label         capture ink   clone ink @11px   width ratio
 *         Bras          36 x 12      23 x 8            1.565
 *         Panties       61 x 12      39 x 8            1.564
 *         Sleep         47 x 16      30 x 10.5         1.567
 *         Beauty        58 x 15      37 x 10           1.568
 *         Lingerie      67 x 15      43 x 10           1.558
 *         Clothing      70 x 16      45 x 10.5         1.556
 *         Activewear    93 x 12      60 x 8            1.550
 *     Mean width ratio 1.564 -> 17.2px; cap-height ratio 1.500 (8 -> 12, plus the hinting
 *     step at 11px) -> 16.5px. The site's own base, read from its own measured sizes
 *     (`.clone-acct__title` is 15.192px = 0.9rem), is 16.88px, which both readings bracket;
 *     the row is therefore set at 1rem of that scale, 16.88px, with 24px leading.
 *     Level-2 (the sub-panel) keeps the mirror's inherited size: the capture holds no
 *     computed style and no screenshot of a drilled panel, so nothing is invented there.
 *
 * (b) THE BOX. Every row control is one box — 335 x 52, label left, the chevron's own
 *     control right — for the anchors the build serves AND for the buttons this file
 *     makes of the rows with no href. `data-clone-rowctl` is written by
 *     assets/js/clone-mobile.js only while the panel is open; the padding-right is what
 *     keeps a long label ("The Brand Boutique by VS") clear of the chevron.
 *
 * (c) THE CHEVRON. The capture's open state carries one per row (ink 8x14, right edge 5px
 *     inside the row); it is the page's own mirrored `#arrow` glyph in a 16px box. On the
 *     rows that name a real route it is a BUTTON of its own (a 24x52 target, positioned
 *     over the row's right edge) so the row can keep following its href; on the rows with
 *     no href it is decoration inside the button that already drills.
 * ------------------------------------------------------------------------- */

[data-clone-nav-panel] > li {
	position: relative;
}

[data-clone-nav-panel] > li > a[data-clone-rowctl],
[data-clone-nav-panel] > li > button[data-clone-rowctl] {
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 52px;
	padding: 0 30px 0 0;
	border: 0;
	background: none;
	text-align: left;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
	font-size: 16.88px;
	line-height: 24px;
}

[data-clone-nav-panel] > li > [data-clone-chevron="control"] {
	position: absolute;
	top: 0;
	right: 3px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 52px;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
}

[data-clone-nav-panel] > li > button[data-clone-rowctl] > [data-clone-chevron="decor"] {
	display: flex;
	align-items: center;
	margin-left: auto;
}

[data-clone-nav-panel] [data-clone-chevron] svg {
	display: block;
	width: 16px;
	height: 16px;
	/* the mirrored `#arrow` symbol carries its stroke on the path and NO fill, so the
	 * element inherits the SVG default (black) and paints a FILLED triangle: measured on
	 * the first pass, the glyph came out solid against the capture's thin open chevron.
	 * `fill: none` is inherited into the symbol's path (which has no fill attribute of its
	 * own), and the path's own stroke attribute is left alone. */
	fill: none;
}

/* ---------------------------------------------------------------------------
 * MA-5 — THE CREATE STEP'S COLUMN, PHONE.
 *
 * Capture (`runtime/docs/captured/account2/account_flow2.json` §steps.create_form, the
 * report's mobile column): field x=24 w=327, `SUBMIT` and `CANCEL` 327x48 at x=24 — i.e.
 * 375 - 2*24 on both sides, and a submit that fills the column. The clone measured field
 * x=16 w=343 and `SUBMIT` 342x48 at x=16.5: the card's 16px side padding (the rule at
 * `[data-clone-account-branch="mobile"] .clone-acct__card`) and a submit fixed at the
 * DESKTOP capture's 342px. Two declarations, both the capture's own numbers.
 *
 * SCOPED TO THE CREATE STEP, because that is the only step the capture gives 24px to: the
 * entry step (and the success step) keep 343x48 at x=16 in the same capture file, and a
 * card-wide 24 would have moved them off their own measurement.
 * ------------------------------------------------------------------------- */

[data-clone-account][data-clone-account-branch="mobile"][data-clone-account-step="create"] .clone-acct__card {
	padding-left: 24px;
	padding-right: 24px;
}

[data-clone-account][data-clone-account-branch="mobile"][data-clone-account-step="create"] .clone-acct__submit-row .clone-acct__submit,
[data-clone-account][data-clone-account-branch="mobile"][data-clone-account-step="create"] .clone-acct__submit-row .clone-acct__cancel {
	width: 100%;
}

/* ---------------------------------------------------------------------------
 * MA-10 — THE SIGN-IN ENTRY'S TOP RHYTHM, PHONE.
 *
 * Capture (same file, §steps.entry.mobile + the fold screenshot
 * `runtime/screenshots/account2/entry__mobile__fold.png`): the masthead is followed
 * directly by `Sign In or Create Account` at y=172 and the email field at y=208. The
 * capture's masthead ends at 148 (brand strip 40 + the 60px site-alert banner + the 48px
 * logo row), so the page's own rhythm is: main top -> 24px -> h1 (20 tall) -> 16px ->
 * field. The clone measured h1 at 217 and the field at 261 on the same viewport: its
 * card opens with a rewards strip the capture does NOT render on this step, then 22px of
 * padding and a 24px head margin.
 *
 * The strip is removed for this step only (the capture's own page has no loyalty strip
 * above the title; its rewards offer rides in the acquisition entry at the bottom), and
 * the two gaps become the capture's 24 / 16. The clone's own masthead is 88px tall — it
 * carries no site-alert banner — so the absolute reading after this rule is the
 * capture's minus that 60px, which is why the assertion on this item is made on the
 * page's internal rhythm (h1 and field relative to main top) as well as absolutely.
 * ------------------------------------------------------------------------- */

[data-clone-account][data-clone-account-branch="mobile"][data-clone-account-step="email"] .clone-acct__rewards {
	display: none;
}

[data-clone-account][data-clone-account-branch="mobile"][data-clone-account-step="email"] .clone-acct__card {
	padding-top: 24px;
}

[data-clone-account][data-clone-account-branch="mobile"][data-clone-account-step="email"] .clone-acct__head {
	margin: 0 0 16px;
}

/* ==========================================================================================
 * T3-video (U-22) — the gallery VIDEO POSITION's box.
 *
 * APPEND ONLY, and the only rules this round adds. The tile's geometry is NOT redefined here:
 * the tile root keeps the captured classes of an image tile (`prism-layout-item-grid
 * prism-layout-item` + `sc-piap0h-0 cXZsXh`) so its box, gap and padding come from the same
 * mirrored rules an image cell uses. What is added is what the capture carries as inline style
 * on its own video node (`display:block;width:100%;height:100%`) plus the control menu's own
 * box — the styled-components rules for those hashes (`euSFou` / `jwltGe` / `lbBhpT`) are in
 * NO capture on this host, so the values below are the captured inline custom properties
 * (`--prism-Control-*`, set on every button by pdp.php) read back, not invented sizes.
 *
 * Every value the buttons use comes from the button's own inline `--prism-Control-*` /
 * `--prism-Icon-*` pair, which is the capture's own vocabulary:
 *   width  40px (>= vw) / 33px (phone)      height 40px / 30px      radius 50 % (pill control)
 *   background #FFFFFFB3 (captured)          hover   #221D1D text #FFFFFF (captured)
 * No important flag, no mirrored rule pressed: none of these selectors exists upstream.
 * ========================================================================================== */

.clone-pdp-video {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.clone-pdp-video-media,
.clone-pdp-video-player {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
}

.clone-pdp-video-el,
.clone-pdp-video-poster {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background-color: #f7f4f6;
}

.clone-pdp-video-menu {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 5;
	display: flex;
	align-items: center;
	padding: 8px;
	pointer-events: none;
}

.clone-pdp-video-menu .control-items {
	display: flex;
	align-items: center;
	gap: 6px;
	pointer-events: auto;
}

.clone-pdp-video-control {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--prism-Control-minWidthAboveWvga, 40px);
	height: var(--prism-Control-heightAboveWvga, 40px);
	min-width: var(--prism-Control-minWidthAboveWvga, 40px);
	margin-right: var(--prism-Control-marginRight, 6px);
	padding: 0;
	border: 0;
	border-radius: 50%;
	background-color: var(--prism-Control-backgroundColor, #ffffffb3);
	color: #221d1d;
	cursor: pointer;
}

.clone-pdp-video-control .prism-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--prism-Icon-width, 11px);
	height: var(--prism-Icon-height, 11px);
}

.clone-pdp-video-control .prism-icon svg {
	width: 100%;
	height: 100%;
	fill: currentColor;
}

.clone-pdp-video-control:hover,
.clone-pdp-video-control:focus-visible {
	background-color: var(--prism-Control-hoverBackgroundColor, #221d1d);
	color: var(--prism-Control-hoverColor, #ffffff);
	outline: none;
}

/* the captured phone sizes: the same control at 33/30 px, and the media box keeping the tile's
   captured 3:4 ratio (760x1013 gallery shot; the API's own video is 126x168, the same ratio) */
@media (max-width: 1023px) {
	.clone-pdp-video-control {
		width: var(--prism-Control-minWidthUptoWvga, 33px);
		height: var(--prism-Control-heightUptoWvga, 30px);
		min-width: var(--prism-Control-minWidthUptoWvga, 33px);
	}

	/* the tile's height on this branch comes from the MEDIA's ratio, never from a percentage
	   against a slide whose own height is auto (percentage against auto resolves to 0 and the
	   whole position collapsed -- measured 375x0 before this rule) */
	.slick-slide .clone-pdp-video,
	.slick-slide .clone-pdp-video-player {
		height: auto;
	}

	.slick-slide .clone-pdp-video-media {
		aspect-ratio: 760 / 1013;
		height: auto;
	}
}

/* -------------------------------------------------------------------------
 * 10) T3-fill-blanks — THE NEUTRAL BLOCK OF A GALLERY POSITION WITH NO BYTES
 *
 * The operator's caliber: a position that has an address but no bytes must never read as a hole.
 * `pdp.php` marks such a position `data-clone-absent="1"` on the tile root and prints the
 * `gallery_ph` unit inside it; that unit is the captured tile with its `<picture>` (mobile) or
 * `<img>` (desktop) replaced by `span.clone-slot-ph`, which is the block these two rules size.
 *
 * Sizing, measured on `?pdp=1&pid=11259399|86Q4&branch=…` (`runtime/cache/t3fill/measure_absent_*`):
 *   desktop  1440x900 dpr1  tile 376.5 x 500.7, the container `#…-container` is `position:relative`
 *                           with a definite height -> `height:100%` fills it exactly (0 px delta)
 *   mobile   375x812        no container wrapper: the splice point is the zoom `<button>`, whose
 *                           height is auto -> `height:100%` resolves to 0 and the position would
 *                           collapse (the same trap section 9 measured for the video slot), so the
 *                           media's own ratio carries the height: 375 x 499.8 = 760:1013.
 * The plate is neutral on purpose -- no product photo stands in for another product's bytes --
 * and it is `aria-hidden` in the markup: the tile's own `aria-label` already names the position.
 * ------------------------------------------------------------------------- */

.clone-slot-ph {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 760 / 1013;
	background: #ECECEC;
	box-shadow: inset 0 0 0 1px #E0E0E0;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.18em;
	line-height: 1;
	text-transform: uppercase;
	color: #B3B3B3;
	user-select: none;
}

.clone-slot-ph-mark {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	aspect-ratio: 760 / 1013;
}

@media (max-width: 767px) {
	.clone-slot-ph {
		font-size: 11px;
		letter-spacing: 0.14em;
	}
}

/* ===========================================================================
 * T5-MOBILE-FIXES-2 — APPENDED (the sheet's three uses only: a rule the mirror
 * cannot carry, a rule scoping a clone-only control, a measured geometry the
 * mirror does not hold). No !important anywhere below; every selector is scoped
 * to a marker this theme's own script writes, so nothing outside the panel can
 * match.
 * =========================================================================== */

/* ---------------------------------------------------------------------------
 * N-1 — THE PHONE DRAWER'S DRILLED (LEVEL-2) ROW.
 *
 * MEASURED, NOT DESIGNED. The target's own open drill-down
 * (`runtime/docs/captured/_raw/mobile-probes/nav_drilldown.json`, §panel2, 375x812
 * dpr 2) gives every level-2 link ONE box, repeated 34 times:
 *
 *     Push-Up      x 44  y 519  303 x 44   href /us/vs/bras/push-up
 *     Full Coverage x 44 y 563  303 x 44
 *     ...          (all 34 level-2 links: x 44, w 303, h 44)
 *     group headers (BUTTON "Styles"/"Collections"/"Featured"/"Bra Education"):
 *                  x 28, w 319, h 24 — a different row class, untouched here.
 *
 * The clone measured the same links at `x 20, w 46.4 (text box), h 12`, type
 * 11px/17px: the mirror carries no rule for the panel's open state, so an inline
 * `<a>` in a bare `<ul>` was all that was left. A 12px touch target is not a row.
 *
 * THE TYPE. The capture holds no computed style for the drilled panel (its own
 * note, §"开态捕获无计算样式，只有盒"), so the size is the site's own base tier that
 * the level-1 row already uses — 16.88px at 24px leading, the same derivation as
 * MA-8 above (`patch.css` §MA-2/MA-8), which the 44px row height leaves room for.
 * Nothing new is invented: same tier, same leading, one step down the tree.
 *
 * THE INSET. The row box is the capture's 303 wide at x 44: the panel's own
 * gutter is 335 at x 20 (the `li`'s 20px margin), so 24 of left inset and 8 of
 * right inset reproduce the captured box exactly (20 + 24 = 44; 355 - 44 - 303
 * = 8). The `li` markers are switched off because the capture paints a plain
 * row — with the block box the UA's `circle` marker would otherwise sit in the
 * gutter the capture leaves empty.
 * ------------------------------------------------------------------------- */

[data-clone-nav-panel] [data-clone-subpanel] {
	padding: 0 8px 0 24px;
	margin: 0;
	list-style: none;
}

[data-clone-nav-panel] [data-clone-subpanel] > li {
	padding: 0;
	margin: 0;
	list-style: none;
}

[data-clone-nav-panel] [data-clone-subpanel] a {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 0;
	font-size: 16.88px;
	line-height: 24px;
	color: inherit;
	text-decoration: none;
}

/* ===========================================================================
 * 10) T5-nav-active — THE CURRENT CATEGORY'S BAR IS PERMANENT (problem row 61)
 *
 * THE REPORT. "In the desktop nav, after selecting a category the bar under it should stay
 * there; now it only appears on hover and disappears when the pointer leaves."
 *
 * WHAT THE TARGET DOES (measured this round, 1440x900 dpr1, system Chrome 158, one band
 * screenshot per state; runtime/cache/_navactive/final_target.json, screenshots in
 * runtime/screenshots/nav-active-target/):
 *
 *   surface                   rest        hover current   hover another
 *   /us/vs/bras               1 bar       1 bar           2 bars (current + hovered)
 *   bra PDP (/us/vs/bras-catalog/5000000022?…) 1 bar  1 bar   2 bars (current + hovered)
 *   /us (home)                0 bars      1 bar           1 bar
 *
 *   The persistent bar and the hover bar are the SAME object, read off the pixels:
 *     width  = the item box − 10px   (BRAS: 48.09 − 10 = 38.09 → 38 px painted)
 *     height = 3px, flush with the item's bottom edge (`bottom: 0`)
 *     colour = rgb(78,56,68) at the captured `opacity: 0.8` → pixels rgb(113,96,105) on white
 *     gap    = 17.11 px below the label's own 20px line box (span bottom → bar top)
 *   Hovering ANOTHER row keeps the current row's bar: measured 2 bars on both the category page
 *   and the product page (the previous round's "one bar at a time" was a reading of our own
 *   implementation, not of the target — re-checked here and recorded as SUPERSEDED).
 *
 * WHERE THE NUMBERS COME FROM. They are the capture's own `.YAQlE.YAQlE.YAQlE::after` rule
 * (cssom__plp__desktop.css lines 94–96 / cssom__pdp__desktop.css 340–342): the rule the target
 * paints the CURRENT category with. This section re-states that rule on the marker this round's
 * render writes (`data-clone-nav-active="1"`), so the persistent bar is the captured bar by
 * construction rather than a second value measured separately.
 *
 * WHY A MARKER AND NOT THE CAPTURED CLASS. `YAQlE` is the CAPTURE's current row: it sits on row 0
 * of every category page (measured: /category/panties/ was marked BRAS) and on row 2 of every
 * product page. It cannot follow a route, so the menubar's own inline script (this round, inside
 * template-parts/nav-megamenu.html) writes the marker for the page's real category; the captured
 * token is left in the markup (it carries the row box) and its bar is switched off here (10b).
 * ========================================================================= */

/* 10a) THE PERSISTENT BAR. Same declarations as the captured `.YAQlE…::after`, including the
 *      0.8 opacity that makes the painted pixels rgb(113,96,105) and not the raw rgb(78,56,68).
 *      `.JlkPq` already carries the captured `position: relative` + `padding`, so the bar's
 *      containing block and its slot are the capture's own. */
ul[data-mm-panels="1"] > li > [data-clone-nav-active="1"]::after {
	background: rgb(78, 56, 68);
	bottom: 0;
	content: "";
	height: 3px;
	left: 50%;
	opacity: 0.8;
	position: absolute;
	transform: translateX(-50%);
	width: calc(100% - 10px);
}

/* 10b) THE CAPTURE'S TOKEN, ONCE THE MARKER EXISTS. `YAQlE` is the capture's current row, so on a
 *      page whose real category is another row it would paint a second, WRONG bar (measured:
 *      /category/panties/ carried BRAS' token). This switches that bar off — and only that bar:
 *      the row's own box declarations (`padding`, `position: relative`) are a different property
 *      set and stay, which is why the markup is not rewritten. Scoped to
 *      `data-clone-nav-active-ready`, so a no-JS page keeps the capture exactly as it was
 *      (PLP: BRAS' bar, the captured page's own state). */
html[data-clone-nav-active-ready="1"]
	ul[data-mm-panels="1"] > li > .YAQlE:not([data-clone-nav-active="1"])::after {
	content: none;
}

/* 10c) TWO BARS, AS THE TARGET DRAWS THEM. Section 9a (appended in T5-nav-sticky) removes the
 *      current row's bar while ANOTHER row is hovered, because that round read the target as
 *      "one bar at a time" and the user caliber then was one. This round re-measured the target
 *      and it paints BOTH: the page's own category bar stays while the hovered row's bar joins
 *      it (2 bars, runtime/cache/_navactive/final_target.json). Section 9a is left where it is; this
 *      rule re-states the bar under the exact state 9a removes it. Its subject is the menuitem
 *      that carries the marker, the same element 9a's `.YAQlE` reach applies to, and the
 *      `html[data-clone-nav-active-ready]` prefix puts it one class above 9a, so it wins with no
 *      `!important` and only while the menubar's own script has run. */
html[data-clone-nav-active-ready="1"]
	ul[data-mm-panels="1"]:has(> li:hover) > li:not(:hover) > [data-clone-nav-active="1"]::after,
html[data-clone-nav-active-ready="1"]
	ul[data-mm-panels="1"]:has(> li:focus-within) > li:not(:focus-within) > [data-clone-nav-active="1"]::after {
	background: rgb(78, 56, 68);
	bottom: 0;
	content: "";
	height: 3px;
	left: 50%;
	opacity: 0.8;
	position: absolute;
	transform: translateX(-50%);
	width: calc(100% - 10px);
}

/* 10d) THE BAR SURVIVES ITS OWN ROW BEING HOVERED, on every surface that carries the marker —
 *      including one where `assets/js/clone-nav.js` never ran. Section 9c switches the hover arm
 *      off when `clone-nav-js` is absent, and it reaches the same pseudo-element this section
 *      paints: on a collection page (no clone-nav.js enqueued there) hovering the marked row
 *      measured 0 bars, while the target keeps the bar under the current category when it is
 *      hovered. Same declarations, same state, one class above 9c, later in the file. */
html[data-clone-nav-active-ready="1"]
	ul[data-mm-panels="1"] > li:hover > [data-clone-nav-active="1"]::after,
html[data-clone-nav-active-ready="1"]
	ul[data-mm-panels="1"] > li:focus-within > [data-clone-nav-active="1"]::after {
	background: rgb(78, 56, 68);
	bottom: 0;
	content: "";
	height: 3px;
	left: 50%;
	opacity: 0.8;
	position: absolute;
	transform: translateX(-50%);
	width: calc(100% - 10px);
}

/* ======================================================================
 * T3-review-photos — CUSTOMER IMAGES 滑轨与灯箱
 *
 * 读数来自 `runtime/docs/captured/review_photos/spec.json`（目标站 2026-11-26 实测）：
 *   滑轨片宽 130 px、可见 6 片、片间无间距、圆角 3 px、图 115x115 `cover`；
 *   箭头 30x54（底 `#F4EBDD`），常在的是 Next，Prev 只在前进一步后出现；
 *   灯箱是居中白底面板 1064x688 @1440x900：顶栏 85x85 缩略轨（间隙 20 px）+ chevron，
 *   左图 450x399 框（1 px #E0DAD5）内 `contain`，右列评论事实，底部 47x47 单图。
 *
 * 这些规则只作用于本轮的 `clone-rv-*` 节点（目标站那块的类名没有捕获到），
 * 因此它们不会覆盖任何镜像规则；本文件里没有一处 `!important`。
 * ====================================================================== */

/* ---- the mirrored chevron the rail gains as `Previous slide` ---- */
[data-testid="review-images"] .slick-track {
	transition: transform 0.25s ease;
	will-change: transform;
}

[data-testid="review-images"] [data-clone-rv-prev] {
	--prism-CarouselArrow-right: unset;
	--prism-CarouselArrow-left: 0;
	left: 0;
	right: auto;
}

[data-testid="review-images"] [data-clone-rv-prev] .prism-icon-arrow {
	transform: rotate(180deg);
}

/* ---- the dialog ---- */
.clone-rv-modal[hidden] {
	display: none;
}

.clone-rv-modal {
	align-items: flex-start;
	display: flex;
	inset: 0;
	justify-content: center;
	position: fixed;
	z-index: 2147482000;
}

.clone-rv-modal__scrim {
	background: rgba(255, 255, 255, 0.86);
	inset: 0;
	position: absolute;
}

.clone-rv-modal__panel {
	background: #ffffff;
	box-shadow: 0 2px 24px rgba(0, 0, 0, 0.18);
	margin-top: 32px;
	max-width: calc(100vw - 32px);
	padding: 16px 27px 20px;
	position: relative;
	width: 1064px;
}

.clone-rv-modal__head {
	align-items: center;
	display: flex;
	justify-content: space-between;
}

.clone-rv-modal__title {
	color: #221d1d;
	font-size: 18px;
	line-height: 1.4;
}

.clone-rv-modal__headright {
	align-items: center;
	display: flex;
	gap: 24px;
}

.clone-rv-modal__viewall {
	background: none;
	border: 0;
	color: #4e3844;
	cursor: pointer;
	font-size: 14px;
	padding: 0;
	text-decoration: underline;
}

.clone-rv-modal__close {
	background: none;
	border: 0;
	color: #221d1d;
	cursor: pointer;
	height: 24px;
	padding: 0;
	width: 24px;
}

.clone-rv-modal__close svg {
	display: block;
	height: 24px;
	width: 24px;
}

.clone-rv-modal__rail {
	height: 85px;
	margin: 16px 0 20px;
	overflow: hidden;
	position: relative;
}

.clone-rv-modal__thumbs {
	display: flex;
	gap: 20px;
	transition: transform 0.25s ease;
	will-change: transform;
}

.clone-rv-modal__thumb {
	background: none;
	border: 1px solid transparent;
	border-radius: 3px;
	cursor: pointer;
	flex: 0 0 85px;
	height: 85px;
	overflow: hidden;
	padding: 0;
	width: 85px;
}

.clone-rv-modal__thumb img {
	border-radius: 3px;
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.clone-rv-modal__thumb[aria-pressed="true"] {
	border-color: #221d1d;
}

.clone-rv-modal__arrow {
	background: #f4ebdd;
	border: 0;
	color: #221d1d;
	cursor: pointer;
	height: 54px;
	padding: 0;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 30px;
}

.clone-rv-modal__arrow--prev {
	left: 0;
	right: auto;
}

.clone-rv-modal__arrow[hidden] {
	display: none;
}

.clone-rv-modal__arrow svg {
	display: block;
	height: 54px;
	margin: 0 auto;
	width: 22px;
}

.clone-rv-modal__arrow--prev svg {
	transform: rotate(180deg);
}

.clone-rv-modal__body {
	display: flex;
	gap: 32px;
}

.clone-rv-modal__fig {
	align-items: center;
	border: 1px solid #e0dad5;
	display: flex;
	flex: 0 0 451px;
	height: 399px;
	justify-content: center;
	margin: 0;
	overflow: hidden;
	width: 451px;
}

.clone-rv-modal__fig img {
	display: block;
	max-height: 100%;
	max-width: 100%;
	object-fit: contain;
}

.clone-rv-modal__meta {
	color: #221d1d;
	flex: 1 1 auto;
	font-size: 14px;
	min-width: 0;
}

.clone-rv-modal__stars {
	color: #e0dad5;
	display: inline-block;
	font-size: 18px;
	letter-spacing: 2px;
	line-height: 1;
	position: relative;
}

.clone-rv-modal__stars i {
	color: #221d1d;
	font-style: normal;
	left: 0;
	overflow: hidden;
	position: absolute;
	top: 0;
	white-space: nowrap;
}

.clone-rv-modal__stars b {
	font-weight: 400;
}

.clone-rv-modal__rtitle {
	font-size: 18px;
	font-weight: 600;
	margin: 12px 0 8px;
}

.clone-rv-modal__rtext {
	line-height: 1.5;
	margin: 0 0 12px;
}

.clone-rv-modal__rnick,
.clone-rv-modal__rdate {
	color: #4e3844;
	margin: 0 0 4px;
}

.clone-rv-modal__foot {
	display: flex;
	justify-content: center;
	margin-top: 16px;
}

.clone-rv-modal__own {
	display: flex;
	gap: 8px;
}

.clone-rv-modal__owntile {
	background: none;
	border: 1px solid transparent;
	border-radius: 3px;
	cursor: pointer;
	height: 47px;
	overflow: hidden;
	padding: 0;
	width: 47px;
}

.clone-rv-modal__owntile img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.clone-rv-modal__owntile[aria-current="true"] {
	border-color: #221d1d;
}

/* ---- mobile: the dialog becomes a full sheet, the rail keeps the captured 85 px tiles ---- */
@media (max-width: 767px) {
	.clone-rv-modal__panel {
		height: 100%;
		margin-top: 0;
		max-width: none;
		overflow-y: auto;
		padding: 12px 16px 20px;
		width: 100%;
	}

	.clone-rv-modal__body {
		display: block;
	}

	.clone-rv-modal__fig {
		flex: none;
		height: auto;
		width: 100%;
	}

	.clone-rv-modal__fig img {
		height: auto;
		width: 100%;
	}
}

/* ======================================================================
 * T3-size-chart — SIZE & FIT 弹窗
 *
 * 读数来自 `runtime/docs/captured/range_blocks/size_chart.json` 与同一轮的
 * `runtime/screenshots/range_blocks/size_chart_modal_open.png`（1440x900，2026-11-26 实测）：
 *   浮层 fixed 700x876 @ (370,24)，白底、无遮罩、纵向滚动、圆角 0、无阴影；
 *   顶栏 60 px，底边 1 px rgb(224,218,213)；H1 `Size & Fit` 左内缩 21 px、16 px；
 *   `x` 按钮 37x37 @ (1055,36)（即右移出面板 22 px，被 overflow 裁掉，与捕获一致）；
 *   正文左内缩 36 px，内容宽 662 px；页签 2 等分、高 37 px（选中白底带 1 px #221D1D 上/左/右，
 *   未选中 #F7F7F7 底 + 1 px 下边框）；类目行 18 px；国家选择器 48 px 高 `#F9F8F9`；
 *   计算器两输入 243 px + 8 px 间距、按钮 160 px `#F4C6CF`；两列表各 319 px、间距 13 px、
 *   行高 25 px、表头 26 px。
 *
 * 这些规则只作用于本轮的 `clone-size-chart__*` 节点（目标站那块弹窗的类名没有落进任何捕获），
 * 因此不覆盖任何镜像规则；本轮追加段不含强制声明。
 * ====================================================================== */

html[data-clone-size-chart-open="1"] {
	overflow: hidden;
}

.clone-size-chart[hidden] {
	display: none;
}

/* 根节点只做定位，不吃点击：捕获里没有遮罩，面板以外的页面照常可点（例如 ADD TO BAG）。 */
.clone-size-chart {
	color: #221d1d;
	font-family: PublicSans, Helvetica, Arial, sans-serif;
	inset: 0;
	pointer-events: none;
	position: fixed;
	z-index: 2147483000;
}

.clone-size-chart__dialog,
.clone-size-chart__dialog * {
	pointer-events: auto;
}

/* 700x876 @ top 24，水平居中，白底，纵向滚动（无遮罩：捕获 `backdrop_scrim: false`）。
   横向溢出裁掉，而不是让它生出一条横向滚动条 —— 捕获里 `x` 按钮就压在面板右边缘上。 */
.clone-size-chart__dialog {
	background: #ffffff;
	box-sizing: border-box;
	height: calc(100% - 24px);
	left: 50%;
	margin-left: -350px;
	max-height: calc(100% - 24px);
	overflow-x: hidden;
	overflow-y: auto;
	position: absolute;
	top: 24px;
	width: 700px;
}

/* Firefox/Chromium: the capture shows no scrollbar rail even though the body scrolls */
.clone-size-chart__dialog {
	scrollbar-width: none;
}

.clone-size-chart__dialog::-webkit-scrollbar {
	height: 0;
	width: 0;
}

.clone-size-chart__head {
	border-bottom: 1px solid rgb(224, 218, 213);
	box-sizing: border-box;
	height: 60px;
	padding-left: 21px;
	position: relative;
}

/* 顶栏标题：用 ID 定位。镜像表里 `.fabric:not(...) .fabric-h1-typography-element`
   （0,3,0）会命中页面里任何一个 h1，单类选择器压不住它；`#clone-size-chart-title` 是 (1,0,0)，
   不用强制声明也赢，而且只作用于本轮这一个节点。 */
#clone-size-chart-title.clone-size-chart__title {
	font-size: 16px;
	font-weight: 400;
	left: 21px;
	letter-spacing: 0.02em;
	line-height: 20px;
	margin: 0;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

/* 37x37 @ (1055,36): 685 px 从面板左边算起，12 px 从顶栏顶算起 —— 与捕获的 box 一致，
   右 22 px 落在面板外，被 `overflow-x: hidden` 裁掉（捕获里 `x` 本来就被裁）。 */
.clone-size-chart__close {
	background: none;
	border: 0;
	color: #221d1d;
	cursor: pointer;
	height: 37px;
	left: 685px;
	padding: 0;
	position: absolute;
	top: 12px;
	width: 37px;
}

.clone-size-chart__close svg {
	display: block;
	height: 37px;
	width: 37px;
}

.clone-size-chart__body {
	box-sizing: border-box;
	padding: 0 2px 40px 36px;
}

/* ---- 品牌页签：2 等分，37 px 高 ---- */
.clone-size-chart__brands {
	display: grid;
	grid-template-columns: 1fr 1fr;
	height: 37px;
	margin-top: 36px;
}

.clone-size-chart__brandtab {
	background: #f7f7f7;
	border: 0;
	border-bottom: 1px solid #221d1d;
	color: #221d1d;
	cursor: pointer;
	font-family: inherit;
	font-size: 12px;
	letter-spacing: 0.08em;
	padding: 0;
	text-transform: uppercase;
}

.clone-size-chart__brandtab[aria-selected="true"] {
	background: #ffffff;
	border: 1px solid #221d1d;
	border-bottom: 0;
	font-weight: 600;
}

.clone-size-chart__brandtab span {
	display: inline-block;
	transform: translateY(1px);
}

/* ---- 类目行 ---- */
#clone-size-chart-catslug.clone-size-chart__category {
	font-size: 18px;
	font-weight: 400;
	line-height: 24px;
	margin: 23px 0 0;
}

.clone-size-chart__question {
	font-size: 12px;
	line-height: 18px;
	margin: 12px 0 0;
}

/* ---- 国家选择器：48 px 高 #F9F8F9，底部 1 px 分隔线 ---- */
.clone-size-chart__selectwrap {
	background: #f9f8f9;
	box-sizing: border-box;
	height: 48px;
	position: relative;
}

.clone-size-chart__selectlabel {
	color: #6b6169;
	font-size: 10px;
	left: 10px;
	letter-spacing: 0.08em;
	line-height: 1;
	position: absolute;
	text-transform: uppercase;
	top: 8px;
}

.clone-size-chart__select {
	-webkit-appearance: none;
	appearance: none;
	background: transparent;
	border: 0;
	box-sizing: border-box;
	color: #221d1d;
	font-family: inherit;
	font-size: 14px;
	height: 100%;
	left: 0;
	padding: 18px 40px 4px 10px;
	position: absolute;
	top: 0;
	width: 100%;
}

.clone-size-chart__chevron {
	color: #221d1d;
	pointer-events: none;
	position: absolute;
	right: 14px;
	top: 24px;
}

.clone-size-chart__country {
	border-bottom: 1px solid rgb(224, 218, 213);
	padding-bottom: 16px;
}

/* ---- 计算器 ---- */
.clone-size-chart__calc {
	border-bottom: 0;
	padding-top: 17px;
}

#clone-size-chart-calc.clone-size-chart__calctitle {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 16px;
	margin: 0;
}

.clone-size-chart__unitslabel {
	font-size: 12px;
	line-height: 18px;
	margin: 10px 0 0;
}

.clone-size-chart__radios {
	display: flex;
	gap: 18px;
	margin-top: 8px;
}

.clone-size-chart__radio {
	align-items: center;
	cursor: pointer;
	display: inline-flex;
	font-size: 12px;
	gap: 7px;
}

.clone-size-chart__radio input {
	height: 1px;
	opacity: 0;
	position: absolute;
	width: 1px;
}

.clone-size-chart__dot {
	border: 1px solid #a39e9e;
	border-radius: 50%;
	box-sizing: border-box;
	display: inline-block;
	height: 18px;
	position: relative;
	width: 18px;
}

.clone-size-chart__radio.is-on .clone-size-chart__dot {
	border-color: #221d1d;
}

.clone-size-chart__radio.is-on .clone-size-chart__dot::after {
	background: #221d1d;
	border-radius: 50%;
	content: "";
	height: 8px;
	left: 4px;
	position: absolute;
	top: 4px;
	width: 8px;
}

.clone-size-chart__radio input:focus-visible + .clone-size-chart__dot {
	outline: 1px solid #221d1d;
	outline-offset: 2px;
}

.clone-size-chart__calcrow {
	display: grid;
	gap: 8px;
	grid-template-columns: 243fr 243fr 160fr;
	margin-top: 16px;
}

.clone-size-chart__input {
	background: #f9f8f9;
	border: 0;
	border-radius: 0;
	box-sizing: border-box;
	color: #221d1d;
	font-family: inherit;
	font-size: 14px;
	height: 48px;
	padding: 0 10px;
	width: 100%;
}

.clone-size-chart__input::placeholder {
	color: #6b6169;
	opacity: 1;
}

.clone-size-chart__calcbtn {
	background: #f4c6cf;
	border: 0;
	border-radius: 0;
	color: #221d1d;
	cursor: pointer;
	font-family: inherit;
	font-size: 13px;
	height: 48px;
	letter-spacing: 0.08em;
	padding: 0 10px;
	width: 100%;
}

.clone-size-chart__calcresult {
	color: #4e3844;
	font-size: 12px;
	line-height: 18px;
	margin: 8px 0 0;
	min-height: 18px;
}

/* ---- 两个可展开行 ---- */
.clone-size-chart__accrow {
	margin-top: 11px;
}

.clone-size-chart__accrow + .clone-size-chart__accrow {
	margin-top: 29px;
}

.clone-size-chart__acc {
	align-items: center;
	background: none;
	border: 0;
	color: #221d1d;
	cursor: pointer;
	display: flex;
	font-family: inherit;
	font-size: 11px;
	font-weight: 700;
	justify-content: space-between;
	letter-spacing: 0.1em;
	padding: 0;
	width: 100%;
}

.clone-size-chart__plus {
	display: inline-block;
	height: 14px;
	position: relative;
	width: 14px;
}

.clone-size-chart__plus::before,
.clone-size-chart__plus::after {
	background: #221d1d;
	content: "";
	position: absolute;
}

.clone-size-chart__plus::before {
	height: 1px;
	left: 0;
	top: 6px;
	width: 14px;
}

.clone-size-chart__plus::after {
	height: 14px;
	left: 6px;
	top: 0;
	width: 1px;
}

.clone-size-chart__acc[aria-expanded="true"] .clone-size-chart__plus::after {
	display: none;
}

.clone-size-chart__accpanel {
	margin-top: 10px;
}

.clone-size-chart__note {
	color: #4e3844;
	font-size: 12px;
	line-height: 18px;
	margin: 0;
}

/* ---- 尺码表：两列 319 px、间隔 13 px、行 25 px、表头 26 px ---- */
.clone-size-chart__tables {
	display: grid;
	gap: 13px;
	grid-template-columns: 1fr 1fr;
	margin-top: 35px;
	max-width: 100%;
	width: 651px;
}

.clone-size-chart__table table {
	border: 1px solid rgb(224, 218, 213);
	border-collapse: collapse;
	box-sizing: border-box;
	table-layout: fixed;
	width: 100%;
}

/* 视觉隐藏：本轮自己的工具类。镜像里的 `.prism-visually-hidden` 在本页没有生效（表格里
   `Not Available` 会直接显示出来），所以这里给本轮节点自带一个 1px 剪裁的版本。 */
.clone-size-chart__vh {
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.clone-size-chart__table caption.clone-size-chart__vh {
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.clone-size-chart__table caption {
	caption-side: top;
	font-size: 12px;
	font-weight: 700;
	padding: 0 0 6px;
	text-align: left;
}

.clone-size-chart__table th,
.clone-size-chart__table td {
	border-bottom: 1px solid rgb(224, 218, 213);
	font-size: 12px;
	font-weight: 400;
	line-height: 24px;
	padding: 0 5px;
	text-align: left;
	vertical-align: middle;
}

.clone-size-chart__table th {
	border-bottom: 1px solid #221d1d;
	font-weight: 700;
	height: 26px;
}

.clone-size-chart__table td {
	height: 24px;
}

.clone-size-chart__table th + th,
.clone-size-chart__table td + td {
	border-left: 1px solid rgb(224, 218, 213);
}

.clone-size-chart__table tbody tr:last-child td {
	border-bottom: 0;
}

.clone-size-chart__empty {
	color: #4e3844;
	font-size: 13px;
	line-height: 20px;
	margin: 24px 0 0;
}

/* ---- 移动端：整屏面板（捕获的 .dFAQQD 媒体查询是同一口径：top 0 / 满宽 / 满高）---- */
@media (max-width: 767px) {
	.clone-size-chart__dialog {
		left: 0;
		margin-left: 0;
		max-height: 100%;
		top: 0;
		width: 100%;
	}

	.clone-size-chart__close {
		left: auto;
		right: 8px;
	}

	.clone-size-chart__body {
		padding: 0 16px 40px;
	}

	.clone-size-chart__calcrow {
		grid-template-columns: 1fr 1fr;
	}

	.clone-size-chart__calcbtn {
		grid-column: 1 / -1;
	}

	.clone-size-chart__tables {
		grid-template-columns: 1fr;
	}
}

/* ---------------------------------------------------------------------------
 * Use 2 - a rule the mirror cannot carry, source cited.
 *
 * ABOUT THIS PRODUCT: the target's `More` disclosure (T3-pdp-layout).
 *
 * The target does not print the whole copy in the flow. Measured on
 * /us/vs/bras-catalog/5000000022?genericId=11262797&choice=7XH2 at 1440x900, dpr 1:
 *   section[data-testid=about-product] = x 897  y 2099.3  w 413  h 174
 *   div.sc-f7en2h-2 (the copy host)    = 413 x 80        (visible flow, 4 lines)
 *   span.sc-f7en2h-3.lkIWyf            = hidden (`display:none`, `.visually-hidden`)
 *   button (label `More`)              = inline after the flow
 * and on the pajama page (sleepwear-and-lingerie-catalog/5000000360, 11274459|7URA) the same
 * block is `x 897 w 413 h 154`. The remainder of the copy lives in that hidden span and the
 * button reveals it.
 *
 * The mirrored stylesheet already carries both halves of the hiding
 * (`.visually-hidden{visibility:hidden;height:0;position:absolute}` and
 * `.lkIWyf.lkIWyf.lkIWyf.lkIWyf{display:none}`), so this sheet adds only the REVEALED state and
 * the control's own look. The control is a `<label>` bound to a visually hidden checkbox that
 * `clone_pdp_desc_block()` prints beside the copy: one click toggles it with no script, which
 * is what this round is allowed to add (the theme's assets/js is outside its touch set).
 * Every selector is scoped under `[data-clone-desc-host]`, an attribute only the About block
 * carries, and no `!important` appears: the reveal wins by ID specificity (1 id) against the
 * four-class `.lkIWyf` rule the mirror ships.
 * ------------------------------------------------------------------------- */

[data-clone-desc-host] .clone-about-more__state {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

[data-clone-desc-host] .clone-about-more__btn {
	display: inline;
	margin: 0 0 0 0.25rem;
	padding: 0;
	border: 0;
	background: none;
	color: #221d1d;
	font: inherit;
	text-decoration: none;
	cursor: pointer;
}

[data-clone-desc-host] .clone-about-more__btn:hover,
[data-clone-desc-host] .clone-about-more__btn:focus {
	text-decoration: underline;
}

[data-clone-desc-host] .clone-about-more__less {
	display: none;
}

[data-clone-desc-host] #clone-about-more-state:checked ~ .sc-f7en2h-3.lkIWyf {
	display: block;
	position: static;
	visibility: visible;
	height: auto;
}

[data-clone-desc-host] #clone-about-more-state:checked ~ .clone-about-more__btn .clone-about-more__more {
	display: none;
}

[data-clone-desc-host] #clone-about-more-state:checked ~ .clone-about-more__btn .clone-about-more__less {
	display: inline;
}

/* T3-REVIEW-PAGINATION */
/* ----------------------------------------------------------------------
   T3-review-pagination。这一节只做四件事，值全部来自目标站实测
   （runtime/docs/captured/review_pagination/spec_desktop.json、
   spec_desktop_paging.json、spec_mobile.json）：

     1. hidden 在评价区里必须真的隐藏。捕获给这些节点写的是
        `.sc-vcal1v-0.jtANLe.prism-layout-flex{display:flex}`（0,3,0），
        而 UA 的 `[hidden]{display:none}` 只有 0,1,0，属性写法再多一个也只有
        0,1,0（`[hidden]` 计一个属性）。这里每条选择器用 3 个属性选择器打平
        特异性，靠 patch.css 最后加载取胜 —— 不用强覆盖声明。
     2. previous 箭头指向左。捕获只在第 1 页量过控件，第 1 页没有 previous；
        实测第 2 页它出现且仍是同一个 #arrow 图标，镜像方向是本轮的推断
        （登记为 inferred）。
     3. Sort 菜单的打开态。捕获从未打开过菜单，菜单面板 markup 是本轮的；
        面板的行高（32px）、行宽（min 137.9px）、文字（12px/400、#4E3844）
        是实测的旧值。定位由 JS 把 position:relative 写在控件父节点上。
     4. 星级过滤的按下态用站点自己的"选中"语汇：下划线（当前页码同款）。
   --------------------------------------------------------------------- */

[data-testid="RatingsReview"] [data-clone-revpg][hidden][hidden][hidden],
[data-testid="RatingsReview"] [data-clone-review-empty][hidden][hidden][hidden],
[data-testid="RatingsReview"] [data-clone-sortmenu][hidden][hidden][hidden] {
	display: none;
}

[data-clone-pager] > li[hidden],
[data-testid="RatingsReview"] [data-clone-loadmore][hidden][hidden][hidden] {
	display: none;
}

/* the measured arrow points right; the previous one has never been seen, so it is mirrored */
[data-clone-pager] [data-value="previous"] .prism-icon {
	transform: scaleX(-1);
}

/* ---- the sort menu (never captured open: the panel is this round's) ---- */
.clone-rev-sortmenu {
	position: absolute;
	top: 100%;
	right: 0;
	z-index: 40;
	min-width: 137.9px;
	padding: 6px 0;
	background: #FFFFFF;
	border: 1px solid #E0DAD5;
	box-shadow: 0 2px 6px rgba(34, 29, 29, 0.12);
}

.clone-rev-sortmenu button {
	display: block;
	width: 100%;
	padding: 8px 12px;
	border: 0;
	background: none;
	text-align: left;
	font-family: inherit;
	font-size: 12px;
	font-weight: 400;
	line-height: 16px;
	letter-spacing: 0.48px;
	color: #4E3844;
	cursor: pointer;
}

.clone-rev-sortmenu button:hover,
.clone-rev-sortmenu button:focus-visible {
	text-decoration: underline;
}

.clone-rev-sortmenu button[aria-checked="true"] {
	font-weight: 700;
}

.clone-rev-sortmenu button[data-clone-inert] {
	color: #958F8F;
	cursor: not-allowed;
	text-decoration: none;
}

/* ---- the star filter's pressed state, in the site's own selected idiom ---- */
[data-clone-revfilter][aria-pressed="true"] .prism-typography {
	text-decoration: underline;
}

/* ==========================================================================================
 * T5-CREATORS-GEOM — `As Seen on VS Creators` 卡盒，按目标站实测值装配
 *
 * Use 2（镜像装不下的一条规则 + 出处）。这一节的每一个数字都来自
 * `runtime/docs/captured/two_facts/creators.json`（目标站 5000000022 商品页，#ugc-component，
 * iPhone-UA mweb 通道，1440 与 375 两个视口逐值记录）：
 *
 *   block        1180 x 572 (x=130)          margin 20.004 / 0 / 4.008
 *   heading      15.192px / 800 / lh 20px / letter-spacing 0.60768px / margin-left 20.004px
 *   carousel     1180 x 552, overflow-x auto, overflow-y hidden, scroll-snap none
 *                scrollWidth 2124 (= 4 x 531), 一屏 2 整 + 第 3 张露 118px (2.222 张/屏)
 *   card         531 x 552 = 容器 45%（手机 168.75 x 189.75 = 375 的 45%）
 *                padding 0 2px, margin-top 16.008px, radius 0, overflow hidden
 *   media box    527 x 527 = 卡宽减两侧各 2px, aspect-ratio 1/1, radius 2px, overflow hidden
 *   image        object-fit fill；自然 504x672 → 盒 527x702.66，底部被方盒裁掉约 176px
 *   video        object-fit cover；自然 9:16 → 盒 527x936.88，同样被方盒裁切
 *   play button  28 x 28 居中，背景 rgba(255,255,255,.7)
 *   card text    无（4 张卡 textContent 全空，块内只有 h3 标题）
 *   arrows       无（块内 0 个 next/prev 控件）
 *
 * WHY THESE RULES ARE HERE AND NOT IN THE MIRROR: the measured page is a LATER build than the
 * mirror -- its styled-components classes (`iNzdfQ` / `DxknY` / `hCWFCC` / `CjFhQ`) occur 0 times as
 * selectors in the mirrored stylesheets, so the 45% card width, the 1:1 media box and the 2px radius
 * have no rule on this host. What the mirror DOES carry is the component-id chain
 * (`prism-carousel-slide` / `sc-1p39gmn-5` / `jtANLe`), which is why every selector below is scoped
 * to `#ugc-component`: one id prefix wins the cascade without an important flag, and nothing outside
 * the block can move.
 *
 * THE CAROUSEL'S HEIGHT. The measured carousel is 552 tall = the card's own 552 (mobile: 189.75), so
 * its height is the CARD's height, not its own content's: the card carries a 16.008px top margin and
 * the scroll box clips the card's last 16px (measured: card y = carousel y + 16.008, both 552 tall).
 * The card's height is `45% of the width - 2*2px padding + 25px trailer`, which is not a constant
 * ratio, so it is written against the block's own inline size via a query container (`cqw`) instead
 * of a fixed px: 45cqw - 4px + 25px = 552px at 1180 and 189.75px at 375, exactly the two measured
 * readings. No JS, no viewport media queries, no magic breakpoint.
 *
 * THE 25px TRAILER. The card is 552 tall while its media box is 527 on BOTH viewports (189.75 vs
 * 164.75 on a phone) -- the measured card reserves a 25px line under the media that carries no text
 * (`slide.textContent === ''` on all four slides). It is reproduced by an empty 25px `::after` so the
 * card's own padding stays the measured `0 2px`.
 * ========================================================================================== */

/* the block: measured margin, and the query container the carousel's height is written against */
#ugc-component {
	container-type: inline-size;
	margin: 20.004px 0 4.008px;
	padding: 0;
}

/* the heading: the measured type, whichever of h2/h3 the capture prints */
#ugc-component > h2,
#ugc-component > h3 {
	margin: 0 0 0 20.004px;
	padding: 0;
	font-family: PublicSans, Helvetica, Arial, sans-serif;
	font-size: 15.192px;
	font-weight: 800;
	line-height: 20px;
	letter-spacing: 0.60768px;
	text-transform: none;
	color: #000000;
}

/* the scroll list: a native horizontal scroller -- no arrows, no snap, no slick */
#ugc-component > [data-testid="ugc-carousel"] {
	display: block;
	flex: 0 0 100%;
	width: 100%;
	height: calc(45cqw - 4px + 25px);
	margin: 0;
	padding: 0;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: none;
	white-space: nowrap;
	/* the cards must sit edge to edge (measured steps 0 / 531 / 1062 / 1593): no inline gap */
	font-size: 0;
}

/* the card: 45% of the scroller, the measured padding and top offset */
#ugc-component .prism-carousel-slide {
	display: inline-block;
	vertical-align: top;
	box-sizing: border-box;
	position: relative;
	width: 45%;
	height: auto;
	min-width: 0;
	max-width: none;
	margin: 16.008px 0 0;
	padding: 0 2px;
	border: 0;
	border-radius: 0;
	overflow: hidden;
	white-space: normal;
}

/* the 25px trailer the measured card reserves under the media (it holds no text) */
#ugc-component .prism-carousel-slide::after {
	content: "";
	display: block;
	height: 25px;
}

/* the media box: a square crop at radius 2 with the media clipped inside it */
#ugc-component .prism-carousel-slide > .sc-1p39gmn-5 {
	aspect-ratio: 1 / 1;
	height: auto;
	border-radius: 2px;
	overflow: hidden;
	position: relative;
}

#ugc-component .sc-1p39gmn-5 > picture,
#ugc-component .sc-1p39gmn-5 > img,
#ugc-component .sc-1p39gmn-5 > .prism-video {
	display: block;
	width: 100%;
	min-width: 0;
}

/* image: width 100% + height auto keeps the file's own 3:4 box, so the square crops its bottom */
#ugc-component .sc-1p39gmn-5 img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: fill;
	object-position: 50% 50%;
}

/* video: the same auto height (the file's 9:16 box) with cover, clipped by the square box */
#ugc-component .sc-1p39gmn-5 video {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

/* the captured video card's player root. It is pinned to the MEDIA BOX, not to the video's own box:
   the measured video is 527x936.88 (its 9:16 ratio, clipped by the square) while the measured Play
   control sits at the SQUARE's centre (912.5 - 663 = 249.5 = (527 - 28) / 2), so the control's
   containing block is the 527 box. Handing the player the whole box keeps the video's own height
   (it overflows and is clipped by the media box) and centres the control where it was measured. */
#ugc-component .sc-1p39gmn-5 .prism-video {
	position: absolute;
	inset: 0;
}

/* the Play control: 28x28, centred in the media box, white 70% -- the capture's button markup and
   its own --prism-Control-* values; only the box and the centring are set here */
#ugc-component .sc-1p39gmn-5 .prism-video .video-menu {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	background: none;
	z-index: 2;
}

#ugc-component .sc-1p39gmn-5 .prism-video .video-menu .control-items {
	display: flex;
	align-items: center;
	padding: 0;
}

#ugc-component .sc-1p39gmn-5 .prism-video button.prism-video-control {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	min-width: 28px;
	min-height: 28px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.7);
	color: #221D1D;
	cursor: pointer;
}

#ugc-component .sc-1p39gmn-5 .prism-video button.prism-video-control:hover,
#ugc-component .sc-1p39gmn-5 .prism-video button.prism-video-control:focus-visible {
	background-color: var(--prism-Control-hoverBackgroundColor, #221d1d);
	color: var(--prism-Control-hoverColor, #ffffff);
	outline: none;
}

#ugc-component .sc-1p39gmn-5 .prism-video button.prism-video-control .prism-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--prism-Icon-width, 11px);
	height: var(--prism-Icon-height, 11px);
}

#ugc-component .sc-1p39gmn-5 .prism-video button.prism-video-control .prism-icon svg {
	width: 100%;
	height: 100%;
	fill: currentColor;
}

/* =====================================================================================
 * T3-FILTER-SORT
 *
 * The FILTER & SORT drawer, rebuilt to the capture: the panel is the target's own box
 * (360x900, white, `1px solid #EFECEA` left edge, `0 1px 2px rgba(0,0,0,.05)` shadow) and there
 * is NO SCRIM — the target measured `panel.scrims = []` and only `body.overflow = hidden`
 * (report §1, D-FS-01).
 *
 * WHY THE PANEL GEOMETRY IS RESTATED HERE. The capture carries the target's own
 * `<style id="filter-drawer-dialog-styles">`, whose selectors are bound to the `<dialog>` element
 * the target mounted (`dialog.filter-drawer-dialog { … }` and its `::backdrop`). This clone does
 * not use a modal dialog — that element's backdrop cannot be removed without leaving the rule on
 * the element, and a modal dialog also traps focus and paints in the top layer, neither of which
 * the target does (D-FS-02). So the panel is the target's real shape (a wrapper plus
 * `.filter-drawer-panel`) and the SAME DECLARATIONS are taken from that captured block below:
 *     position absolute; top/right/bottom 0; width 100%; max-width 360px (min-width 768px);
 *     background #FFFFFF; border-left 1px solid #EFECEA;
 *     box-shadow 0 1px 2px 0 rgb(0 0 0 / 0.05); animation filter-drawer-slide-in 280ms ease-out
 * The values are the capture's; only the selector changed. Nothing here is `!important`, and every
 * rule is scoped to this page's own drawer id, so no mirrored rule is overridden.
 * ================================================================================== */

#clone-plp-filter-dialog.filter-drawer-dialog {
	position: fixed;
	inset: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	z-index: 940;
	/* THE FRAME IS NOT A TARGET. The target's drawer has no scrim at all, so the page behind it
	 * keeps its own colour AND its own pointer behaviour; a transparent full-viewport wrapper
	 * would still swallow every click without it. Only the panel itself takes input. */
	pointer-events: none;
}

#clone-plp-filter-dialog .filter-drawer-panel {
	pointer-events: auto;
}

/* no scrim: the wrapper is a click-through-free but INVISIBLE frame. The page behind it keeps
 * its own colour and its own pointer behaviour, which is what the target shows. */
#clone-plp-filter-dialog[hidden] {
	display: none;
}

#clone-plp-filter-dialog .filter-drawer-panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	max-width: 100vw;
	box-sizing: border-box;
	padding-top: env(safe-area-inset-top, 0px);
	overflow: hidden;
	background: #FFFFFF;
	border-left: 1px solid #EFECEA;
	box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
	outline: none;
	animation: filter-drawer-slide-in 280ms ease-out;
}

@keyframes filter-drawer-slide-in {
	from { transform: translate3d(100%, 0, 0); }
	to { transform: translate3d(0, 0, 0); }
}

@media (min-width: 768px) {
	#clone-plp-filter-dialog .filter-drawer-panel {
		max-width: 360px;
	}
}

@media (prefers-reduced-motion: reduce) {
	#clone-plp-filter-dialog .filter-drawer-panel {
		animation: none;
	}
}

/* THE ONLY SCROLL LOCK. The target does exactly this and paints nothing else. */
body[data-clone-drawer-open="1"] {
	overflow: hidden;
}

/* The captured panel header is 17.09px/600 (report §1); the drawer's own rules above carry 16px
 * from the round that built the inner markup. */
#clone-plp-filter-dialog .clone-plp-drawer-title {
	font-size: 17.09px;
}

/* ---- the Size group is a SIZE-CHIP GRID, not a list -------------------------------------
 * Captured boxes: two 160x36 columns inside the 327px panel inner width (report §2.1, bras Size
 * `box {x 1097, y 685, w 160}` with the second column at x 1265). */
#clone-plp-filter-dialog .clone-plp-sizegrid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px 7px;
}

#clone-plp-filter-dialog .clone-plp-sizegrid .clone-plp-option {
	min-height: 36px;
}

/* ---- the Ratings group is a STAR ROW ----------------------------------------------------
 * The captured group has no inputs at all (0 options, `star-rating`), so the five bands are
 * buttons: the count of `[data-clone-option]` nodes in this group stays 0/0 against the spec. */
#clone-plp-filter-dialog .clone-plp-stars {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

#clone-plp-filter-dialog .clone-plp-star {
	appearance: none;
	border: 0;
	background: transparent;
	color: #221D1D;
	font-family: inherit;
	font-size: 11px;
	letter-spacing: 0.44px;
	text-align: left;
	padding: 6px 0;
	cursor: pointer;
}

#clone-plp-filter-dialog .clone-plp-star-glyphs {
	font-size: 13px;
	letter-spacing: 1px;
}

#clone-plp-filter-dialog .clone-plp-star[aria-pressed="false"] .clone-plp-star-glyphs {
	color: #C9C3BE;
}

#clone-plp-filter-dialog .clone-plp-star-andup {
	color: #6B6560;
	font-size: 10px;
}

/* ---- the applied toolbar: chips + `Sort: X` ---------------------------------------------
 * The chip reuses the results pill's captured class chain, so its background, radius and height
 * are the captured ones; only the `x` spacing and the hairline under the label are new. The
 * measured target chip: h=30, radius 9999px, font 11px, bg rgb(250,245,239) (report §4.4). */
.clone-plp-chip {
	appearance: none;
	border: 0;
	cursor: pointer;
	height: 30px;
	padding-right: 10px;
}

.clone-plp-chip-x {
	font-size: 13px;
	line-height: 1;
	color: #221D1D;
	padding-left: 6px;
}

.clone-plp-chip:focus-visible {
	outline: 1px solid #221D1D;
	outline-offset: 2px;
}

.clone-plp-chipbar-sort {
	white-space: nowrap;
	align-self: center;
	padding-left: 4px;
}

/* A chip whose value the library cannot evaluate is marked, not restyled: `data-clone-inert`
 * is the truth carrier and the surface stays the capture's (see plp.php::clone_plp_chips()). */
.clone-plp-chip[data-clone-inert="1"] .clone-plp-chip-label {
	color: #6B6560;
}
/* ---- the drawer FOOTER, at the measured boxes --------------------------------------------
 * Captured (report §1.1): `SEE … RESULTS` 311x48 on desktop and 326x48 on the phone — i.e. the
 * panel's width minus 49px, which is 24.5px of padding per side — background rgb(244,198,207),
 * text rgb(0,0,0), radius 3px, 11px. `Clear All` is a 71x38 transparent text button, CENTRED
 * UNDER the SEE button, not beside it. The two status lines sit above them. */
#clone-plp-filter-dialog .clone-plp-drawer-foot {
	padding: 8px 24.5px 16px;
}

#clone-plp-filter-dialog .clone-plp-drawer-body {
	bottom: 148px;
}

#clone-plp-filter-dialog .clone-plp-drawer-status {
	margin: 0 0 10px;
	text-align: center;
	font-size: 11px;
	letter-spacing: 0.44px;
	color: #221D1D;
}

#clone-plp-filter-dialog .clone-plp-drawer-status span {
	display: block;
}

#clone-plp-filter-dialog .clone-plp-drawer-actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
}

#clone-plp-filter-dialog .clone-plp-see {
	width: 100%;
	height: 48px;
	border: 0;
	border-radius: 3px;
	background: rgb(244, 198, 207);
	color: rgb(0, 0, 0);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	padding: 0;
}

#clone-plp-filter-dialog .clone-plp-clear {
	width: 71px;
	height: 38px;
	margin-top: 4px;
	background: transparent;
	color: #221D1D;
	font-size: 11px;
	text-decoration: none;
	padding: 0;
}
/* ---- the group rows, at the captured boxes ----------------------------------------------
 * Every captured category records `has_counts: false` (report §2), so a group header prints its
 * TITLE only — the option total stays on `data-clone-option-count` for a reader, never on screen.
 * A checkbox row measures 327x36 in the capture (`Style` / `Brand` / `Category`); the size grid's
 * own 36 is already set above. */
#clone-plp-filter-dialog .clone-plp-accordion-count {
	display: none;
}

#clone-plp-filter-dialog .clone-plp-option {
	min-height: 36px;
}
/* T3-REVIEW-PAGINATION-2 */
/* ----------------------------------------------------------------------
   T3-review-pagination-2。上一轮有 3 处推断（AD-4 / AD-5 / AD-10），本轮全部换成实测，
   出处：runtime/docs/captured/review_pagination/spec2.json（原始读数在同目录的
   spec2_desktop_v2.json / spec2_mobile_raw.json / spec2_menu_and_ids_raw.json）。

   这一节只写三类已经被量到的东西，没有一条是推出来的：

     1. 箭头图标的旋转来自图标自己的内联变量（实测 next `rotate(0deg)`、
        previous `rotate(180deg)`，computed transform = matrix(-1,0,0,-1,0,0)）。
        上一轮写的 `scaleX(-1)` 是推断机制，这里用同一份实测变量把它顶掉：
        选择器特异性相同（0,2,1），本节在后，后者胜。
     2. Sort 面板：实测就是 `<ul role="menu">`，position absolute / top 60px / right 0 /
        z-index 100 / padding 8px 8px 0 12px / width 159.859px / max-height 370px /
        背景 #FFFFFF / 无边框 / 无圆角 / 无阴影；每一项 `li` 137.859px 宽、32px 高
        （首末 40px：首项 padding-top 8.004px、末项 padding-bottom 8.004px）；
        项内 `button` 137.859×32、padding 0 16.008px、文字 13.5px/600/20px/1.08px、
        颜色 var(--prism-Button-color)=#4E3844、hoverColor=#7A6A73；
        项内 `span` 12px/400/20px/0.48px、颜色 #221D1D，hover 变 #AF5071。
     3. 选中标记：目标 7 个选项都没有 aria-checked / aria-selected / aria-current，
        只有"当前值那一项"的 span 是 600（其余 400）—— 所以标记写成属性
        `[data-clone-sort-cur]`，值就是实测的 600。
   没有强覆盖声明（本小节该关键字 0 处）。
   ---------------------------------------------------------------------- */

/* 1. the two pager arrows: the direction lives in the icon's own measured variable */
[data-clone-pager] [data-value="previous"] .prism-icon,
[data-clone-pager] [data-value="next"] .prism-icon {
	transform: var(--prism-Icon-transform, none);
}

/* the trigger's own arrow carries the same measured variable (`rotate(90deg)` on the bar) */
[data-clone-sort] .prism-icon {
	transform: var(--prism-Icon-transform, none);
}

/* 2. the sort panel, at the measured geometry
 *
 * THE SCOPE IS THE BAR'S OWN CAPTURED ID ON PURPOSE. The captured page ships its
 * styled-components rules with the class token repeated four times
 * (`.CzwBK.CzwBK.CzwBK.CzwBK { … }` = specificity 0,4,0), so a two-class hook loses no matter
 * where it sits in the file. `#sortButtonOpen` (the captured id of the sort bar, and the menu
 * lives inside its `<li>`) is one id and wins without a single override declaration. */
#sortButtonOpen [data-clone-sortmenu] {
	position: absolute;
	top: 60px;
	right: 0;
	z-index: 100;
	margin: 0;
	padding: 8px 8px 0 12px;
	width: 159.859px;
	max-height: 370px;
	background-color: #FFFFFF;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	box-sizing: border-box;
	font-size: 11px;
	font-weight: 400;
	line-height: 17px;
	letter-spacing: 0.44px;
}

#sortButtonOpen [data-clone-sortmenu] > li.prism-dropdown-menu-item {
	display: block;
	width: 137.859px;
	height: 32px;
	margin: 0;
	padding: 0;
}

#sortButtonOpen [data-clone-sortmenu] > li.prism-dropdown-menu-item:first-child {
	height: 40px;
	padding-top: 8.004px;
}

#sortButtonOpen [data-clone-sortmenu] > li.prism-dropdown-menu-item:last-child {
	height: 40px;
	padding-bottom: 8.004px;
}

#sortButtonOpen [data-clone-sortmenu] li > button {
	display: block;
	position: relative;
	box-sizing: border-box;
	width: 137.859px;
	height: 32px;
	margin: 0;
	padding: 0 16.008px;
	border: 0;
	border-radius: 0;
	background: none;
	text-align: left;
	cursor: pointer;
	color: var(--prism-Button-color, #4E3844);
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 20px;
	letter-spacing: 1.08px;
}

#sortButtonOpen [data-clone-sortmenu] li > button:hover {
	color: var(--prism-Button-hoverColor, #7A6A73);
}

#sortButtonOpen [data-clone-sortmenu] li > button > span {
	font-size: 12px;
	font-weight: 400;
	line-height: 20px;
	letter-spacing: 0.48px;
	color: #221D1D;
}

#sortButtonOpen [data-clone-sortmenu] li > button:hover > span {
	color: #AF5071;
}

/* 3. the measured selection mark: font-weight 600 on the chosen option only */
#sortButtonOpen [data-clone-sortmenu] li > button > span[data-clone-sort-cur="1"] {
	font-weight: 600;
}

#sortButtonOpen [data-clone-sortmenu] li > button[data-clone-inert] {
	cursor: not-allowed;
}

#sortButtonOpen [data-clone-sortmenu] li > button[data-clone-inert] > span {
	color: #958F8F;
}
/* M1-NAV-HOME
 * ---------------------------------------------------------------------------
 * Mobile navigation + home, measured live at 375x812 dpr2 on 2026-11-27 against
 * https://www.victoriassecret.com/us/ and /us/vs/bras (US egress 142.249.39.153,
 * iPhone UA). Source: runtime/docs/captured/mobile_nav_home/spec.json.
 *
 * The sheet may not press a mirrored rule; what follows is only the open state
 * the mirror cannot carry (the drawer chrome was never captured open) plus the
 * state the measured DOM paints, scoped to the clone's own hooks.
 */

/* 1. drilled-panel chrome: measured header is 48px tall, its rule 1px #E0DAD5 at
 *    y=48, the back control 24x24 at (20,12), the title h2 46.9x20 at (48,14)
 *    15.192px/20px weight 600 uppercase, the close 24x48 at (331,0). */
[data-clone-panel-chrome] {
	height: 49px;
	border-bottom: 1px solid rgb(224, 218, 213);
}

[data-clone-panel-chrome] [data-clone-back] {
	margin-right: 0;
}

[data-clone-panel-chrome] [data-clone-title] {
	margin: 0 0 0 4px;
	margin-right: auto;
	font-size: 15.192px;
	line-height: 20px;
	font-weight: 600;
	letter-spacing: 1.21536px;
	color: #000000;
	text-transform: uppercase;
	white-space: nowrap;
}

[data-clone-panel-chrome] [data-clone-title][hidden] {
	display: none;
}
/* 2. the drilled row's own controls give way to its sub-panel. The mirrored rule
 *    paints those controls with `display:flex`, which beats the UA [hidden] rule,
 *    so the state needs a rule of its own (same measured state as above: the
 *    target's open Bras panel shows no parent row). */
[data-clone-nav-panel] > li > [data-clone-rowctl][hidden] {
	display: none;
}
/* 3. the open-state chrome leaves with the panel. Its own rule paints it
 *    `display:flex`, which beats the UA [hidden] rule (measured: a closed menu
 *    left a 375x49 white bar + X fixed at z 901 on every page below). */
[data-clone-panel-chrome][hidden] {
	display: none;
}

/* M5-CART-ACCOUNT — 手机端 bag / checkout 与目标站 2026-11-27 读数的差值修补。
 * 数据来源：runtime/docs/captured/mobile_cart_account/target_row.json（目标站加购 1 件后的静止布局）
 *           + runtime/docs/selfcheck/m5_patch_before.json（本克隆同一读数）。
 * 只写"镜像样式表覆盖不到的落差"，每条规则都由一次实测差值支撑，不用 !important。
 */

/* 1) bag 行：图片列下沿。目标站 .sc-18i1ib7-8 为 129x219.09（图 172.09 + 47），
 *    本克隆 129x176.94 → 数量控件因此高 44.15px（884.09 vs 839.94）。
 *    补 44px 后数量控件落到 883.94（差 0.15px，见 m5_patch_after.json）。 */
body[data-clone-page="bag"] .sc-8mecpo-2 .sc-18i1ib7-8 {
	padding-bottom: 44px;
}

/* 2) checkout 步骤条：本轮**未修**，登记为未解决差值。
 *    目标站（2026-11-27）：Shipping 0,112,125,32 / Review 249,112,125,32。
 *    本克隆：Review 249.33,100,124.66,32 —— 宽度与 x 已逐值对齐，只有纵向差 12px。
 *    两次尝试（属性选择器 / 提高特异度到 div.sc-xdi2oi-0[role=tablist]）都被同元素上的
 *    镜像规则压住：实测 computed padding-top 恒为 4.008px，加 height:48px 反而把格子拉成 39 高，
 *    已回滚。按"不对镜像有效规则用 !important"的纪律，本轮不绕，差值进报告待下轮用捕获规则
 *    重放（runtime/docs/mobile_cart_account.md §4 R-2）。 */
/* 4. the drilled panel's own type scale (measured 2026-11-27): the target paints
 *    its sub-panel entries at 15.192px/24px inside the 44px row, while the
 *    level-1 rows keep 17.088px/24px. The mirrored rule only carries the
 *    level-1 size, so the smaller one is added here, scoped to the sub-panel. */
[data-clone-nav-panel] [data-clone-subpanel] a {
	font-size: 15.192px;
	line-height: 24px;
}

/* =====================================================================
   M3-PDP-A — 手机端 PDP 上半：About 折叠 / 尺码颗粒 / 成分手风琴 / 尺码表弹窗 /
   点图浮层几何。每一条都由 2026-11-27 的目标站手机端实测支撑
   （runtime/docs/captured/mobile_pdp_a/measure_*_v3.json、probe_bra_v5.json），
   全部限 html[data-clone-branch="mobile"]，不使用 !important。
   ===================================================================== */

/* A) About This Product 的折叠：目标站折叠态 p 高 74（4 x 20px 行高，
   fz 12 / lh 20 / ls .48），末行带省略号；点 More 之后整段展开（120 = 6 行）且
   More 控件消失（目标站展开后 DOM 里没有 More/Less 任何一个）。
   本克隆此前把整段直接铺开（114px、无折叠）—— 这里只加折叠盒，不改文案来源。 */
html[data-clone-branch="mobile"] [data-clone-desc-host][data-clone-desc-src] div[style] > p {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	overflow: hidden;
}

html[data-clone-branch="mobile"] [data-clone-desc-host][data-clone-desc-src] #clone-about-more-state:checked ~ div > p {
	display: block;
	-webkit-line-clamp: unset;
	overflow: visible;
}

/* 目标站展开后按钮整个消失（不是换 Less），所以整颗按钮隐藏而不是切换文字 */
html[data-clone-branch="mobile"] [data-clone-desc-host] #clone-about-more-state:checked ~ .clone-about-more__btn {
	display: none;
}

/* More 本身：目标站 30x20、12px/20、颜色 #221D1D，紧跟在末行文字之后 */
html[data-clone-branch="mobile"] [data-clone-desc-host] .clone-about-more__btn {
	display: inline-flex;
	align-items: center;
	height: 20px;
	font-size: 12px;
	line-height: 20px;
	letter-spacing: 0.48px;
	color: #221d1d;
}

/* B) Cup 颗粒的宽度：目标站 A/B/C/D/G 为 36x36，DD (E) 61x36、DDD (F) 69x36
   （文字 12px + 左右各 9px 内边距，min-width 36）。镜像规则把每一颗都写死 55px，
   所以长标签被压、短标签被拉宽。改成 auto + min-width，让文字决定宽度。 */
html[data-clone-branch="mobile"] [data-testid="BoxSelector-size2"] div[role="radio"] span.lermxr {
	min-width: 0;
	padding-left: 0;
	padding-right: 0;
	width: auto;
}

html[data-clone-branch="mobile"] [data-testid="BoxSelector-size2"] div[role="radio"].react-box-selector-size2 {
	min-width: 36px;
	width: auto;
	padding-left: 9px;
	padding-right: 9px;
}

/* C) Composition 手风琴展开面板：目标站面板 335x113，底边 1px #E0DAD5，
   内层 div 335x112 且 padding-bottom 12px；本克隆只有 100（无底边、无下内边距）。 */
html[data-clone-branch="mobile"] [data-testid="ProductComposition"] section.prism-accordion-panel.exuIqC {
	border-bottom: 1px solid #e0dad5;
}

html[data-clone-branch="mobile"] [data-testid="ProductComposition"] section.prism-accordion-panel.exuIqC > div.dSzdaT {
	padding-bottom: 12px;
}

/* D) Size & Fit 弹窗：目标站手机端是 **四边各让 4px 的整屏卡片**（367 x 812 @ 4,4，
   白色，下面压 0.5 黑遮罩），头栏 61 高，标题 15.192/20、x=24、y=24，
   关闭按钮 37x37 @ x=322/y=16。本克隆此前是 375x788 的满宽面板、头栏 60、无遮罩。 */
html[data-clone-branch="mobile"] .clone-size-chart {
	background: rgba(0, 0, 0, 0.5);
}

html[data-clone-branch="mobile"] .clone-size-chart__dialog {
	height: 100%;
	left: 4px;
	margin-left: 0;
	max-height: 100%;
	right: 4px;
	top: 4px;
	width: auto;
}

html[data-clone-branch="mobile"] .clone-size-chart__head {
	height: 61px;
	padding-left: 24px;
}

html[data-clone-branch="mobile"] .clone-size-chart__title {
	font-size: 15.192px;
	font-weight: 400;
	letter-spacing: 0.60768px;
	line-height: 20px;
	margin: 0;
	padding-top: 20px;
}

html[data-clone-branch="mobile"] .clone-size-chart__close {
	height: 37px;
	left: auto;
	right: 16px;
	top: 16px;
	width: 37px;
}

/* E) 点图浮层（zoom dialog）的手机端几何：目标站图片 375x499 @ y=102，
   缩略条 4 颗 52x70 @ y=620（x 72/132/192/252，选中 1px 黑框、其余 .7 透明），
   左右箭头 14x48 @ x=44 / x=308、y=632，关闭 38x38 @ x=332/y=107。 */
html[data-clone-branch="mobile"] [data-clone-zoom-stage] {
	bottom: auto;
	height: 499px;
	top: 102px;
}

html[data-clone-branch="mobile"] [data-clone-zoom-img] {
	height: 499px;
	left: 0;
	object-fit: cover;
	transform: none;
	width: 375px;
}

html[data-clone-branch="mobile"] [data-clone-zoom-missing] {
	height: 499px;
	left: 0;
	top: 102px;
	transform: none;
	width: 375px;
}

html[data-clone-branch="mobile"] [data-clone-zoom-thumbs] {
	background: #ffffff;
	bottom: auto;
	gap: 8px;
	padding: 0;
	top: 620px;
}

html[data-clone-branch="mobile"] [data-clone-zoom-thumb] {
	height: 70px;
	width: 52px;
}

html[data-clone-branch="mobile"] [data-clone-zoom-thumb][data-clone-zoom-active] {
	outline: 1px solid #000000;
	outline-offset: -1px;
}

html[data-clone-branch="mobile"] [data-clone-zoom-prev],
html[data-clone-branch="mobile"] [data-clone-zoom-next] {
	font-size: 20px;
	height: 48px;
	line-height: 48px;
	margin-top: 0;
	top: 632px;
	width: 14px;
}

html[data-clone-branch="mobile"] [data-clone-zoom-prev] {
	left: 44px;
}

html[data-clone-branch="mobile"] [data-clone-zoom-next] {
	left: 308px;
	right: auto;
}

html[data-clone-branch="mobile"] [data-clone-zoom-close] {
	font-size: 22px;
	height: 38px;
	line-height: 38px;
	right: 5px;
	top: 107px;
	width: 38px;
}

/* F) 颜色分组的组标题：目标站 12px/20、400、ls .48、色 #605858，标题与色卡行间距 7px；
   选中色way 所在那一组的标题是「当前颜色名」且被视觉隐藏，可见文字是
   `| <颜色名>`（12px/20、600、#221D1D）—— 由 pdp.php 渲染，这里只给样式。 */
html[data-clone-branch="mobile"] [data-testid="productOptions"] [data-clone-colour-legend] {
	color: #605858;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.48px;
	line-height: 20px;
	margin-bottom: 7px;
}

html[data-clone-branch="mobile"] [data-testid="SelectedChoiceLabel"] {
	margin-left: 62px;
	color: #221d1d;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.48px;
	line-height: 20px;
}

/* ===================================================================================
 * M2-PLP —— 手机端分类页：与目标站 2026-11-27 手机读数的逐项差值修补。
 *
 * 采：runtime/docs/captured/mobile_plp/spec.json（viewport 375x812 dpr2、iPhone UA、
 *     出口 127.0.0.1:10808，探针 _cap_a/_cap_d/_cap_f/_probe_facets3）
 * 本：runtime/docs/captured/mobile_plp/_local_bras.json（同一套探针指向本克隆）
 * 差：runtime/docs/mobile_plp.md §2 逐项差值表
 *
 * 只写"镜像样式表与模板覆盖不到的落差"，每条规则都由一次实测差值支撑；不用 !important。
 * 作用域全部落在 PLP 手机端自己的节点上（#clone-plp-filter-dialog / [data-clone-loadmore-host]），
 * 不触碰其它页面：桌面上这些选择器要么不匹配（手机抽屉），要么不被写入属性（桌面 host 不带
 * data-clone-loadmore-auto）。
 * ================================================================================== */

/* ---- 1. 抽屉外壳的纵向档位 --------------------------------------------------------
 * 目标站（_cap_f P1）：标题行 0..64（标题 17.088px/600，box 17,19.5,107.5x24；关闭键
 * 332,18,27x27 垂直居中）；正文 64..638；页脚 638..812，其内 status 660 h16、SEE 685
 * h48、Clear All 746 h38，页脚底留白 28。
 * 本克隆（_local_bras）：标题 17,21.5 h17（行高缺档）、正文 56..664、页脚 653..812，
 * status 662 h34（两行，把 SEE 顶到 706、Clear 顶到 758）。
 * 修：标题行 64 高并垂直居中、标题行高 24；正文上下边 64/174；页脚内距 22/24.5/28；
 * status 单行 16；动作区 13 间隙；Clear 不再自带 margin-top。 */
#clone-plp-filter-dialog .clone-plp-drawer-head {
	height: 64px;
	padding: 0 16px;
}
#clone-plp-filter-dialog .clone-plp-drawer-title {
	line-height: 24px;
}
#clone-plp-filter-dialog .clone-plp-drawer-body {
	top: 64px;
	bottom: 174px;
}
#clone-plp-filter-dialog .clone-plp-drawer-foot {
	padding: 22px 24.5px 28px;
}
#clone-plp-filter-dialog .clone-plp-drawer-status {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin: 0 0 9px;
	line-height: 16px;
}
#clone-plp-filter-dialog .clone-plp-drawer-status span {
	display: inline;
}
#clone-plp-filter-dialog .clone-plp-drawer-actions {
	gap: 13px;
}
#clone-plp-filter-dialog .clone-plp-clear {
	margin-top: 0;
}

/* ---- 2. 分组行：标签 15.19/600、内距 16-20、行高 52、右侧 +/− ----------------------
 * 目标站（_probe_label.cjs，2026-11-27）：分组按钮 374x52、padding 16px 20px；**按钮自己**
 * 的 font-size 是 11px/400，但它只是一个外壳 —— 真正的标签是里层 DIV：15.19px / 600 /
 * letter-spacing 0.6076px / line-height 20px，box (21, 80, 314x20)。
 * 右侧是一个 20x20 的加号触面（x 335..355，由 12x2 横条 + 2x12 竖条画成；展开时只剩横条）。
 * 本克隆：374x45、标签 14px/600、padding 14px 16px，且没有右侧开合触面。
 * 教训写在这里：上一轮读的是按钮的 computed font-size（11px），把它当成标签字号会把组名
 * 缩成脚注大小 —— 见 §4 的更正记录。 */
#clone-plp-filter-dialog .clone-plp-accordion-header {
	padding: 16px 20px;
	min-height: 52px;
}
#clone-plp-filter-dialog .clone-plp-accordion-name {
	font-size: 15.19px;
	font-weight: 600;
	letter-spacing: 0.6076px;
	line-height: 20px;
}
#clone-plp-filter-dialog .clone-plp-accordion-header::after {
	content: '+';
	display: block;
	flex: 0 0 auto;
	margin-left: auto;
	width: 20px;
	text-align: center;
	font-size: 18px;
	font-weight: 400;
	line-height: 20px;
	color: #221D1D;
}
#clone-plp-filter-dialog .clone-plp-accordion-header[aria-expanded="true"]::after {
	content: '\2212';
}

/* ---- 3. 页脚两行文字的落位 --------------------------------------------------------
 * 目标站：status 在 (25,660,326x16) 且**左起**（_cap_f P1 / tgt-bras-panel-open.png），
 * Clear All 带下划线（同一张截图）；本克隆 status 居中、Clear All 无下划线。 */
#clone-plp-filter-dialog .clone-plp-drawer-status {
	text-align: left;
}
#clone-plp-filter-dialog .clone-plp-clear {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---- 4. 手机端不显示 LOAD MORE 控件 -----------------------------------------------
 * 目标站手机列表没有分页控件（spec.json `pagination`：0 个 [data-testid="loadMoreButton"]，
 * 滚到底自动追加 8→24→40），本克隆该分支渲染出 127.92x48 的按钮。
 * 保留控件在 DOM（它是本页已有的取批通道，plp-loadmore-inline.html 负责 fetch 与耗尽态），
 * 由 assets/js/clone-plp.js 的 mobileAutoLoadMore() 在接近底部时驱动；这里只把按钮和
 * 它的状态行从画面上收走。桌面 host 不带 data-clone-loadmore-auto，规则不匹配。 */
[data-clone-loadmore-host="mobile"][data-clone-loadmore-auto="1"] > [data-testid="loadMoreButton"],
[data-clone-loadmore-host="mobile"][data-clone-loadmore-auto="1"] > [data-clone-loadmore-status] {
	display: none;
}


/* M4-PDP-B */
/* ---------------------------------------------------------------------
 * M4-pdp-b — mobile PDP lower half: the sort sheet and shelf slide alignment.
 *
 * MEASURED (target 375x812 dpr2, mobile_pdp_b/_sort_probe.cjs + blocks.cjs, 2026-11-27):
 *   * sort: right-side sheet 300x812 at x=75, header `Sort By` 69 px tall, seven 48 px rows,
 *     a scrim over the page. The clone's captured menu is the desktop dropdown; clone-pdp.js
 *     moves it into this sheet on the mobile branch only (class `clone-sort-drawer`).
 *   * shelf slides: the captured carousel uses inline-block slides with the default baseline
 *     alignment; one shorter card then floats 107 px above its row and the section reads
 *     539.8 px where the target reads 432.5 px. `vertical-align: top` restores the single row
 *     (target box: heading 40 + 16 top margin + tallest card 376.5 = 432.5).
 * ------------------------------------------------------------------- */
.clone-sort-scrim {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1198;
}
.clone-sort-scrim[hidden] { display: none; }

.clone-sort-drawer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: auto;
	width: 300px;
	height: 100vh;
	max-height: 100vh;
	margin: 0;
	padding: 0;
	background: #fff;
	overflow-y: auto;
	z-index: 1199;
	display: block;
}
.clone-sort-drawer[hidden] { display: none; }

.clone-sort-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 69px;
	padding: 0 24px;
	list-style: none;
}
.clone-sort-drawer__title {
	font-family: PublicSans, Helvetica, Arial, sans-serif;
	font-size: 24px;
	line-height: 32px;
	font-weight: 700;
	letter-spacing: 0;
	color: #000;
}
.clone-sort-drawer__close {
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	background: none;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #000;
	cursor: pointer;
}
.clone-sort-drawer li[role="menuitem"] {
	display: block;
	height: 48px;
}
.clone-sort-drawer li[role="menuitem"] > button.prism-button.prism-button-plain {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	height: 48px;
	padding: 0 24px;
	font-family: PublicSans, Helvetica, Arial, sans-serif;
	font-size: 13.5px;
	line-height: 20px;
	letter-spacing: 1.08px;
	color: #4e3844;
	background: none;
	border: 0;
	text-align: left;
}
.clone-sort-drawer li[role="menuitem"] > button > span {
	font-weight: 400;
}
.clone-sort-drawer li[role="menuitem"] > button > span[data-clone-sort-cur="1"] {
	font-weight: 600;
}
body.clone-sort-lock { overflow: hidden; }

@media (max-width: 767px) {
	[data-testid="PairsPerfectlyWith"] .prism-carousel-slide,
	[data-testid="CustomersWhoAlsoViewed2"] .prism-carousel-slide,
	[data-testid="PickUpWhereYouLeft"] .prism-carousel-slide {
		vertical-align: top;
	}
}


/* ---- 5. 打开抽屉时所有分组都是收起的 -----------------------------------------------
 * 目标站（tgt-bras-panel-open.png / _cap_f P1）：打开时 10 个分组全部 aria-expanded="false"，
 * 右侧是 +，没有任何一组的选项先展开。本克隆打开时 Sort By 直接展开（面板的 [hidden] 被镜像
 * 规则上的 display 压住，与导航抽屉同一类问题）。补一条只作用于抽屉面板的状态规则。 */
#clone-plp-filter-dialog .clone-plp-panel[hidden] {
	display: none;
}

/* ===================================================================================
 * T5-NAVBAR-DRAWER —— 本轮（配饰/服装/美妆商品页常驻条、手机抽屉 8 条、手机颜色组标题）
 * 只写本轮实测差值支撑的那一条样式：颜色组标题行里「| <颜色名>」的左距。
 *
 * 采：目标站手机详情页 390x844 dpr1、iPhone UA（本文件上方 §F 的 62px 来自另一种形态：
 *     当时那一组的族名被视觉隐藏，可见文字只有「| 颜色名」，于是用 62px 把文字推到族名该在
 *     的横向位置）。本轮同一页实测：族名可见（`legend > span:first-of-type`，12px/400/
 *     #605858/ls .48/lh 20，x=150），「| 颜色名」紧随其后（12px/600/#221D1D，x=212，
 *     margin-left: 0px），整条 legend 宽 140 = 62 + 78。
 * 本：克隆同一商品（?pdp=1&pid=11262797|7XH2&branch=mobile）族名 x=150 宽 62 一致，
 *     「| 颜色名」因继承 §F 的 62px 落在 x=274，legend 宽 202 —— 62px 的差。
 *
 * 不用 !important：与 §F 的选择器同权重，写在后面即生效；作用域仍落在手机详情页的颜色组内。
 * ================================================================================== */
html[data-clone-branch="mobile"] [data-clone-color-group] [data-testid="SelectedChoiceLabel"] {
	margin-left: 0;
}

/* T5-COLOR-GROUPS */
/* ===================================================================================
 * T5-COLOR-GROUPS —— 本轮（颜色分组按目标 `selectors.choice` 对齐：10 组 / 75 颗）
 *
 * 本节 0 条规则，理由是实测：把「无标题分组」的整行 label（`<fieldset><legend>…`）摘掉之后，
 * 颜色区里没有任何一处几何需要 CSS 补偿。数值（克隆本站，`?pdp=1&pid=<pid>&branch=mobile`，
 * 390x844 dpr1，iPhone UA；读数 `runtime/docs/selfcheck/t5cg/color_groups_mobile_after.json`）：
 *
 *  a) 被摘掉的这一行本身就是 20px 高（legend 10.668px/16，#605858，x=20），组内 radiogroup
 *     的 `margin-top: 4.008px` 与 `margin-bottom: 6.012px` 是捕获值，摘标不改变它们——
 *     所以「无标题组」的高度 = 有标题组 − 24px（71IB：48 vs 72），组与组之间的 6px 间距不变。
 *  b) 唯一一个上边界可疑的量是色卡盒的 10px 上溢出：card 盒 y=812，组盒 y=822。这个 −10px
 *     不是本轮引入的，也不能靠 CSS 修——同一页有标题的组逐字相同（7XH2：card y=805，父盒
 *     y=815），它是捕获单元的 card 上内边距（`padding-top: 12px`）在 flex 行里的固有偏移。
 *  c) 更要紧的是**可见**几何：色卡圆点的盒在 71IB 是 y=824，而颜色块顶是 822——圆点在块内，
 *     没有压到上方价格块，所以这里**不写**补偿规则。若将来有人为了「看起来松一点」给无标题组
 *     加 padding/margin，请先拿目标站同一分组的读数来支撑，否则就是自造间距。
 *
 * 本轮不改上方的 §F / T5-NAVBAR-DRAWER 两条已有规则：手机端选中组的 legend 文案仍是
 * `<族名> | <颜色名>`（7XH2 实测 `Lace Trim | Blue Orchid`，71IB 空组名时整条 legend 不印）。
 * ================================================================================== */
/* ==================================================================================
 * T3-PHOTOS-CAP10 —— 评价晒图每款最多 10 张 / 评论 30 条（本轮）
 *
 * 为什么这一节只有一条规则：数量上限是数据侧的事（`derived/review_photos_cap10.jsonl`
 * 每款 <= 10 张，`pdp.php` 再用 `array_slice(..., 0, 10)` 守一遍），滑轨宽度是
 * `130 px × 片数`（朋友机实测 10 片 = 1300 px，内存在 `data-clone-photos-shown`），
 * 所以没有一处几何需要补偿。只剩一个真问题：灯箱缩略轨在 10 张时
 * 比面板正文宽（85×10 + 20×9 = 1050 px），而 `.clone-rv-modal__thumbs` 是 flex 容器，
 * 没有下限时会被 flex 强制压缩到容器宽度（每张图被抽瘦），所以要把
 * 它的自身宽度固定为内容宽，让 `translate3d` 真正发生作用。这条规则只落在
 * 本 run 自建的 `clone-rv-*` 节点上（目标站那块的类名未捕获），**不覆盖任何镜像规则**，
 * 本文件也不新增一条 `!important`。
 * ================================================================================== */
.clone-rv-modal__thumbs {
	flex: 0 0 auto;
	min-width: -moz-max-content;
	min-width: max-content;
}

/* ==================================================================================
 * T3-FACETS-API —— 抽屉的组与选项改成「接口驱动」之后，视觉上唯一需要补的一处
 *
 * 这一轮改的是**数据来源**（`/filters/v23` + `/collectionheaders/v9`），不是几何：组与选项
 * 的盒子仍由上面 T3-FILTER-SORT 那一节的实测规则给（选项行 min-height、尺码 2 列网格、
 * 星级行、页脚 24.5px 内缩），本节**不重写任何一条**，也不新增 `!important`。
 *
 * 接口比旧清单多带一个 `isAvailable`（会随已选条件重算）。目标站的做法是把不可选的行留在
 * 面板里、只是变灰，所以这里也只做「变灰」：行本身仍然渲染、仍然可点——目标站的库存状态不是
 * 本地库的库存状态，把行做成不可交互会把一个接口提示当成本地事实，所以**不写** aria-disabled，
 * 只落 `data-clone-available="0"` 这一个数据标记。
 * 灰值取同文件 `[aria-disabled="true"]` 已在用的 #A8A29D，不新增色值。
 *
 * 尺寸组在 `bras` 有 102 个选项（接口原文），抽屉正文本来就是 `overflow-y: auto`
 * （见 `#clone-plp-filter-dialog .clone-plp-drawer-body`），所以这里**不加**嵌套滚动条：
 * 目标站同一个面板也是正文滚，加第二层滚动会改掉滚动手感。
 * ================================================================================== */
#clone-plp-filter-dialog .clone-plp-option[data-clone-available="0"] {
	color: #A8A29D;
}

#clone-plp-filter-dialog .clone-plp-option[data-clone-available="0"] .clone-plp-option-label {
	text-decoration: line-through;
	text-decoration-color: #D8D3CE;
}

#clone-plp-filter-dialog .clone-plp-star[data-clone-available="0"] .clone-plp-star-glyphs {
	color: #C9C3BE;
}

/* ==================================================================================
 * T3-FACET-MEMBERSHIP —— 七个「点了不算」的组变成真过滤，本文件只登记它带来的**唯一**处
 * 可见变化，不重写任何一条几何
 *
 * 本轮改的是**哪一层回答一个组**：`subclass` / `category` / `sale` / `subbrand` /
 * `lininglevel` / `class` / `fabricfamily` 以前没有本地列，选项照画、勾了不算；现在它们由
 * 接口自己采回来的成员表回答（`template-parts/plp-facet-membership-<route>.json`，
 * 见 `plp.php` 的 T3-FACET-MEMBERSHIP 段）。面板的组、行、字、间距**一个都没动**：选项行
 * 仍是上面 T3-FILTER-SORT 那一节的实测盒子（行高、尺码 2 列网格、星级行、页脚 24.5px 内缩），
 * 本节不新增 `!important`，也不覆盖任何镜像规则。
 *
 * 唯一一处可见变化，而且是对的：**已选 chip 的字色**。上面 §T3-FILTER-SORT 末尾那条
 * `.clone-plp-chip[data-clone-inert="1"] .clone-plp-chip-label { color: #6B6560; }` 是按
 * **值**判的，不是按组判的——所以一个以前 inert 的值（`subclass:Balconette`）以前在 chip 里
 * 是灰的，现在它真的过滤了，chip 就该是正文色。这条规则一个字都不用改：`plp.php` 现在给
 * chip 的 `evaluable` 是**逐值**算的（本地列，或成员表点名了这个值），灰/不灰自动跟着走。
 *
 * 两个新属性都是**只带事实、不带样式**的：
 *   `data-clone-capped="1"`  该选项的成员表顶到采集上限（limit=100），过滤结果是**下界**。
 *                            报告里逐项标注（`impl_facet_membership.md` 的 capped 列），
 *                            界面上不印「+」、不加角标、不改字色——目标站没有这个符号，
 *                            凭空加一个会把「这是下界」变成一个只有我们知道怎么读的记号。
 *   `data-clone-inert="1"`   从**组**下沉到**行**：成员表答不出的那一行（`lininglevel:Open Cup`
 *                            在 bras / lingerie 两处）仍是 inert，组本身不再是。这个标记本来
 *                            就没有任何样式（`patch.css` 全文只有 chip 一条按它取色），
 *                            所以下沉不改变任何一个盒子的画法。
 *
 * 因此本节没有规则要写，只把这三条契约固定下来，供下一个改这个面板的人对照：
 * 一行是「下界」、一行是「不过滤」、一个 chip 是「真的在过滤」——三者都只由属性表达。
 * ================================================================================== */
.clone-plp-option[data-clone-inert="1"],
.clone-plp-option[data-clone-capped="1"],
.clone-plp-chip[data-clone-capped="1"] {
	/* 故意留空：这三个标记不改任何一处画出来的东西。若将来有人要在这里加样式，
	 * 先证明目标站同一个状态有对应读数，否则就是把我们的内部记号画到了复刻面上。 */
}

/* ==================================================================================
 * T3-HOME-CMS — 首页内容块改由 CMS 接口驱动（本轮新增的唯一样式小节）
 * ==================================================================================
 * 这一节只有一条规则，理由只有一条：hero 的文案颜色跟着 CMS 的这条创作走了
 * （`build_home.py::HERO_CMS_COPY_COLOR`，实测自今日 hero：五个 copy 类全是
 * `rgb(255,255,255)`），而 hero 里那行 "+ Free Shipping on $50+ Orders" 是复刻侧
 * 自己的块（`.clone-freeship-hero`），它的 `color: inherit` 继承的是面板容器的
 * 深色 `color`，不是那五个被写成白色的节点 —— 于是它在黑色文案带上是深灰、几乎看不见。
 * 这一条只把该块的颜色对齐同一条创作，不改字号、行高、字距、位置中的任何一项
 * （那些仍由上面 `.clone-freeship-hero` 的捕捉读数决定）。
 *
 * 作用域：只挂在被 CMS 绑定标记过的第 0 块上（`[data-cms-index="0"]`，由
 * `build_home.py::apply_cms_blocks` 写入），所以它只可能命中首页 hero，别的页面
 * 既没有这个属性、也没有这个块。没有 `!important`。
 *
 * 货架的单行轨道不在这里：它由 `build_home.py::fill_trending_cards` 写在
 * `product-feed-slide-wrapper` 的行内（捕捉期的那份几何是目标站按 12 张烘死的，
 * 按接口返回的条数重算属于构建期的事，不是一条样式规则能回答的）。
 * ---------------------------------------------------------------------------------- */
[data-cms-index="0"] .clone-freeship-hero {
	color: #FFFFFF;
}

/* ==================================================================================
 * T3-MINIBAG — 商品页点 ADD TO BAG 后右侧滑出的小购物袋（电脑端）
 *
 * 全部读数来自 runtime/docs/captured/minibag/spec.json（1440×900 dpr1，US 出口，真 Chrome）：
 *   容器  fixed / top 47 / right 41（右边缘 1399）/ 515×650 / #FFF / radius 0 / 无阴影 /
 *         overflow-y auto（内容 713.1，可滚 63.1）
 *   遮罩  fixed inset 0 / rgba(0,0,0,.5) / 无 backdrop-filter
 *   动画  无（第一帧即终态：transform none、opacity 1，getAnimations() 0 条）
 *   头部  无可见标题，只有 1×1 的视觉隐藏 h2（"… is added to the shopping bag"）
 *   商品行 缩略块 100×133 / bg #EFECEA / margin-right 12；标题 12px 400 ls.48 lh20 / #221D1D；
 *         货号行 10.67px / #605858；价格 10.67px 右上；Qty: 10.67px
 *   金额  上下 1px #F5F5F6 分隔线、padding 4px 0、margin 4px 0；小计值 #AF5071
 *   CTA   CONTINUE SHOPPING 326.38×48（白底/1px #4E3844/r2/15.19px 600/ls 1.215）+
 *         CHECK OUT 156.63×48（#F4C6CF/r3/13.5px 600/ls 1.08），间距 8，padding 12px 0
 *   推荐  标题 15.19px 700 uppercase；箭头 30×54 #F4EBDD 垂直居中
 *         （卡本身来自我方 FBT 货架：T5-minibag-rework，见文件末尾同名小节）
 *
 * T5-MINIBAG-REWORK 删除的自造件（目标站没有这些，本轮按"只保留官网上有的元素"移除）：
 *   .clone-mb__close —— 关闭按钮（目标站无关闭件：点遮罩 / ESC / CONTINUE SHOPPING 关）
 *   .clone-mb__tools —— 行内数量 −/+ 与 Remove（目标站那行只有 `Qty: 1` 文本，抽屉内共 3 个按钮）
 * 关闭路径仍是三条：遮罩点击、ESC、CONTINUE SHOPPING（只关抽屉，不跳转）。
 * ================================================================================== */
.clone-mb[hidden] {
	display: none;
}

.clone-mb {
	position: fixed;
	inset: 0;
	z-index: 157;
}

.clone-mb__scrim {
	position: fixed;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.5);
}

.clone-mb__panel {
	position: fixed;
	top: 47px;
	right: 41px;
	width: 515px;
	height: 650px;
	max-height: 650px;
	background-color: #FFFFFF;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	overflow-y: auto;
	outline: none;
}

.clone-mb__article {
	padding: 12px;
}

.clone-mb .clone-mb__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.clone-mb .clone-mb__sr-h {
	margin: 0;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.96px;
	line-height: 20px;
	color: #221D1D;
}

/* ---- 商品行 ------------------------------------------------------------------- */
.clone-mb__row {
	display: flex;
	padding: 0 0 12px;
}

.clone-mb__thumb {
	position: relative;
	flex: 0 0 100px;
	width: 100px;
	height: 133px;
	margin-right: 12px;
	background-color: #EFECEA;
	overflow: hidden;
}

.clone-mb__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.clone-mb__info {
	flex: 0 1 249px;
	min-width: 0;
}

.clone-mb .clone-mb__article .clone-mb__title {
	margin: 0;
	font-size: 12px;
	font-weight: 400;
	line-height: 20px;
	letter-spacing: 0.48px;
	color: #221D1D;
}

.clone-mb__id {
	margin: 4px 0 0;
	font-size: 10.67px;
	line-height: 16px;
	letter-spacing: 0.427px;
}

.clone-mb__variant {
	margin: 0;
	font-size: 10.67px;
	line-height: 16px;
	letter-spacing: 0.427px;
	color: #221D1D;
}

.clone-mb__dim {
	color: #605858;
	font-size: 10.67px;
	line-height: 16px;
	letter-spacing: 0.427px;
}

.clone-mb__label {
	display: inline-block;
	min-width: 45px;
}

.clone-mb__price {
	flex: 0 0 95px;
	width: 95px;
	margin-left: auto;
	text-align: right;
	font-size: 10.67px;
	line-height: 16px;
	letter-spacing: 0.427px;
}

.clone-mb__price p {
	margin: 0;
}

.clone-mb__price p + p {
	margin-top: 3px;
}

.clone-mb__amount {
	font-size: 10.67px;
	letter-spacing: 0.427px;
	color: #221D1D;
}

/* ---- 金额 --------------------------------------------------------------------- */
.clone-mb__subtotal {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 4px 0;
	padding: 4px 0;
	border-top: 1px solid #F5F5F6;
	border-bottom: 1px solid #F5F5F6;
	font-size: 10.67px;
	line-height: 17px;
	letter-spacing: 0.427px;
}

.clone-mb__count {
	color: #221D1D;
}

.clone-mb__subtotal p {
	margin: 0;
	color: #221D1D;
}

.clone-mb__subtotal-value {
	color: #AF5071;
}

/* ---- CTA --------------------------------------------------------------------- */
.clone-mb__ctas {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	padding: 12px 0;
}

.clone-mb__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	text-decoration: none;
	font-weight: 600;
	text-align: center;
}

.clone-mb__cta--continue {
	flex: 1 1 auto;
	background-color: #FFFFFF;
	border: 1px solid #4E3844;
	border-radius: 2px;
	color: #4E3844;
	font-size: 15.19px;
	letter-spacing: 1.215px;
	padding: 14px 24px;
}

.clone-mb__cta--checkout {
	flex: 0 0 156.63px;
	width: 156.63px;
	background-color: #F4C6CF;
	border: 1px solid #F4C6CF;
	border-radius: 3px;
	color: #4E3844;
	font-size: 13.5px;
	letter-spacing: 1.08px;
}

/* ---- 推荐区 ------------------------------------------------------------------- */
.clone-mb .clone-mb__article .clone-mb__recs-title {
	margin: 12px 0 0;
	padding: 12px 0 8px;
	font-size: 15.19px;
	font-weight: 700;
	line-height: 20px;
	letter-spacing: 0.608px;
	text-transform: uppercase;
	color: #000000;
}

.clone-mb__recs {
	position: relative;
}

.clone-mb__recs-row {
	display: flex;
	overflow-x: auto;
	scrollbar-width: none;
	scroll-snap-type: x mandatory;
}

.clone-mb__recs-row::-webkit-scrollbar {
	display: none;
}


.clone-mb__recs-next {
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	width: 30px;
	height: 54px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #F4EBDD;
	border: 0;
	border-radius: 0;
	color: #221D1D;
	cursor: pointer;
	padding: 0;
}


/* ---- data-clone-inferred: 空态（目标站抽屉无法删行，故无此态） -------------------- */
.clone-mb__empty {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	padding: 12px 0 8px;
}

.clone-mb .clone-mb__article .clone-mb__empty-title {
	margin: 0;
	font-size: 15.19px;
	font-weight: 700;
	line-height: 20px;
	letter-spacing: 0.608px;
	color: #221D1D;
}

.clone-mb__empty .clone-mb__cta {
	width: 100%;
}

/* ==================================================================================
 * T5-MINIBAG-REWORK — 按官网重做：尺码区 + 加购抽屉
 *
 * 读数来源：runtime/docs/captured/minibag/rework_spec.json 与同目录 _t5_r2-*.json
 * （1440×900 dpr1、US 出口 http://127.0.0.1:10808、真 Chrome，本轮逐元素重采）
 *
 *   尺码区  容器 413px / gap 8.004px / 一行排布；chip div 36×36（XXL 45×36）
 *           标题  两组各 20px 高：`Size` 与 `Length` 是 11px/400 ls.44 #221D1D 的第一个 span，
 *                 值在第二个 span 里（`Size L` / `Length Short`，两个兄弟节点，从不拼字符串）
 *           内层 span  36×36 / padding 0 8.004px / 1px solid #E0DAD5 / radius 0 /
 *                      overflow visible / 12px 400 ls.48 #221D1D；chip 内只有这一个 span
 *           选中  同一个 span：border-color #221D1D + background #F9F8F9 + font-weight 600
 *                 目标站没有下划线、没有贯穿横线、没有嵌套控件/伪元素装饰
 *
 *   抽屉  515×650 / right 41 / #FFF / radius 0 / 无阴影；遮罩全屏 rgba(0,0,0,.5)
 *          masthead 在遮罩之上，抽屉从 masthead 下沿起算（见下面的 --clone-mb-top）
 *          行内只有：缩略图 / 标题 / 货号 / Color: / Size: / 价格 / `Qty: N`
 *          —— 没有加减控件、没有 Remove、没有关闭件（关闭 = 遮罩 / ESC / CONTINUE SHOPPING）
 * ================================================================================== */

/* ---- 1. 尺码区：一组合一个读数点，选中态照抄官网 -------------------------------- */
/* 目标站的 chip 内层 span 自带 4 个类的规则（`.bUmzFF.bUmzFF.bUmzFF.bUmzFF`，特异性 0,4,0），
   所以本轮的规则要压过它就必须同样带类名；不用 !important。 */
[role="radio"][data-clone-size-group][data-clone-selected="1"] > span.sc-1xudubc-0.sc-1xudubc-0 {
	border: 1px solid #221D1D;
	background-color: #F9F8F9;
	font-weight: 600;
}

/* 目标站可用尺码的 chip 上没有贯穿线：捕捉样式的斜线伪元素本身是 `opacity:0`，
   我方上一轮误加在 chip 上的 `box-shadow` 内描边（D-PDP-02）与 span 自己的边框错开 16px，
   看起来就是"方框 + 中间一条横线" —— 那条规则已删除（见 174 行一带的说明）。 */
[role="radio"][data-clone-size-group] > span::before,
[role="radio"][data-clone-size-group] > span::after {
	content: none;
}

/* ---- 2. 抽屉的竖向起点：从 masthead 下沿开始，永远不压住 masthead ------------------- */
/* `--clone-mb-top` 由 clone-pdp.js 在打开时按固定 masthead 品牌栏的真实下沿写入；
   没有该变量（无 masthead / 已滚过）时保持捕捉到的 47px。 */
.clone-mb__panel {
	top: var(--clone-mb-top, 47px);
	max-height: min(650px, calc(100vh - var(--clone-mb-top, 47px)));
}

/* 抽屉打开时 masthead 品牌栏抬到遮罩（.clone-mb z-157）之上：购物袋图标保持可见、
   不被 50% 黑遮罩压暗。品牌栏自带不透明底色 #F9F8F9，抬高层级后仍是实色一条。
   注意特异性：捕捉样式里那一条是 `.ivKpel.ivKpel.ivKpel.ivKpel{z-index:142}`（0,4,0），
   类名重复四次才压得住它；这里同样重复，且不用 !important。 */
html[data-clone-mb-open="1"] nav.react-masthead-brandbar.react-masthead-brandbar.react-masthead-brandbar {
	position: fixed;
	z-index: 158;
}

/* ---- 3. CTA 现在是真的 button（官网也是 button），只补 UA 默认值 ------------------- */
button.clone-mb__cta {
	font-family: inherit;
	cursor: pointer;
}

/* ---- 4. 推荐区：复用我方 FBT 货架的卡（同一 recslide 单元、同一套类名） ------------- */
.clone-mb__recs-row > .slick-slide {
	flex: 0 0 auto;
	scroll-snap-align: start;
}

.clone-mb__recs-row > .slick-slide > div {
	height: 100%;
}

/* ==================================================================================
 * T3-MINIBAG-MOBILE-2 — 手机端加购袋（375×812 dpr2、iPhone UA、LA 出口，本轮实测）
 *
 * 读数来源：runtime/docs/captured/minibag/mobile_rework_spec.json
 *           （样本 5000000360 / 我方 11274459|7URA，官网手机端逐项实测；截图 shots/mob2/）
 *
 * 形态（实测，非推断）：
 *   容器   面板 fixed 0,0 375×812 / #FFF / radius 0 / 无阴影 / overflow-y auto / scrollHeight 1512
 *   遮罩   无（整屏不透明 sheet，页面上没有任何半透明遮罩节点；body 下唯一同级容器是 0×0 的
 *          `section.dialog-container`，z-index 1001）
 *   动画   无（面板 transition-duration 0s、transform none、opacity 1，首帧即整屏；子树 0 个动画）
 *   头部   60px 高 / padding 20 / 下边框 1px #E0DAD5 / h2 `1 Item Added to Bag` 15.192px 400
 *          lh20 ls.60768 #221D1D / 右侧 40×40 关闭件（prism-icon-close，图形 22×22）
 *   正文   article padding 20
 *   行     缩略图 75×100（+4 右间距）/ 标题 12px 400 lh20 ls.48 / 货号 10.668px #605858 /
 *          `Color:` `Size:` `Qty: 1` 10.668px lh16 ls.42672（标签 #605858，min-width 45）/
 *          价格 10.668px #221D1D，落在 Qty 之下、与文案列同缩进（x=99）
 *   金额   .sub-total 27 高：`N Items in Your Bag` + `Subtotal $x`（与电脑端同一组件）
 *   CTA    只有一个：CHECK OUT 335×48 / #F4C6CF / #4E3844 / radius 3 / 13.5px 600 ls1.08
 *          （官网手机端没有 CONTINUE SHOPPING）
 *   FBT    标题 `Frequently Bought Together`（CSS 转大写）10.668px 700 ls1.70688
 *          padding 20.004/20.004/8.004；卡片 167.5×344.8，两列一屏 2 张，没有箭头
 *
 * 与官网不同的两处，都是本项目的硬规则（不是读数丢失）：
 *   1. 面板从 masthead 下沿起算（官网手机端整屏 0..812，把自己 sticky 的购物袋图标压住）；
 *      我方 `--clone-mb-top` 由 clone-pdp.js 按品牌栏真实下沿写入，图标必须可见。
 *   2. 面板以外不留透明挡板：root 用 pointer-events:none，只有面板自己接收点击，
 *      masthead 上的图标照常可点。
 *
 * 复用的是电脑端同一个组件：行 / 金额 / 推荐卡（我方 FBT 货架 recslide 单元）与
 * `?pdp=1&pid=…&clone_mb=…` 端点、WC()->cart 读写全部不动，这里只调布局参数。
 * ================================================================================== */

/* ---- 0. 面板与根节点：手机是整屏 sheet，且不压 masthead -------------------------- */
.clone-mb[data-clone-mb-branch="mobile"] {
	pointer-events: none;
}

.clone-mb[data-clone-mb-branch="mobile"] .clone-mb__panel {
	pointer-events: auto;
	position: fixed;
	top: var(--clone-mb-top, 0px);
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: auto;
	max-height: none;
	background-color: #FFFFFF;
	border-radius: 0;
	box-shadow: none;
	overflow-y: auto;
}

/* 官网手机端的 masthead 是 sticky 的一条（0..48 的 utility nav），整屏 sheet 把它压住；
   我方手机品牌的 masthead 是文档流里的一段（375×136）。抽屉打开时不做“抬到遮罩之上”的
   固定化（那是电脑端 515px 抽屉的做法）：固定化会让这条 136px 的品牌栏盖住 sheet 自己的
   头部与关闭件。类名重复三次才压得过上面那条 (0,4,0) 的电脑端规则。 */
html[data-clone-branch="mobile"][data-clone-mb-open="1"] nav.react-masthead-brandbar.react-masthead-brandbar.react-masthead-brandbar {
	position: static;
	z-index: auto;
}

/* ---- 1. 头部：`N Item Added to Bag` + 40×40 关闭件 ------------------------------- */
.clone-mb[data-clone-mb-branch="mobile"] .clone-mb__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 60px;
	padding: 20px;
	box-sizing: border-box;
	border-bottom: 1px solid #E0DAD5;
	background-color: #FFFFFF;
}

.clone-mb[data-clone-mb-branch="mobile"] .clone-mb__bar-h {
	margin: 0;
	font-size: 15.192px;
	font-weight: 400;
	line-height: 20px;
	letter-spacing: 0.60768px;
	color: #221D1D;
}

.clone-mb[data-clone-mb-branch="mobile"] .clone-mb__close {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	background-color: transparent;
	border: 0;
	border-radius: 0;
	color: #221D1D;
	cursor: pointer;
}

.clone-mb[data-clone-mb-branch="mobile"] .clone-mb__close svg {
	display: block;
	width: 40px;
	height: 40px;
}

/* ---- 2. 正文与商品行：官网手机端的行是“缩略图 + 文案列 + 价格落到文案列下方” ------ */
.clone-mb[data-clone-mb-branch="mobile"] .clone-mb__article {
	padding: 20px;
}

/* 行按官网的“缩略图 + 文案列”两列排：缩略图 75×100（+4 右间距），`Qty:` 与价格落在文案列
   的最后两行（官网里这两行在 `Size:` 之下、同一左沿 x=99）。用 grid 而不是换行，是因为
   `Price` 块在标记里是行的第三个孩子，flex-wrap 会把它推到缩略图下方、空出 30px 的断层。 */
.clone-mb[data-clone-mb-branch="mobile"] .clone-mb__row {
	display: grid;
	grid-template-columns: 79px minmax(0, 1fr);
	padding: 12px 0;
}

.clone-mb[data-clone-mb-branch="mobile"] .clone-mb__thumb {
	grid-column: 1;
	grid-row: 1;
	width: 75px;
	height: 100px;
	margin: 0;
}

.clone-mb[data-clone-mb-branch="mobile"] .clone-mb__info {
	grid-column: 2;
	grid-row: 1;
	flex: none;
	width: auto;
	min-width: 0;
}

.clone-mb[data-clone-mb-branch="mobile"] .clone-mb__id {
	color: #605858;
}

.clone-mb[data-clone-mb-branch="mobile"] .clone-mb__price {
	grid-column: 2;
	grid-row: 2;
	flex: none;
	width: auto;
	margin: 4px 0 0;
	text-align: left;
	display: flex;
	flex-direction: column-reverse;
}

/* 官网手机端那行是 `Qty: 1` 在上、价格在下（10.668px / 行高 12）；价格块本身不额外撑高 */
.clone-mb[data-clone-mb-branch="mobile"] .clone-mb__price p + p {
	margin-top: 2px;
}

.clone-mb[data-clone-mb-branch="mobile"] .clone-mb__amount {
	line-height: 12px;
}

/* ---- 3. CTA：手机端只有 CHECK OUT，整行宽 -------------------------------------- */
.clone-mb[data-clone-mb-branch="mobile"] .clone-mb__ctas {
	display: block;
	padding: 12px 0;
}

.clone-mb[data-clone-mb-branch="mobile"] .clone-mb__cta--checkout {
	display: flex;
	width: 100%;
	flex: none;
}

/* ---- 4. 推荐区：同一批卡（我方 FBT 货架 recslide），手机端排成两列网格 ------------ */
.clone-mb[data-clone-mb-branch="mobile"] .clone-mb__recs-title {
	margin: 0;
	padding: 20.004px 20.004px 8.004px;
	font-size: 10.668px;
	font-weight: 700;
	line-height: 16px;
	letter-spacing: 1.70688px;
	text-transform: uppercase;
	color: #000000;
}

.clone-mb[data-clone-mb-branch="mobile"] .clone-mb__recs-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	overflow-x: visible;
	scroll-snap-type: none;
	padding: 0 0 15px;
}

.clone-mb[data-clone-mb-branch="mobile"] .clone-mb__recs-row > .slick-slide {
	flex: none;
	width: auto;
	min-width: 0;
	scroll-snap-align: none;
}

/* 手机分支的货架滑片单元是捕获到的 `prism-carousel-slide`（不是电脑端的 `slick-slide`），
   它自带一条按“一屏几张”算宽度的类规则（实测在抽屉里读到 75.4px）。抽屉里改成占满格宽：
   重复类名三次把特异性抬到 0,6,0，不借助感叹号强制。 */
.clone-mb[data-clone-mb-branch="mobile"] .clone-mb__recs-row > .prism-carousel-slide.prism-carousel-slide.prism-carousel-slide {
	width: 100%;
	max-width: none;
}

/* 官网手机端的推荐区没有翻页箭头（两列一屏就是全部可滚区域之外的静态网格） */
.clone-mb[data-clone-mb-branch="mobile"] .clone-mb__recs-next {
	display: none;
}

/* ==================================================================================
 * T3-CHECKOUT-SHIP-GIFT — 结账页三块：单一运输选项 + 礼品选项 + 账单地址单选
 *
 * 只写“我们没有的几何”，捕获件已有的类不管：运输行的盒子、礼品两行的盒子、两个单选
 * 的盒子全部来自捕获件自己的类（`.sc-94vnef-*` / `.sc-11o9pzy-*` / `.sc-oh7x0e-0`），
 * 本节只补三类节点：
 *   1. `.clone-billing-fields` —— 构建器从捕获的“收货地址”表单克隆出来的账单地址字段组
 *      （捕获件没有账单表单，见 impl_checkout_ship_gift.md 的推断表）。默认 hidden；
 *      选中 `Add New Billing Address` 由 clone-checkout.js 去掉 hidden。
 *   2. 礼品包装费用行 `[data-clone-gift-wrap-row]` —— JS 克隆 `Shipping` 行得到，类名与
 *      行距沿用捕获行，故本节不给它任何几何规则，只声明它的显示态。
 *   3. 未加载JS时的兜底：账单字段组保持捕获态的隐藏（服务端已写 hidden，此处只是把
 *      “hidden 必须赢过 display”这件事写成规则，避免将来给 .clone-billing-fields 加
 *      display 后 hidden 失效）。
 *
 * 无 `!important`：全部是本项目自己的类，特异性足够。
 * ================================================================================== */
.clone-billing-fields {
	display: block;
	width: 100%;
}

/* `hidden` 是浏览器默认的 display:none，但一旦上面的规则给了 display，属性选择器必须自己
   赢回来（同一元素、同一层级，0,2,0 > 0,1,0）。 */
.clone-billing-fields[hidden] {
	display: none;
}

/* 账单字段组内部仍是捕获的 `prism-layout-item-flex`，在块级容器里会按 flex 项目解释宽度；
   这里把它钉回 100%，与捕获表单里“每个字段行各占一行”的观感一致。 */
.clone-billing-fields > .prism-layout-item-flex {
	width: 100%;
	max-width: 100%;
}

/* ==================================================================================
 * T3-BAG-FREESHIP — the bag's free-ship tracker (免邮进度横幅), desktop + phone.
 *
 * Source: runtime/docs/captured/bag_freeship/spec.json — measured on the TARGET bag
 * (`/us/checkout/bag`) in five cart states at both viewports, 2026-11-27.
 *
 *   node                       desktop (1440x900)                    phone (375x812)
 *   container                  348 x 64, #F9F8F9, radius 4,          295 x 64, same paint
 *                              padding 0 16px under / 0 8px full
 *   icon                       32 x 22 (sprite #free-ship, 36:25), gap 8 to the copy column
 *   copy (under)               "You're $43.70 away from free shipping." 11px/400 ls .44,
 *                              the amount span 12px/600 ls .48
 *   copy (full)                "Congrats! You get free standard shipping." 12px/400 ls .48
 *   meter row                  $0 · bar (80% wide, 8px side padding) · $50, labels 11px/400
 *   track                      4px, #E8E3DF
 *   fill                       the percentage floor(min(subtotal/50,1)*100), 6px, #8CC24A, radius 6
 *
 * The paint and the type scale are IDENTICAL on both branches; only the container's width
 * differs, and it comes from the captured wrapper the banner is inserted into (348 desktop /
 * 295 phone), not from a rule here.
 *
 * Scoped: every selector is a `clone-fstracker*` class, so no mirrored rule can match, and there
 * is no `!important` anywhere. The state-dependent padding is the capture's own difference
 * between the two states (`0 16.008px` under / `0 8.004px` full, both measured).
 * ================================================================================== */

.clone-fstracker {
	box-sizing: border-box;
	width: 100%;
	height: 64px;
	display: flex;
	flex-direction: row;
	align-items: stretch;
	padding: 0 16px;
	border: 0;
	border-radius: 4px;
	background: #F9F8F9;
	color: #221D1D;
	font-family: PublicSans, Helvetica, Arial, sans-serif;
	font-size: 11px;
	line-height: 20px;
	letter-spacing: 0.44px;
	text-align: left;
}

/* the capture changes the container's side padding once the threshold is met */
.clone-fstracker[data-clone-fstracker-state="full"] {
	padding: 0 8px;
}

.clone-fstracker__row {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 8px;
	width: 100%;
}

.clone-fstracker__icon {
	display: block;
	flex: 0 0 auto;
	height: 22px;
	color: #221D1D;
}

/* the box is 32 x 22 but the sprite's aspect is 36:25, so the DRAWN glyph is 22 x 36/25 = 31.68
   wide — which is the capture's own reading (31.67). Width follows the ratio, not the box. */
.clone-fstracker__icon svg {
	display: block;
	height: 100%;
	width: auto;
}

.clone-fstracker__body {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.clone-fstracker__copy {
	margin: 0;
	font-size: 11px;
	font-weight: 400;
	line-height: 20px;
	letter-spacing: 0.44px;
	color: #221D1D;
}

.clone-fstracker[data-clone-fstracker-state="full"] .clone-fstracker__copy {
	font-size: 12px;
	letter-spacing: 0.48px;
}

/* the one bold figure in the sentence — its own size, as the capture draws it */
.clone-fstracker__amount {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.48px;
}

.clone-fstracker__meter {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	height: 20px;
}

.clone-fstracker__label {
	flex: 0 0 auto;
	font-size: 11px;
	font-weight: 400;
	line-height: 17px;
	letter-spacing: 0.44px;
	color: #221D1D;
}

/* the bar keeps the capture's own 80% of the copy column; its inner padding is what leaves
   the labels clear of the track (measured: track = bar - 16px) */
.clone-fstracker__bar {
	position: relative;
	box-sizing: border-box;
	flex: 0 0 80%;
	width: 80%;
	height: 20px;
	padding: 0 8px;
	display: flex;
	align-items: center;
}

.clone-fstracker__track {
	position: relative;
	display: block;
	width: 100%;
	height: 4px;
	background: #E8E3DF;
}

/* the fill is 2px taller than its track and overhangs it by 1px top and bottom, exactly as the
   capture paints it (track y=345.89 h=4, fill y=344.89 h=6) */
.clone-fstracker__fill {
	position: absolute;
	left: 0;
	top: -1px;
	height: 6px;
	width: var(--clone-fstracker-fill, 0%);
	border-radius: 6px;
	background: #8CC24A;
}

/* the progressbar's accessible label: the capture's own hidden `free shipping` heading, kept
   for the role's aria-labelledby rather than painted (it is clipped in the capture too) */
.clone-fstracker__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

/* =====================================================================================
 * T3-TAX-ENGINE — the ONE geometry this feature needs, and why it needs it.
 *
 * The `Sales Tax (Based on zip code 90060)` row itself needs NO css: the captured markup
 * already carries the inner `<span class="… cjGUPA prism-typography">` (white-space: normal,
 * weight 200) that the capture prints the parenthetical in, and the row's flex layout keeps the
 * amount on the label's line — measured on both branches, the row is 20px high with and without
 * a state, and the document never widens (1440/1440, 375/375).
 *
 * WHAT DOES need a rule is the ADDRESS STEP's `State *` select. The capture renders the state
 * component in its EMPTY variant (`<label class="… fprmQK …">`, `top:50%; translateY(-50%)`,
 * 12px/20px, no uppercase) because that session never chose a state, and the FILLED variant it
 * renders for `Location *` (`… eHreNo …`, `translateY(-120%)`, 0.79rem/12px, uppercase) is a
 * class React swaps in — a class this clone has no React to swap. So once a visitor picks a
 * state, the native select keeps the placeholder-positioned label and the chosen state's name
 * lands underneath it (measured: label 12px, translateY(-10px), text-transform none, i.e. the
 * capture's placeholder geometry, against the capture's own floated label at 9.48px,
 * translateY(-14.4px), uppercase).
 *
 * This rule reproduces the capture's OWN floated geometry, on the same element it uses, and
 * only while the select actually has a state chosen (the first option is `value=""` —
 * the placeholder — so an untouched field matches nothing and stays byte for byte as captured).
 * The `billing.region` twin is here because the billing group is the same component.
 * ===================================================================================== */
.prism-input-wrapper:has(> select:is([name="shipping.region"], [name="billing.region"]) > option:checked:not([value=""])) > .prism-input-floating-label {
	top: 50%;
	transform: translateY(-120%);
	font-feature-settings: "liga" 0;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizelegibility;
	white-space: nowrap;
	text-transform: uppercase;
	font-size: 0.79rem;
	line-height: 12px;
}

/* ==================================================================================
 * T3-CHECKOUT-UI — Available Offers 复选框块 / 礼品两项的展开面板 / 那句支付安全英文
 *
 * 本节的每一类节点都是“捕获件里没有、本轮需求新加”的，所以没有一条规则去改捕获件的几何：
 * 类名一律 `clone-offers*` / `clone-offer*` / `clone-gift-detail*` / `clone-secure-note`，
 * 与镜像表（`.sc-*` / `.prism-*`）不同名，特异性天然够用，**不使用强制优先声明**（感叹号写法一律不写）。
 *
 * 字级取自捕获件自己的排版标记（不是估的）：
 *   标题        = `.eluabQ`（节标题）：1.125rem / 600 / 行高 20 / 字距 .04em
 *   正文        = `.Gwjhi`：1rem / 400 / 行高 20 / 字距 .04em，色 #221D1D
 *   次要文案    = `.cjGUPA` / `.fNGrQM` 同一档：0.889rem，色 #605858
 *   链接式控件  = `.prism-button-plain` 的下划线观感：#4E3844 + underline
 *   输入框      = 捕获件表单输入的同款配色：#F9F8F9 底、#E0DAD5 边、#221D1D 字
 *   复选方框    = 捕获件 `.EYhsv` 那个 17x18 的框（边长与描边取同一读数）
 *
 * 位置：`.clone-offers` 由构建器写在支付方式列表 `</ul>` 之后（原支付方式的位置），
 * `.clone-gift-detail` 写在各自的复选框之后，`.clone-secure-note` 写在支付 CTA 之下。
 * ================================================================================== */
.clone-offers {
	flex: 1 1 100%;
	width: 100%;
	box-sizing: border-box;
	margin-top: 0.667rem;
	padding-top: 0.667rem;
	border-top: 1px solid #E0DAD5;
}

.clone-offers__title {
	margin: 0 0 0.667rem;
	color: inherit;
	font-feature-settings: "liga" 0;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizelegibility;
	font-weight: 600;
	font-family: PublicSans, Helvetica, Arial, sans-serif;
	font-size: 1.125rem;
	line-height: 20px;
	letter-spacing: 0.04em;
}

.clone-offers__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.clone-offer {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	column-gap: 0.667rem;
	padding: 0.334rem 0;
}

/* 未达门槛：整行置灰。`disabled` 由 clone-checkout.js 写在 input 上，这里只负责观感，
   两者是同一件事的两面——属性可读、颜色可见。 */
.clone-offer[data-clone-offer-state="locked"] {
	opacity: 0.45;
}

.clone-offer__label {
	display: flex;
	flex: 1 1 auto;
	align-items: flex-start;
	column-gap: 0.667rem;
	cursor: pointer;
	color: #221D1D;
	font-feature-settings: "liga" 0;
	-webkit-font-smoothing: antialiased;
	font-weight: 400;
	font-family: PublicSans, Helvetica, Arial, sans-serif;
	font-size: 1rem;
	line-height: 20px;
	letter-spacing: 0.04em;
}

.clone-offer[data-clone-offer-state="locked"] .clone-offer__label {
	cursor: not-allowed;
}

/* 原生 input 留在文档里（表单语义、键盘、读屏都要它），视觉上换成下面那个方框。 */
.clone-offer__input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.clone-offer__box {
	position: relative;
	box-sizing: border-box;
	flex: 0 0 auto;
	width: 17px;
	height: 18px;
	margin-top: 1px;
	border: 1px solid #958F8F;
	border-radius: 2px;
	background: #FFFFFF;
}

.clone-offer__input:checked + .clone-offer__box {
	border-color: #221D1D;
}

.clone-offer__input:checked + .clone-offer__box::after {
	content: "";
	position: absolute;
	left: 4px;
	top: 1px;
	width: 7px;
	height: 12px;
	border-right: 2px solid #221D1D;
	border-bottom: 2px solid #221D1D;
	transform: rotate(42deg);
}

.clone-offer__input:focus-visible + .clone-offer__box {
	outline: 2px solid #AF5071;
	outline-offset: 2px;
}

.clone-offer__text {
	flex: 1 1 auto;
}

.clone-offer__details {
	flex: 0 0 auto;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: #4E3844;
	font-feature-settings: "liga" 0;
	font-family: PublicSans, Helvetica, Arial, sans-serif;
	font-size: 0.889rem;
	line-height: 20px;
	letter-spacing: 0.04em;
	text-decoration: underline;
	cursor: pointer;
}

.clone-offer__details:hover {
	color: #7A6A73;
}

.clone-offer__desc {
	flex: 1 1 100%;
	margin: 0.334rem 0 0;
	color: #605858;
	font-feature-settings: "liga" 0;
	font-family: PublicSans, Helvetica, Arial, sans-serif;
	font-weight: 400;
	font-size: 0.889rem;
	line-height: 16px;
	letter-spacing: 0.04em;
}

.clone-offer__desc[hidden] {
	display: none;
}

.clone-offers__note:empty {
	display: none;
}

.clone-offers__note {
	margin: 0.334rem 0 0;
	color: #AF5071;
	font-family: PublicSans, Helvetica, Arial, sans-serif;
	font-size: 0.889rem;
	line-height: 16px;
	letter-spacing: 0.04em;
}

/* ---- 礼品两项的展开面板 ---------------------------------------------------------- */
.clone-gift-detail {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin: 0.334rem 0 1rem;
}

.clone-gift-detail[hidden] {
	display: none;
}

/* 说明文字在左，礼盒图在右；手机上图片按比例收窄，文字仍是主角。 */
.clone-gift-detail__row {
	display: flex;
	align-items: flex-start;
	column-gap: 1rem;
}

.clone-gift-detail__note {
	flex: 1 1 auto;
	margin: 0;
	color: #221D1D;
	font-feature-settings: "liga" 0;
	font-family: PublicSans, Helvetica, Arial, sans-serif;
	font-weight: 400;
	font-size: 0.889rem;
	line-height: 16px;
	letter-spacing: 0.04em;
}

.clone-gift-detail__img {
	flex: 0 0 auto;
	display: block;
	width: 236px;
	max-width: 44%;
	height: auto;
}

.clone-gift-detail__field {
	display: block;
	margin-top: 0.667rem;
}

.clone-gift-detail__label {
	display: block;
	margin-bottom: 0.334rem;
	color: #605858;
	font-family: PublicSans, Helvetica, Arial, sans-serif;
	font-weight: 400;
	font-size: 0.889rem;
	line-height: 16px;
	letter-spacing: 0.04em;
}

.clone-gift-detail__textarea {
	display: block;
	box-sizing: border-box;
	width: 100%;
	min-height: 72px;
	padding: 0.667rem;
	border: 1px solid #E0DAD5;
	border-radius: 2px;
	background: #F9F8F9;
	color: #221D1D;
	font-family: PublicSans, Helvetica, Arial, sans-serif;
	font-weight: 400;
	font-size: 1rem;
	line-height: 20px;
	letter-spacing: 0.04em;
	resize: vertical;
}

.clone-gift-detail__textarea:focus {
	outline: none;
	border-color: #000000;
}

.clone-gift-detail__count {
	display: block;
	margin-top: 0.334rem;
	text-align: right;
	color: #605858;
	font-family: PublicSans, Helvetica, Arial, sans-serif;
	font-weight: 400;
	font-size: 0.889rem;
	line-height: 16px;
	letter-spacing: 0.04em;
}

/* ---- 支付安全那句英文 ------------------------------------------------------------ */
.clone-secure-note {
	margin: 1rem 0 0;
	color: #605858;
	font-feature-settings: "liga" 0;
	font-family: PublicSans, Helvetica, Arial, sans-serif;
	font-weight: 400;
	font-size: 0.889rem;
	line-height: 16px;
	letter-spacing: 0.04em;
}

/* ---- 手机分支：同样的节点，只为 375px 的栏宽收一次内距 -------------------------- */
html[data-clone-branch="mobile"] .clone-offers__title {
	font-size: 1rem;
}

html[data-clone-branch="mobile"] .clone-offer__label {
	column-gap: 0.5rem;
}

html[data-clone-branch="mobile"] .clone-gift-detail__img {
	max-width: 38%;
}

html[data-clone-branch="mobile"] .clone-gift-detail__note {
	font-size: 0.79rem;
	line-height: 14px;
}

/* ===========================================================================
 * T5-E2E-DIFFS —— 结账全流程复核（`runtime/docs/verify_checkout_e2e.md` §4）落在样式表上的三条，
 * 外加 D9 的一条兜底。每条都写明改前读数与依据；没有 !important，没有按住在用的镜像规则
 * （新选择器只命中克隆自己写的标记，或与镜像规则同权但更靠后）。
 * ------------------------------------------------------------------------- */

/* ---- D3　浮起标签 ---------------------------------------------------------
 * 改前（两端实测，`First Name`/`Street`/`City`/`Phone` 四字段）：
 *   标签 `label.prism-input-label` 计算值 `transform: translateY(-50%)`、`font-size: 20px`
 *   行高 20、`top: 50%` —— 停在"空态居中"，于是压在已填的值上（标签与值的文字带
 *   `overlapArea` 1105.5 / 3486 / 484.2 / 1449.6 px²，`getBoundingClientRect` 相交）。
 *   手机上更糟：Combobox 的标签带 `z-index:2`，在输入框之上，真实点击会被它接住
 *   （Playwright 的 `click()` 报 "label … intercepts pointer events"）。
 *
 * 依据是捕获件自己：同一份 CSSOM 里，浮起态的几何是
 *   `transform: translateY(-120%)` + `font-size: 0.79rem` + `line-height: 12px`
 *   + `text-transform: uppercase` + `white-space: nowrap`
 * （desktop `.fprmQK.fprmQK.fprmQK{…}` / mobile `.jydOPJ…` 的浮起变体，两条分支逐字相同），
 * 空态是四个 class 的 `.fprmQK.fprmQK.fprmQK.fprmQK{top:50%;transform:translateY(-50%)}`。
 * 镜像规则里空态那条比浮起那条**多一个 class**，所以浮起几何被压住 —— 这不是颜色/间距问题，
 * 是状态没被表达出来。
 *
 * 做法：`clone-checkout.js` 在"值非空 或 聚焦"时给标签写 `data-clone-float="1"`，这里只提供
 * 捕获件的浮起几何。属性重复五次是为了压过镜像的四个 class（同权或更高、且本文件在 head 末尾），
 * 不是 !important。浮起后 `pointer-events:none`：此时标签已经离开值所在的文字带，让它把点击
 * 透给输入框本身（改前手机上标签 z-index:2 挡点击，就是这个动作的反面）。
 *
 * 纵向位移由 `clone-checkout.js` 按**字段自己的**保留内距写 inline（`floatLabelOffset()`）：
 * 捕获件给文本输入留 `--prism-InputText-inputPaddingTop: 18px`，给地址自动补全（Street）只留
 * 12px，标签行盒 12px —— 所以正确的位置是 `top = paddingTop − 12px`（18 → 6px，12 → 0px），
 * 两条字段各自落在自己的保留带里。一个固定的百分比位移服务不了这两种内距：实测 -120% 时
 * 标签底边进值带 2.6px（`First Name` overlapArea 173.34 px²），-150% 时 Street 反而进 6px
 * （overlapArea 968.34 px²）。这里只给字体与文本形态，位置是字段的数据，不是样式表的常量。
 * ------------------------------------------------------------------------- */
[data-clone-float="1"][data-clone-float="1"][data-clone-float="1"][data-clone-float="1"][data-clone-float="1"] {
	font-feature-settings: "liga" 0;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizelegibility;
	white-space: nowrap;
	text-transform: uppercase;
	font-size: 0.79rem;
	line-height: 12px;
	pointer-events: none;
}

/* ---- D4　手机吸底条不压表单 -----------------------------------------------
 * 改前：`Members: Free Shipping on $50+` 是 `position:fixed; bottom:28px; height:48px`（z-index 40），
 *   它占的是视口底部 28–76px 这一带；页面只留了 48px 的 `padding-bottom`（`body[data-clone-rewards-page="on"]`），
 *   少的那 28px 正好让 City 字段 / `Forgot your Victoria's Secret credit card details?` 落在条下面
 *   （两端 `elementFromPoint` 命中吸底条）。
 *
 * 做法两件，都在克隆自己这一侧：
 *   1) 结账页把底部安全区留到 96px（= 条的顶边 76px + 20px 余量）：滚到底时表单最后一行也在条之上；
 *   2) 表单控件与付款面板里的说明行给 `scroll-margin-bottom: 96px`：浏览器原生的"滚进视野"
 *      （含焦点滚动、`scrollIntoView`）会把元素停在条之上，而不是贴着视口底边。
 *   吸底条本身的位置、尺寸、z-index 一个字节没动 —— 那是捕获件的几何。
 * ------------------------------------------------------------------------- */
body[data-clone-page="checkout"][data-clone-rewards-page="on"] {
	padding-bottom: 96px;
}

body[data-clone-page="checkout"] [data-testid="shipping-address-section"] .prism-input,
body[data-clone-page="checkout"] [data-testid="shipping-address-section"] .prism-input-wrapper,
body[data-clone-page="checkout"] [data-clone-billing-form="1"] .prism-input,
body[data-clone-page="checkout"] [data-clone-billing-form="1"] .prism-input-wrapper,
body[data-clone-page="checkout"] [data-ep-placement],
body[data-clone-page="checkout"] [data-ep-placement] .epjs-body,
body[data-clone-page="checkout"] [data-ep-placement] .epjs-body-action-link {
	scroll-margin-bottom: 96px;
}

/* ---- D7　手机上的礼盒图按同一视觉比例 --------------------------------------
 * 改前：桌面 CSS 显示 236×200（自然尺寸同值，注图像素 236×200），手机被
 *   `max-width:38%` 收到 127×108 —— 同一张图在两个分支上占栏宽的比例是 47.73% : 38%。
 * 目标截图不在盘上（`runtime/**` 里没有用户那张结账页截图，同 `rework_nav_hover.md` 的记录），
 * 所以按任务书的兜底口径执行：手机端取桌面的同一比例 236/494.44 = 47.73%（375 宽时约 160×136），
 * 并在本轮报告里标为"按桌面等比缩放，非截图像素量取"。
 * ------------------------------------------------------------------------- */
html[data-clone-branch="mobile"] .clone-gift-detail__img {
	width: 47.73%;
	max-width: 100%;
}

/* ---- D9　没有折扣时不画删除线（兜底） --------------------------------------
 * 服务端在 `before === after` 时给删除线节点写 `hidden` + `data-clone-strike-state="single"`，
 * `clone-checkout.js` 在运行期维持同一个判断。这条规则只是确保任何镜像/后续规则都压不住
 * UA 的 `[hidden]{display:none}`：属性重复两次 = 0,2,0，足够，且不碰别的节点。
 * ------------------------------------------------------------------------- */
[data-clone-strike-state="single"][data-clone-strike-state="single"][hidden] {
	display: none;
}

/* ---- D3-b　已填的地址自动补全：值让开左侧图标 ---------------------------------
 * 改前读数（两端逐字相同）：Street 字段是 Combobox，左侧有 17px 宽的搜索图标占据字段内 8–25px，
 * 而输入框的 `padding-left` 只有 8.004px —— 所以一旦值真的显示出来，前 1–2 个字符就压在图标下面
 * （`10 Hudson Yards` 的 "10"）。这与 D3 同根：捕获件只记录了**空态**，组件"有值时"的排布从来没被
 * 表达过；同一份捕获件里标签自己的内距 token 已经写明这块要留 40px
 * （`--prism-Combobox-labelPositionLeft: 3.334rem`），所以值也按它让开。
 * 选择器用 4 个属性（`[data-clone-page]` + 三次同名单属性）压过镜像的 4 个 class，没有 !important。
 * ------------------------------------------------------------------------- */
body[data-clone-page="checkout"] input[name="shipping.streetAddress1"][name="shipping.streetAddress1"][name="shipping.streetAddress1"],
body[data-clone-page="checkout"] input[name="billing.streetAddress1"][name="billing.streetAddress1"][name="billing.streetAddress1"] {
	padding-left: 3.334rem;
}
body[data-clone-page="checkout"] .clone-rewards__bar,
body[data-clone-page="checkout"] .clone-rewards__bar * {
	pointer-events: none;
}

/* ===================================================================================
 * F3-PLP —— 分类页 7 条交互缺陷的修补（本轮只加这一节，其余规则一字未动；不用 !important）。
 *
 * 证据：runtime/docs/audit_A2_plp.md（只读审计） + runtime/docs/_f3_plp_before.json（改前读数，
 *      node runtime/scripts/_f3_plp_check.cjs before）
 * 收敛：runtime/docs/rework_F3_plp.md（逐条改前/改后/目标对照）
 *
 * 本节只有两组规则：
 *   (1) 到底态：控件不画（状态文案由 plp-loadmore-inline.html 写，只有一行）；
 *   (2) 0 结果态：目标站空态三句文案的排布（文案本身来自模板，CSS 只负责落位）。
 * 两端共用；作用域都挂在 PLP 自己的节点上，其它页面不匹配。
 * ================================================================================== */

/* ---- (1) A2-04 到底态：耗尽后的 LOAD MORE 不画 -----------------------------------
 * 读数（改前，桌面 shop-all 点到底）：host 文本 `Showing Items 1-245 of 245 NO MORE ITEMS
 * No more items` —— 同一行两处「到底」，按钮 `display:flex` 仍可点，`next-page 12` 对 `pages 11`。
 * 修：耗尽属性一上，控件从画面撤走（DOM 保留，供诊断），可见的到底文案只剩状态行那一句。
 * 选择器用「data-testid + 耗尽属性」两个属性（0,2,0），压过镜像样式表的单个 class，没有 !important。 */
[data-testid="loadMoreButton"][data-clone-plp-loadmore-exhausted="1"] {
	display: none;
}

/* ---- (2) A2-01 0 结果态：目标原三句文案的落位 --------------------------------------
 * 目标原文（捕获件 applied_surface.head_text，见 plp.php: clone_plp_empty_state_html()）：
 *   "No products found" / "Try adjusting your filters for more results." / "No results"
 * 目标在该状态下不印结果行、不印 LOAD MORE，所以这里只有文字块：标题 16/600、正文 14/400。
 * 目标空态盒子的几何没有采到（捕获件只有这三句文本，没有盒/字号读数），所以排布是本轮的克隆侧
 * 决定，不冒充目标读数：盒子取整列宽（`[data-clone-plp-empty-host]` 由 plp.php 打在原来承载
 * LOAD MORE 的那个居中盒上），文字在盒内居中，与它替换掉的那一行同位置。 */
[data-clone-plp-empty-host="1"] {
	width: 100%;
	/* 手机端这个盒子是 `productCardGrid` 的**第一个网格项**（post 片段被拼在网格里），
	 * 不跨列就只占一列 ≈186.5px（实测）；桌面端它不在网格内，这条不匹配。 */
	grid-column: 1 / -1;
}
.clone-plp-empty {
	box-sizing: border-box;
	width: 100%;
	max-width: 560px;
	margin: 24px auto 8px;
	padding: 0 16px;
	text-align: center;
	color: #221D1D;
}
.clone-plp-empty-title {
	margin: 0 0 8px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	line-height: 22px;
	letter-spacing: 0.48px;
}
.clone-plp-empty-copy {
	margin: 0;
	font-family: inherit;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	letter-spacing: 0.42px;
}

/* 目标该状态下的第三句 `No results`：捕获件只给了文本顺序，没给它的可见性，
 * 因此按「只给读屏」处理 —— 不凭空造一行可见文案，也不丢这句话。 */
.clone-plp-empty-marker {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* F5-A11Y */

/* ===========================================================================
 * F5-A11Y — 无障碍 3 修 + 顺带一条字号（本小节是本轮新增内容的唯一落点）
 *
 * 本轮只改「可聚焦性 / 可访问树 / 文本层」的表达，不动几何，不动配色系统，
 * 不使用强制提升声明。每条规则的改前读数与复现命令见
 * runtime/docs/rework_F5_a11y.md（命令 + exit code + 原始输出）。
 *
 * 1) 键盘焦点环。改前：连按 1–5 次 Tab，activeElement 的 computed outline 全部是
 *    `none / 0px`。根源是镜像样式表 `044feb083b827bbb.css` 里一条裸 `:focus`
 *    规则（`outline: 0; box-shadow: none`，特异性 0,1,0）。镜像表 FROZEN，所以这
 *    里用 `:focus-visible` 抬特异性压过它：`:focus-visible` 写六遍 = 0,6,0，再加
 *    `html body` = 0,6,2 —— 高于镜像的 0,1,0，也高于组件级的 0,4,0
 *    （镜像内联 `<style>` 的 `.cKAkHQ.cKAkHQ.cKAkHQ:focus { outline: 0 }`，按钮/链接共用），
 *    整条规则里没有任何强制提升声明（同文件既有做法：重复选择器抬特异性，见文末 D3-b）。
 *    只挂 `:focus-visible`，鼠标点按（不匹配该伪类）的外观与改前完全一致。
 *
 * 2) SVG 精灵里的 `<text>` 不进文本层。`svg.fabric-hide-a11y-element` 是 minibag
 *    的图标精灵：根已带 `aria-hidden="true"`（不在可访问树里），但 `<symbol>` 内
 *    的 `<text>` 仍进 `document.body.innerText`。全站扫描
 *    （runtime/docs/f5_a11y/_scan_svgtext.py）读到的 `<text>` 只有 `return-message`
 *    符号里的两条（`Record your tracking number!` / `(write it down or take a picture)`），
 *    且没有任何 `<use>` 引用该符号 —— 所以把这两条文本节点移出渲染层，零绘制影响。
 *    精灵根**不** display:none：页内其它 `<use>` 与 `fill="url(#…)"` 仍引用同一精灵
 *    的其他符号与渐变（hide-a11y 只该隐藏自己，不该连累同伴）。
 *
 * 3) 手机抽屉一级行字号 16.88px → 17.088px（+0.208px，A1-B4 的目标读数
 *    17.088/24）。行盒 52、行高 24、步进 60、chevron 16×16 均不动。
 * ======================================================================== */

/* ---- 1) 键盘焦点环：品牌色 #4E3844，2px 实线 + 2px 偏移 ------------------- */
html body :focus-visible:focus-visible:focus-visible:focus-visible:focus-visible:focus-visible {
	outline: 2px solid #4E3844;
	outline-offset: 2px;
}

/* ---- 2) 精灵内的文本节点不进文本层（只此两条，见抬头扫描读数） ----------- */
svg.fabric-hide-a11y-element text,
svg.fabric-hide-a11y-element tspan {
	display: none;
}

/* ---- 3) 手机抽屉一级行字号：16.88 → 17.088（目标 17.088/24） -------------- */
[data-clone-nav-panel] > li > a[data-clone-rowctl],
[data-clone-nav-panel] > li > button[data-clone-rowctl] {
	font-size: 17.088px;
}

/* =========================================================================
 * F1-BAG —— 购物袋四条审计缺陷的收口（A5-1 破图 / A5-4 缩略档 / A4-5 促销条）
 *
 * 本小节是 patch.css 的最后一个独立小节，只写三条规则，每条都只匹配本轮新增的标记或
 * 本轮点名的页面；没有任何 !important，也不重指任何镜像规则。
 * ------------------------------------------------------------------------- */

/* ---- 1) A5-1：确实没有本地图片的推荐卡槽 → 中性占位块（不是空 src） ------------
 *
 * 改前读数（`runtime/docs/data/f1_before_images_*.json`）：空袋页 20 张 <img> 里 15 张
 * 没有 src（捕获时推荐区在折叠线以下，浏览器从未绘制，序列化回来的 <img> 既无 src 也无
 * data-src/srcset）；其中 13 张靠自己 <picture><source> 的第一条候选仍能画出来，2 张
 * 连候选都没有，于是空着。本轮由 `build_cart_checkout.py` 的 promote 过程给每张卡片写
 * 自己的 src（760/504 档，覆盖容器宽×dpr），这 2 张（手机分支是 9 张）确实无图，改为
 * 本规则绘制的占位块：
 *   - 尺寸来自捕获卡片自身的照片框（220x293 的构图比例 = 156x207.75 / 147.94x197.38）；
 *   - 颜色 #EEEEEE 是捕获件自己的模糊占位像素（镜像 b33f78571bc96291.png，单像素 70 B），
 *     与本文件上面 T5-closeout 小节里的取值相同：不新造颜色。
 * 选择器只有本轮的类名，页面里没有第二个节点会匹配到它。 */
.clone-bag-imgph {
	display: block;
	width: 100%;
	aspect-ratio: 220 / 293;
	background-color: #EEEEEE;
}

/* 卡片照片在懒加载落地之前，用同一枚 #EEEEEE 占位像素打底：改前这块底色由
   `[data-clone-noimg]` 系列规则提供，图片有了自己的 src 之后那些规则不再匹配（标记不再
   写入），所以底色改挂到图片自身，避免出现"白块 → 图"的闪白。 */
img[data-testid="ProductCardProductImage"] {
	background-color: #EEEEEE;
}

/* ---- 2) A4-5：手机结账页的固定促销条不得遮挡可交互字段 ------------------------
 *
 * 改前读数（`runtime/docs/data/f1_before_overlay_mobile.json`）：375x812、
 * dpr2 打开 `/checkout-clone/` 时，`button.clone-rewards__bar`（fixed / bottom:28px /
 * 48px 高 / z-index:40 / rgba(255,255,255,.85)）是结账页上唯一压在表单字段上的固定层：
 * 它与 `input[name="shipping.postalCode"]` 相交 88%（审计 A4-B5 同一读数），还把
 * `shipping.city` / `shipping.phone` / `shipping.region` 分别压掉 94/94/90%。
 * 上一轮的兜底是给它 pointer-events:none（点击能穿过去），但像素仍然盖住字段值 ——
 * 输入时读不到自己填的邮编，这不是可交互性，是可读性。
 *
 * 结账页的捕获件本身没有这条促销条（它是站级 chrome，由 functions.php 注入到每个路由），
 * 所以按任务书"该页隐藏或让位"的兜底口径，在**手机分支的结账页**把这条隐藏：桌面端
 * （1440x900）实测该条与 10 个可见字段 0/10 相交，保持原样不动；购物袋页上这条是捕获件
 * 自带的组件（rewards_entry.json），也不动。
 *
 * 选择器 = html 分支标记 + body 页面标记 + 本轮的类名（0,3,2），高于基础规则 .clone-rewards__bar
 * （0,1,0），无需 !important；`display` 而不是 `visibility`，因为它同时要把 48px 的点击/
 * 焦点位从 tab 序列里拿掉（原来带 pointer-events:none 只是穿透，键盘仍能聚焦到一个看不见的
 * 按钮上）。 */
html[data-clone-branch="mobile"] body[data-clone-page="checkout"] .clone-rewards__bar {
	display: none;
}

/* ===========================================================================
 * F6-DRAWER — the phone drawer's drilled panel, rebuilt on the target's own shape.
 *
 * Every number below is a 2026-11-28 live reading at 375x812 dpr2 on
 * https://www.victoriassecret.com/us/ (runtime/docs/captured/drawer_l2/spec.json):
 * hero 375x375 at y=49 (Beauty: 319x319 at x=28, y=93), CTA 319x40 radius 3
 * background rgba(255,255,255,.8) stacked 12 apart with 28 to the hero's bottom,
 * group wrapper 319 wide with 8/8 side inset, its toggle 17.088/24 600 letter-spacing
 * 1.36704, its entries 303x44 at x=44 in 15.192/24, level-1 rows 17.088/24.
 *
 * Geometry only: the hero picture, the CTA labels and the group titles are written by
 * build_home.py (`restructure_drawer_l2`) from the same capture, so nothing here
 * retypes a measured string. No !important; every selector sits under the drawer's
 * own hooks ([data-clone-nav-panel] / [data-clone-l2-*]).
 * ------------------------------------------------------------------------- */

/* 1. level-1 row type: measured 17.088px (row 52 / step 60 are already right). */
[data-clone-nav-panel] > li > a[data-clone-rowctl],
[data-clone-nav-panel] > li > button[data-clone-rowctl] {
	font-size: 17.088px;
}

/* 2. the restructured sub-panel owns its own insets (the older rule inset a bare list). */
[data-clone-nav-panel] [data-clone-subpanel][data-clone-l2] {
	padding: 0;
	margin: 0;
}

/* 3. the hero breaks the row's 20px gutter: full-bleed 375, or the measured inset. */
[data-clone-nav-panel] [data-clone-subpanel] > [data-clone-l2-hero] {
	position: relative;
	margin: 0 -20px;
	padding: 0;
	list-style: none;
	background: #f7f7f8;
}
[data-clone-nav-panel] [data-clone-subpanel] > [data-clone-l2-hero][data-clone-l2-inset] {
	margin: 44px 8px 0;
}
[data-clone-nav-panel] [data-clone-l2-hero] > img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

/* 4. the campaign buttons, over the hero's bottom edge. */
[data-clone-nav-panel] [data-clone-l2-ctas] {
	position: absolute;
	left: 28px;
	right: 28px;
	bottom: 28px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
[data-clone-nav-panel] [data-clone-subpanel] [data-clone-l2-cta] {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 8.004px 16.008px;
	border: 0;
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.8);
	color: #000000;
	font-size: 17.0892px;
	line-height: 24px;
	font-weight: 600;
	letter-spacing: 0.683568px;
	text-decoration: none;
}

/* 5. one group: the measured wrapper (319 wide, 8 side inset, 8/2 vertical rhythm). */
[data-clone-nav-panel] [data-clone-subpanel] > [data-clone-l2-group] {
	margin: 0 8px;
	padding: 0;
	list-style: none;
	background: #ffffff;
}
/* the vertical rhythm the target actually renders (its computed padding is not the
 * box that ships): hero bottom -> first toggle 26.5, panel -> next toggle 19.5,
 * toggle bottom -> first entry 12.5. Read off the four measured Bras groups, which
 * land at 450.5 / 1078.5 / 1530.5 / 2026.5 and whose panels start 487 / 1115 / 1567
 * / 2063 on the live site (spec.json). */
[data-clone-nav-panel] [data-clone-l2-group-toggle] {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: 24px;
	margin: 19.5px 0 0;
	padding: 0;
	border: 0;
	background: none;
	color: #000000;
	font-size: 17.088px;
	line-height: 24px;
	font-weight: 600;
	letter-spacing: 1.36704px;
	text-align: left;
	cursor: pointer;
}
[data-clone-nav-panel] [data-clone-l2-hero] + [data-clone-l2-group] [data-clone-l2-group-toggle] {
	margin-top: 26.5px;
}
[data-clone-nav-panel] [data-clone-l2-group-icon] {
	position: relative;
	flex: 0 0 12px;
	width: 12px;
	height: 12px;
}
[data-clone-nav-panel] [data-clone-l2-group-icon]::before {
	content: "";
	position: absolute;
	left: 0;
	top: 5.5px;
	width: 12px;
	height: 1px;
	background: currentColor;
}
[data-clone-nav-panel] [data-clone-l2-group-toggle][aria-expanded="false"] [data-clone-l2-group-icon]::after {
	content: "";
	position: absolute;
	top: 0;
	left: 5.5px;
	width: 1px;
	height: 12px;
	background: currentColor;
}

/* 6. a group's entries: 303x44 at x=44, 15.192/24, text rows (the target draws no image). */
[data-clone-nav-panel] [data-clone-l2-group-panel] {
	margin: 12.5px 0 0;
	padding: 0 0 0 16px;
	list-style: none;
}
[data-clone-nav-panel] [data-clone-l2-group-panel][hidden] {
	display: none;
}
[data-clone-nav-panel] [data-clone-l2-group-panel] > li {
	margin: 0;
	padding: 0;
	list-style: none;
}
[data-clone-nav-panel] [data-clone-subpanel] [data-clone-l2-group-panel] a {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 10px 0;
	font-size: 15.192px;
	line-height: 24px;
	color: inherit;
	text-decoration: none;
}

/* 7. the captured-only rows (Spotlight / All …) the live accordions no longer draw:
 *    kept after the groups so their route repair stays verifiable, same row shape. */
[data-clone-nav-panel] [data-clone-subpanel] > [data-clone-l2-extra] {
	margin: 16px 8px 24px;
	padding: 0;
	list-style: none;
}
[data-clone-nav-panel] [data-clone-l2-extra-list] {
	margin: 0;
	padding: 0 0 0 16px;
	list-style: none;
}
[data-clone-nav-panel] [data-clone-l2-extra-list] > li {
	margin: 0;
	padding: 0;
	list-style: none;
}
[data-clone-nav-panel] [data-clone-subpanel] [data-clone-l2-extra-list] a {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 10px 0;
	font-size: 15.192px;
	line-height: 24px;
	color: inherit;
	text-decoration: none;
}
/* the open panel takes focus itself (clone-mobile.js), so the container needs no ring */
[data-clone-nav-panel]:focus {
	outline: none;
}

/* F7-BILLING */

/* ===========================================================================
 * F7-BILLING —— 勾选礼品包装后那张礼盒图的两栏几何（两端各一套）
 * -------------------------------------------------------------------------
 * 改前（桌面 1440×900，`?branch=desktop`，`.clone-gift-detail` 容器 494.44 宽）：
 *   图片 `width:236px`（= 行宽 47.73%）、`max-width:44%`、行 `align-items:flex-start`
 *   → 文字块 246.44×96（49.84%），图片 236×200（47.73%），
 *     文字块底边 515.02、图片底边 619.02 → **文字下方空 104px**；
 *   手机 375×812：图片 159.41×135.08、文字 162.59×112，同样两栏、图上文字下空 23.08
 *   —— 任务书要的是手机单列（文字在上、图在下、图宽=容器宽）。
 *
 * 改后（同一容器，同一图片，未动任何镜像规则、无 !important）：
 *   文字列 `flex:0 1 50%` + `max-width:50%`（= 50.0%），图片列 `flex:0 0 45%` +
 *   `width/max-width:45%` + `margin-left:auto`（= 45.0%，右缘贴容器右缘，中间留 5%）；
 *   行 `align-items:stretch`，文字块在列内纵向居中 → 文字块盒子撑满行高，
 *   “文字下方那块空白”不再存在（改后读数 0px），行高由图片按原始纵横比 236:200 决定。
 *   手机：行改单列，文字在上、图在下，图片 `width:100%`（= 容器宽），高度自适应。
 *
 * 依据：用户截图量取的两栏比例（文字约 50%、图约 45%、图右缘对齐容器右缘）。
 * =========================================================================== */
.clone-gift-detail__row {
	display: flex;
	align-items: stretch;
	column-gap: 0;
}

.clone-gift-detail__note {
	display: flex;
	align-items: center;
	flex: 0 1 50%;
	max-width: 50%;
}

.clone-gift-detail__img {
	flex: 0 0 45%;
	width: 45%;
	max-width: 45%;
	height: auto;
	margin-left: auto;
}

html[data-clone-branch="mobile"] .clone-gift-detail__row {
	display: block;
}

html[data-clone-branch="mobile"] .clone-gift-detail__note {
	display: block;
	flex: 0 0 auto;
	max-width: 100%;
}

html[data-clone-branch="mobile"] .clone-gift-detail__img {
	width: 100%;
	max-width: 100%;
	margin: 0.667rem 0 0;
}

/* ===========================================================================================
 * F11-CARDFORM — THE CARD FORM THE GATEWAY RENDERS INTO, DRAWN ON THE CONTAINERS.
 *
 * WHAT THIS BLOCK IS FOR. The installed gateway owns the card inputs: on mount it empties each
 * `[data-card-fields]` container and appends ONE transparent, borderless input sized 100% x
 * 100% (`gateway.js renderSlots`), inline-styling it with `border:0; background:transparent;
 * font-size:16px; padding:0 2px; letter-spacing:.4px`. So every visible property of the field —
 * the grey box, its radius, its padding, where the text sits, what colour the placeholder is —
 * must live on the CONTAINER. Anything written inside a container is destroyed at mount.
 *
 * WHERE THE NUMBERS COME FROM (full table in runtime/docs/rework_F11_cardform.md §1):
 *   field box      desktop 478 x 48 (flood-filled out of the captured payment screenshot at
 *                  `417,638`; the two half fields 231 x 48 at `417,701` and `664,701`, so the
 *                  column gap is 16 px and the row gap is 15 px), mobile 310 x 47 with a 16 px
 *                  column gap and a 16 px row gap (375 branch, dpr 2 -> device px / 2);
 *   fill / border  #F7F7F8 fill with a 1 px border OF THE SAME COLOUR (the box has no visible
 *                  edge at rest — sampled inside the captured fields, and the box's own corner
 *                  scan shows a 2 px radius);
 *   radius         2 px — the site's own input component (`cssom__checkout-payment__*.css`,
 *                  `.guuwvf.guuwvf.guuwvf.guuwvf { border-radius: 2px }`) and the captured
 *                  corner pixels agree;
 *   resting text   12 px, #605858, letter-spacing .48 px (0.04em). The same capture's input
 *                  component carries `--prism-InputText-inputBackgroundColor: #F9F8F9`,
 *                  `--prism-InputText-inputFocusBorderColor: #000000`,
 *                  `--prism-InputText-inputPaddingTop: 18px`, `--prism-InputText-*Padding*: 0.667rem`
 *                  and `--prism-InputLabel-color: #605858`; `html { font-size: 12px }`, so the
 *                  label's `1rem` is 12 px and `0.667rem` is 8 px. Cap height measured on the
 *                  captured card fields: 9 px desktop / 8.5 px at dpr 2 -> a 12 px face;
 *   focus          1 px #000000  (`--prism-InputText-inputFocusBorderColor`)
 *   error          1 px #ce2b21  (`--error` of the same capture; the site's own invalid rule is
 *                  `[aria-invalid="true"] { border-color: var(--error) }`)
 *   icon strip     8 marks, 24 px tall, 5 px apart, 12 px below the frame's top edge and 8 px
 *                  above the number field (desktop `417,606,43x24` + seven ~36x24 boxes;
 *                  mobile wraps to 6 + 2 at 310 px, the last mark alone on the second row).
 *
 * THE FOUR SLOTS ARE CONTAINERS ONLY. No input, no label, no icon lives inside one. The three
 * selectors the acceptance list names are the last three rules of the block:
 *     [data-card-fields]:focus-within          -> the focus edge
 *     [data-card-fields]:has(input.spg-invalid)-> the error edge
 *     input[data-spg-input]::placeholder       -> the placeholder colour/size
 * `!important` appears exactly ONCE, on `padding`, because the gateway writes `padding:0 2px`
 * INLINE on the input it injects and 2 px of it would push the text to 9 px instead of the
 * captured 8 px. font-size and letter-spacing are not overridden on the input at all: the
 * gateway's inline `16px` is the captured typed-text size.
 * ======================================================================================== */

/* (1) the slot stops being an empty marker: no hairline, no fixed frame height ------------ */
.clone-card-slot,
html[data-clone-branch="mobile"] .clone-card-slot,
body[data-clone-payment-method="vsCreditCardForm"] .clone-card-slot,
html[data-clone-branch="mobile"] body[data-clone-payment-method="vsCreditCardForm"] .clone-card-slot {
	border: 0;
	outline: 0;
	/* 15 px = the captured provider frame's top inset (frame y594.02 inside wrapper y579.02);
	   61 px = the block's own bottom slack, so the -34 px pull the capture puts on the
	   "Forgot your Victorias Secret credit card details?" block lands that text 32 px below the
	   last field, exactly as the captured screenshot reads (field bottom 748 -> text ink 780,
	   and 907 -> 938 on the 375 branch). See runtime/docs/rework_F11_cardform.md §2. */
	padding: 15px 0 61px;
	width: 100%;
}

/* (2) the frame is the form's own box now: its height comes from the form ---------------- */
.clone-card-slot__frame,
html[data-clone-branch="mobile"] .clone-card-slot__frame,
body[data-clone-payment-method="vsCreditCardForm"] .clone-card-slot__frame {
	height: auto;
}

/* (3) the form: 12 px inset (the captured strip starts 12 px inside the frame) ----------- */
.clone-cardform {
	padding-top: 12px;
}

/* (4) the brand strip — OUTSIDE the four containers, so a mount cannot clear it ---------- */
.clone-cardbrands {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 5px;
	margin: 0 0 8px;
}

.clone-cardbrand {
	display: block;
	flex: 0 0 auto;
	width: 36px;
	height: 24px;
	line-height: 0;
}

/* the first mark is the wider Victoria's Secret card (43 px in the capture) */
.clone-cardbrand:first-child {
	width: 43px;
}

.clone-cardbrand svg {
	display: block;
	width: 100%;
	height: 100%;
}

/* the picked brand stays at full strength, the rest step back (theme JS sets both attributes) */
.clone-cardbrands[data-active-brand]:not([data-active-brand=""]) .clone-cardbrand {
	opacity: .35;
}

.clone-cardbrands[data-active-brand]:not([data-active-brand=""]) .clone-cardbrand.is-active {
	opacity: 1;
}

/* (5) the three rows: number / expiry + cvc / name --------------------------------------- */
.clone-cardform__rows {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 16px;
	row-gap: 15px;
}

.clone-cardform__rows > [data-card-fields="number"],
.clone-cardform__rows > [data-card-fields="name"] {
	grid-column: 1 / -1;
}

/* (6) THE FIELD IS THE CONTAINER: every visible property lives here ---------------------- */
[data-card-fields] {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	min-width: 0;
	height: 48px;
	margin: 0;
	padding: 0 6px 6px;
	border: 1px solid #F7F7F8;
	border-radius: 2px;
	background-color: #F7F7F8;
	box-shadow: none;
	color: #605858;
	font-family: PublicSans, Helvetica, Arial, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 20px;
	letter-spacing: .04em;
	cursor: text;
}

/* (7) the branch's own field height (375 capture reads 47 px, dpr 2) --------------------- */
html[data-clone-branch="mobile"] [data-card-fields] {
	height: 47px;
}

html[data-clone-branch="mobile"] .clone-cardform__rows {
	row-gap: 16px;
}

/* (8) THE THREE REQUIRED SELECTORS ------------------------------------------------------ */
[data-card-fields]:focus-within {
	border-color: #000000;
}

[data-card-fields]:has(input.spg-invalid) {
	border-color: #ce2b21;
}

/* the injected input's own padding, so the captured 8 px inset survives (see the header) */
[data-card-fields] input[data-spg-input] {
	padding: 0 !important;
}

[data-card-fields] input[data-spg-input]::placeholder {
	color: #605858;
	font-size: 12px;
	letter-spacing: .48px;
	opacity: 1;
}
/* ==================================================================================
 * F12-BILLING-PAY — 支付步账单摘要旁 `Change` 就地展开的账单表单（两端）
 *
 * WHAT THIS SECTION OWNS: exactly one node tree, and only the nodes `clone-checkout.js`
 * CREATES for it — `.clone-change-host`、它里面的克隆字段组 `[data-clone-change-form="1"]`、
 * 以及底部两个动作按钮 `.clone-change-actions`。捕获件没有 `Change` 的展开态（点它只
 * 设 `aria-expanded="false"`），所以这一段是本轮声明的推断，节点上带
 * `data-clone-inferred="change-billing-inline-form"`。
 *
 * 字段组本身没有几何规则：它是从 `.clone-billing-fields`（捕获的收货表单克隆体）整棵复制
 * 出来的，输入框的盒子、字号、间距全部来自捕获件自己的类与内联 `--prism-*` 变量。
 * 这里只补三件克隆件没有的东西：容器在摘要下方的排布、按钮行的间距、两个按钮的观感。
 *
 * 按钮取的是捕获件自己的主按钮配色（`--prism-Button-backgroundColor: #F4C6CF` /
 * `--prism-Button-color: #4E3844` / 3px 圆角），字重与 `Change` 一致；`Cancel` 沿用
 * `Change` 的纯文字下划线形态。不给任何规则加感叹号强制。
 * ================================================================================== */

.clone-change-host {
	display: block;
	width: 100%;
	margin-top: 12px;
}

.clone-change-host[hidden] {
	display: none;
}

.clone-change-host [data-clone-change-form="1"] {
	display: block;
	width: 100%;
}

.clone-change-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 12px;
}

.clone-change-actions .clone-change-save,
.clone-change-actions .clone-change-cancel {
	font-family: inherit;
	font-size: 12px;
	line-height: 16px;
	letter-spacing: .48px;
	text-transform: uppercase;
	cursor: pointer;
	border: 1px solid transparent;
	border-radius: 3px;
	padding: 0 16px;
	height: 40px;
}

.clone-change-actions .clone-change-save {
	background-color: #F4C6CF;
	border-color: #F4C6CF;
	color: #4E3844;
	font-weight: 600;
}

.clone-change-actions .clone-change-save:hover {
	background-color: #F7D4DB;
	border-color: #F7D4DB;
}

.clone-change-actions .clone-change-cancel {
	background-color: transparent;
	color: #221D1D;
	text-decoration: underline;
}

/* 手机支：字段组是单列，按钮行占满整行并右对齐到摘要的右缘 --- */
html[data-clone-branch="mobile"] .clone-change-actions {
	justify-content: flex-end;
}

html[data-clone-branch="mobile"] .clone-change-actions .clone-change-save,
html[data-clone-branch="mobile"] .clone-change-actions .clone-change-cancel {
	height: 44px;
}

/* =====================================================================================
 * F19-PLPCARDS — the two promotional tiles inside the listing grid, and the sheet they open.
 *
 * WHERE THE NUMBERS COME FROM. `runtime/docs/captured/plp_offers/spec.json`, captured on the
 * live bra listing at 1440x900: the tile is a GRID CHILD spanning two columns, and its box is
 * the creative's own 580:500 aspect at the cell width (4 cols of 293.5 px, 2 px column gap ->
 * 589 x 507.75). The copy block is 146.5 px tall at the tile's top with 28.0035 px padding, and
 * the five lines are measured, not styled by eye: 10.5/800/ls .63 (eyebrow), 21.28875/400 with
 * a 3.507 px top pad (headline), 11.8125/400/ls .21 with a 5.25 px top pad (subline), 12/200/
 * ls .48 with a 6 px top pad and an 18 px line (value line + `Details`). Sum: 56.007 + 14 +
 * 3.507+26.25 + 5.25+17.5 + 6+18 = 146.5.
 *
 * WHAT THE PHONE BRANCH IS. The same cue is an `ImageText` component there: ONE 480x728 creative
 * with the copy baked into the pixels (no text nodes), laid out at the cell's full width — 375 x
 * 568.8 on a 375 x 812 phone, which is the same 480:728 ratio. So the phone tile keeps no copy
 * block at all and the artwork is the only thing that sizes it.
 *
 * WHY NO DECLARATION HERE IS ESCALATED. Every selector below is one the capture's own sheets do
 * not carry (`clone-offer-*`), or is written at class-level specificity so the mirrored `html body
 * h1` rule cannot win by element count — the sheet's own preference, and the one the rest of this
 * file already follows. Nothing in this block outranks a mirrored rule by force.
 *
 * THE SHEET (`modal-small` on the target, `spec.json` -> modal.gwp150.measured_mobile): scrim
 * over the whole viewport; a 375 x 730.8 panel pinned to the bottom of an 812 px viewport, i.e.
 * 90vh; `<h1>` at 15 px / 300, 307 px wide inside a 20 px inset; Close at the panel's top right;
 * the scrolling body starting 92 px down the panel (captured 173.2 - 81.2) and inset 36 px on
 * the sides (the captured illustration is 303 px wide inside 375). Both branches use it: the live
 * desktop click is a no-op only because that overlay page was published on the phone channel
 * alone, which is an authoring hole rather than a design.
 * ===================================================================================== */

/* ---- the tile, as a grid cell ------------------------------------------------------- */

.clone-offer-cell {
	position: relative;
	display: block;
	min-width: 0;
	margin: 0;
	padding: 0;
	grid-column: span 2;
}

.clone-offer-tile {
	position: relative;
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background-color: transparent;
	overflow: visible;
}

/* The image IS the tile's box: `width:100%; height:auto` with the file's own 580:500 (desktop)
 * or 480:728 / 480:618 (phone) gives the captured box at any cell width, and `object-fit: fill`
 * is the capture's own declaration, kept even though nothing needs cropping. */
.clone-offer-cell .clone-offer-media {
	position: relative;
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

.clone-offer-cell .clone-offer-media img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	border: 0;
	object-fit: fill;
}

/* ---- the desktop copy block: 146.5 px at the tile's top ----------------------------- */

.clone-offer-cell .clone-offer-copy {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	box-sizing: border-box;
	width: 100%;
	padding: 28.0035px;
	text-align: center;
	color: #000000;
	background-color: transparent;
}

.clone-offer-cell .clone-offer-label {
	display: block;
	max-width: 100%;
	text-align: center;
}

.clone-offer-cell .clone-offer-eyebrow {
	font-family: PublicSans, Helvetica, Arial, sans-serif;
	font-size: 10.5px;
	font-weight: 800;
	line-height: 14px;
	letter-spacing: 0.63px;
	color: #000000;
	text-align: center;
}

.clone-offer-cell .clone-offer-headline {
	padding-top: 3.507px;
	font-family: VictoriaTwoDisplay, "Times New Roman", serif;
	font-size: 21.28875px;
	font-weight: 400;
	line-height: 26.25px;
	letter-spacing: 0;
	color: #000000;
	text-align: center;
}

.clone-offer-cell .clone-offer-headline em {
	font-style: italic;
	font-weight: 400;
}

.clone-offer-cell .clone-offer-subline {
	padding-top: 5.25px;
	font-family: PublicSans, Helvetica, Arial, sans-serif;
	font-size: 11.8125px;
	font-weight: 400;
	line-height: 17.5px;
	letter-spacing: 0.21px;
	color: #000000;
	text-align: center;
}

.clone-offer-cell .clone-offer-value {
	padding-top: 6px;
	font-family: Calibre, "Libre Franklin", Helvetica, Arial, sans-serif;
	font-size: 12px;
	font-weight: 200;
	line-height: 18px;
	letter-spacing: 0.48px;
	color: #000000;
	text-align: center;
}

/* The `Details` word: a second hit target inside the card, painted ABOVE the card-wide link so
 * it keeps its own focus ring and its own tab stop (the capture has two `role="link"` nodes). */
.clone-offer-cell .clone-offer-details {
	position: relative;
	z-index: 3;
	display: inline;
	padding: 0 4.008px;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
	cursor: auto;
}

/* The card-wide hit area: the whole tile, above the artwork and the copy, below `Details`. */
.clone-offer-cell .clone-offer-hit {
	position: absolute;
	inset: 0;
	z-index: 2;
	margin: 0;
	padding: 0;
	border: 0;
	background-color: transparent;
	cursor: auto;
}

.clone-offer-cell .clone-offer-hit:focus-visible,
.clone-offer-cell .clone-offer-details:focus-visible {
	outline: 2px solid #221D1D;
	outline-offset: 2px;
}

/* ---- the details sheet ------------------------------------------------------------- */

.clone-offer-modal {
	position: fixed;
	inset: 0;
	z-index: 2147483300;
	margin: 0;
	padding: 0;
	border: 0;
	background-color: transparent;
}

.clone-offer-modal[hidden] {
	display: none;
}

.clone-offer-modal .clone-offer-modal-scrim {
	position: absolute;
	inset: 0;
	margin: 0;
	padding: 0;
	background-color: rgba(0, 0, 0, 0.45);
}

.clone-offer-modal .clone-offer-modal-panel {
	position: absolute;
	left: 50%;
	bottom: 0;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	width: 375px;
	max-width: 100%;
	height: 90vh;
	overflow: hidden;
	transform: translateX(-50%);
	background-color: #FFFFFF;
	border: 0;
	box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.22);
	color: #221D1D;
	font-family: PublicSans, Helvetica, Arial, sans-serif;
}

.clone-offer-modal .clone-offer-modal-head {
	position: relative;
	flex: 0 0 auto;
	box-sizing: border-box;
	min-height: 92px;
	padding: 21px 20px 0;
}

.clone-offer-modal .clone-offer-modal-title {
	box-sizing: border-box;
	width: 307px;
	max-width: calc(100% - 28px);
	margin: 0;
	padding: 0;
	font-family: PublicSans, Helvetica, Arial, sans-serif;
	font-size: 15px;
	font-weight: 300;
	line-height: 25px;
	letter-spacing: 0.3px;
	color: #221D1D;
	text-align: left;
}

.clone-offer-modal .clone-offer-modal-close {
	position: absolute;
	top: 21px;
	right: 20px;
	display: block;
	box-sizing: border-box;
	width: 28px;
	height: 18px;
	margin: 0;
	padding: 0;
	border: 0;
	background-color: transparent;
	color: #221D1D;
	font-family: PublicSans, Helvetica, Arial, sans-serif;
	font-size: 18px;
	font-weight: 300;
	line-height: 18px;
	text-align: center;
	cursor: pointer;
}

.clone-offer-modal .clone-offer-modal-scroll {
	flex: 1 1 auto;
	box-sizing: border-box;
	overflow-x: hidden;
	overflow-y: auto;
	padding: 0 36px 24px;
	font-family: Calibre, "Libre Franklin", Helvetica, Arial, sans-serif;
	font-size: 12px;
	font-weight: 300;
	line-height: 18px;
	letter-spacing: 0.48px;
	color: #221D1D;
	text-align: left;
}

.clone-offer-modal .clone-offer-modal-scroll img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

.clone-offer-modal .clone-offer-modal-scroll strong {
	font-weight: 600;
}

.clone-offer-modal .clone-offer-modal-scroll ul {
	margin: 6px 0 0;
	padding: 0 0 0 16px;
	list-style: disc;
}

.clone-offer-modal .clone-offer-modal-scroll li {
	/* The mirrored sheet resets `li` to `display: block`, which generates NO marker box: the
	 * capture's sheet prints the bullets, so the list-item display is restored for this sheet's
	 * own lists only. */
	display: list-item;
	margin: 0 0 6px;
}

/* The sheet's own title is a heading the page already carries an h1 for; the capture's sheet
 * prints one too, so it stays an h1 and keeps the captured 15/300 metrics above. */

/* ===================================================================================
 * F18-GIFTBLOCK — `YOUR FREE GIFTS` inside the Order Summary card (both ends).
 *
 * WHERE IT SITS. The block is the last child of the summary that carries the six amount
 * rows, after `order-summary-details-order-total`; it repeats the card's own rhythm (the
 * 16 px top padding and the 1 px #E0DAD5 rule the `Total` row above it already uses) so
 * nothing above it moves. Every selector below is a `clone-gift-*` class that exists
 * nowhere else, so no captured rule is overridden and no neighbouring block changes
 * geometry.
 *
 * TYPE. The card prints PublicSans 11/17 #221D1D; the title is the same 11 px with the
 * captured card's uppercase tracking, the lead line is 12/18 so the one sentence the
 * block actually asks the visitor to read stays readable, and the captions under the two
 * creatives are 10/14 (they are labels, not sentences).
 *
 * COLOUR. #AF5071 is the pink-strong the approved preview draws the earned frame and the
 * EARNED badge with; #8CC24A is the preview's progress fill; #F7F7F8 / #E0DAD5 are the
 * card's own neutral fill and rule colours.
 *
 * THE SHEET. `Details` opens the same kind of bottom sheet the page already uses for the
 * offers block (`.clone-offer-modal`): 375 px panel pinned to the bottom, 90vh tall,
 * rgba(0,0,0,.45) scrim, 15/300 title, 28x18 close at the top right, scrolling body at
 * 12/18 with 36 px side padding. That sheet IS the site's own capture (375 wide, panel
 * from y=81, title 15/300, one `Close` control); the gift sheet reuses its metrics rather
 * than inventing a second modal language on one page.
 * =================================================================================== */

.clone-gift {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid #E0DAD5;
	font-family: PublicSans, Helvetica, Arial, sans-serif;
	font-size: 11px;
	line-height: 17px;
	color: #221D1D;
	text-align: left;
}

.clone-gift-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
}

.clone-gift-title {
	display: block;
	margin: 0;
	font-size: 11px;
	font-weight: 700;
	line-height: 17px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #221D1D;
}

.clone-gift-lead {
	margin: 4px 0 10px;
	font-size: 12px;
	font-weight: 300;
	line-height: 18px;
	letter-spacing: 0.3px;
	color: #221D1D;
}

.clone-gift-lead b {
	font-weight: 600;
}

.clone-gift-lead em {
	font-style: italic;
	letter-spacing: 0.4px;
}

.clone-gift-items {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.clone-gift-item {
	width: 104px;
	text-align: center;
}

.clone-gift-thumb {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 104px;
	height: 104px;
	overflow: hidden;
	box-sizing: border-box;
	border: 1px solid #E0DAD5;
	border-radius: 6px;
	background-color: #FFFFFF;
}

.clone-gift-thumb-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.clone-gift-cap {
	display: block;
	/* two lines reserved, so both captions' value line sits on one baseline */
	min-height: 28px;
	margin-top: 6px;
	font-size: 10px;
	font-weight: 600;
	line-height: 14px;
	letter-spacing: 0.06em;
	color: #221D1D;
}

.clone-gift-val {
	display: block;
	font-size: 10px;
	font-weight: 300;
	line-height: 14px;
	letter-spacing: 0.04em;
	color: #605858;
}

.clone-gift-item.is-locked {
	opacity: 0.45;
}

.clone-gift-item.is-locked .clone-gift-thumb-img {
	filter: grayscale(1);
}

.clone-gift-item.is-earned .clone-gift-thumb {
	border-color: #AF5071;
	box-shadow: inset 0 0 0 1px #AF5071;
}

.clone-gift-badge {
	position: absolute;
	top: 4px;
	right: 4px;
	padding: 2px 5px;
	border-radius: 999px;
	background-color: #AF5071;
	color: #FFFFFF;
	font-size: 8px;
	font-weight: 600;
	line-height: 10px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.clone-gift-badge[hidden] {
	display: none;
}

.clone-gift-bar {
	height: 4px;
	margin: 14px 0 6px;
	overflow: hidden;
	border-radius: 999px;
	background-color: #F7F7F8;
}

.clone-gift-bar-fill {
	display: block;
	height: 100%;
	border-radius: 999px;
	background-color: #8CC24A;
	transition: width 0.25s ease;
}

.clone-gift-prog {
	display: flex;
	justify-content: space-between;
	font-size: 10px;
	font-weight: 300;
	line-height: 14px;
	letter-spacing: 0.04em;
	color: #605858;
}

.clone-gift-details {
	display: inline-block;
	margin: 8px 0 0;
	padding: 0;
	border: 0;
	background: none;
	font-family: inherit;
	font-size: 11px;
	font-weight: 300;
	line-height: 17px;
	letter-spacing: 0.48px;
	color: #221D1D;
	text-decoration: underline;
	cursor: pointer;
}

/* ---- the details sheet (the page's own bottom-sheet metrics) ---------------------- */

.clone-gift-modal {
	position: fixed;
	inset: 0;
	z-index: 2147483300;
	margin: 0;
	padding: 0;
	border: 0;
	background-color: transparent;
}

.clone-gift-modal[hidden] {
	display: none;
}

.clone-gift-scrim {
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.45);
}

.clone-gift-sheet {
	position: absolute;
	left: 50%;
	bottom: 0;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	width: 375px;
	max-width: 100%;
	height: 90vh;
	overflow: hidden;
	transform: translateX(-50%);
	border: 1px solid #EFECEA;
	border-bottom: 0;
	background-color: #FFFFFF;
	box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.22);
	color: #221D1D;
	font-family: PublicSans, Helvetica, Arial, sans-serif;
	text-align: left;
}

.clone-gift-sheet:focus {
	outline: none;
}

.clone-gift-panel {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-height: 0;
}

.clone-gift-panel[hidden] {
	display: none;
}

.clone-gift-sheet-head {
	position: relative;
	flex: 0 0 auto;
	box-sizing: border-box;
	min-height: 92px;
	padding: 20px 20px 0;
}

.clone-gift-modal-title {
	box-sizing: border-box;
	width: 307px;
	max-width: calc(100% - 28px);
	margin: 0;
	padding: 0;
	font-size: 15px;
	font-weight: 300;
	line-height: 25px;
	letter-spacing: 0.3px;
	color: #221D1D;
	text-align: left;
}

.clone-gift-x {
	position: absolute;
	top: 18px;
	right: 18px;
	display: block;
	box-sizing: border-box;
	width: 28px;
	height: 18px;
	margin: 0;
	padding: 0;
	border: 0;
	background-color: transparent;
	color: #221D1D;
	font-family: inherit;
	font-size: 18px;
	font-weight: 300;
	line-height: 18px;
	text-align: center;
	cursor: pointer;
}

.clone-gift-sheet-scroll {
	flex: 1 1 auto;
	box-sizing: border-box;
	overflow-x: hidden;
	overflow-y: auto;
	padding: 0 36px 24px;
	font-size: 12px;
	font-weight: 300;
	line-height: 18px;
	letter-spacing: 0.48px;
	color: #221D1D;
	text-align: left;
}

.clone-gift-sheet-scroll img {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 260px;
	height: auto;
	margin: 0 auto;
}

.clone-gift-terms {
	margin: 12px 0 4px;
	font-size: 12px;
	font-weight: 400;
	line-height: 18px;
	color: #221D1D;
}

.clone-gift-sub {
	margin: 12px 0 4px;
	font-size: 11px;
	font-weight: 600;
	line-height: 16px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #221D1D;
}

.clone-gift-list {
	margin: 6px 0 0;
	padding: 0 0 0 16px;
	list-style: disc;
}

.clone-gift-list li {
	margin: 0 0 6px;
}

/* 手机支：卡宽 334，两个 104 的创意并排仍有余量；表头与卡同宽，语气不变 --- */
html[data-clone-branch="mobile"] .clone-gift {
	margin-top: 14px;
	padding-top: 14px;
}

html[data-clone-branch="mobile"] .clone-gift-sheet {
	width: 100%;
	height: 88vh;
}

.clone-gift-x:focus-visible,
.clone-gift-details:focus-visible {
	outline: 1px solid #221D1D;
	outline-offset: 2px;
}

/* F18-GIFTBLOCK */
/* F20-PINK */
/* PINK 品牌切换标签已整元素删除（构建器 F20，见 runtime/docs/rework_F20_pink.md）。捕获件里没有
   单品牌样本，剩下的 VS 保持捕获中"一侧"的宽度：两标签列表实测 191px（桌面六路由，
   1024/1280/1440/1600/1920 同值），每个标签 calc(50%) = 95.5px。不锁列表宽时它会收缩到
   108px，VS 只剩 54px —— 与另一侧不等宽。手机端列表本身 100%（375），无需规则。
   列表的 `justify-content: space-around` 把剩下的标签居中：左右各 47.75px，不留半个空槽。 */
html.desktop .react-masthead-component-brand-tabs-list[data-clone-brand-solo="1"] {
	width: 191px;
}
/* M1-GALLERY */
/* 手机 PDP 图库（M1-pdp-gallery）。两条规则，各管一件实测出来的事：
   1) 只有一张图的颜色：捕获件的指示条是"位置选择器"，没有可选的位置就不打印 ——
      但它在捕获里占着高度，留着就是图片下面一条空白。整条指示条按根节点标记隐藏。
   2) 横向拖动时只接管横轴：`pan-y` 让页面竖滑照旧，横向手势落到滑块的监听上，
      不出现"手指一横滑，页面跟着上下跳"。类名体系与几何都不动。 */
[data-clone-gallery-single="1"] .prism-carousel-slide-indicators {
	display: none;
}
.prism-carousel .slick-list {
	touch-action: pan-y;
}

/* M3-VIDEO */
/* 手机 PDP 图库的视频位（M3-video-slide）。一条规则，管的是实测出来的那一处错位：
   捕获的手机幻灯片包壳 `.sc-13tgr19-3.jdhnHq` 靠 `padding-top: 498.75px` 撑出 3:4 的框，并
   `overflow: hidden`；照片位的 `<picture>` 在那个包壳里是绝对定位的按钮，所以落在框内
   （实测 `dy = -0.5`），而视频位的瓦片根 `.clone-pdp-video` 是普通流里的 relative 块，从
   padding 之后开始排 —— 整整掉到框下 498.8px，被包壳裁掉，主图区就是一片近白
   （`#F7F4F6`，非白像素只剩控件那 5%）。把瓦片根按照片位同样的方式压进框里，几何取包壳
   自己的盒子，不新写宽高、不动 `.slick-list` 的高度、不加感叹号。 */
@media (max-width: 1023px) {
	.slick-slide .clone-pdp-video {
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
	}
}

/* M4-DELIVERY */
/* ---------------------------------------------------------------------------
 * 购物袋行「Change Delivery Method」打开的配送方式模态框（三卡 + 三面板 + 页脚）。
 *
 * 规格来源：runtime/docs/captured/delivery/spec.json、report.md、
 * _raw_{desktop,mobile}_measure.json / _raw_*_ancestors.json，以及
 * desktop-after-tab2.png / mobile-after-tab2.png 的像素读数（边框、底色、分割线、
 * 页脚色带都从截图取样，RGB 全等）。
 *
 * 为什么要在这里写规则：捕获件用的是 styled-components 哈希类（sc-nkkdgh-* /
 * sc-1ayksym-* / sc-1e21uev-* …），这些类在镜像 CSS 里一条规则都没有（对
 * assets/mirror/*.css 逐个 grep：0 命中），几何全部由运行期注入的 CSSOM 给出。
 * 所以本段按实测值把几何写回来，选择器一律以 #clone-delivery-dialog 打头：
 *   - 不去碰 PDP 的同名 data-testid 规则（patch.css 里已有一条
 *     [data-testid="ShipToYouTab"]{height:88px}，PDP 的三卡是 88px；购物袋弹窗的卡
 *     是 59px / 76px，必须在本段内覆盖，靠 id 选择器的特异性取胜）；
 *   - 不改既有类名体系，不给任何规则加 !important。
 *
 * 实测对照（桌面 1440×900 dpr1 / 手机 375×812 dpr2）：
 *   dialog  500×295 @(470,303)      / 375×252 @(0,560)   底部 sheet
 *   header  60（含 1px 下边框）      / 手机无 header（实测 560→568 全白，无标题无关闭钮）
 *   wrapper 476 宽、padding 12       / 351 宽、padding 12
 *   tablist 476×59，grid 3×153.328，gap 8
 *                                    / 351×76，grid 3×111.667，gap 8
 *   卡片    153.33×59，pad 8.004，radius 4.008，border 1px #EFECEA / #000
 *   箭头    ::before 16×8 黑三角，left 12，top 卡高−2，露出 6px；::after #F9F8F9 遮缝
 *   面板    与 tablist 间距 16，面板高 60（3 行 ×20），面板区下留 20
 *   页脚    量高 48 + 下留白 12
 * ------------------------------------------------------------------------- */

#clone-delivery-dialog {
	position: fixed;
	inset: 0;
	z-index: 1001;
	box-sizing: border-box;
	font-family: PublicSans, Helvetica, Arial, sans-serif;
	font-size: 11px;
	font-weight: 400;
	line-height: 17px;
	letter-spacing: 0.44px;
	color: #221D1D;
	-webkit-font-smoothing: antialiased;
}

/* 关闭态：模板克隆进来前整个 section 带 hidden（template 内容本身不渲染） */
#clone-delivery-dialog[hidden] {
	display: none;
}

#clone-delivery-dialog *,
#clone-delivery-dialog *::before,
#clone-delivery-dialog *::after {
	box-sizing: border-box;
}

/* 遮罩：截图取样 (127,127,127) 压在白底上 = 50% 黑 */
#clone-delivery-dialog .cYDces {
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.5);
}

/* ---------- 对话框本体：桌面居中 500×295 ---------- */
#clone-delivery-dialog [role="dialog"] {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	flex-direction: column;
	width: 500px;
	height: 295px;
	margin: 0;
	padding: 0;
	background-color: #FFFFFF;
	outline: none;
}

/* ---------- 抬头：60 高（59 内容 + 1px 下边框 #E0DAD5） ---------- */
#clone-delivery-dialog .hfzIaf {
	display: flex;
	flex: 0 0 auto;
	width: 100%;
}

#clone-delivery-dialog .ksCOoa {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: 60px;
	padding: 0 14px 0 12px;
	border-bottom: 1px solid #E0DAD5;
}

#clone-delivery-dialog h1 {
	margin: 6px 0 0;
	padding: 0;
	font-size: 15px;
	font-weight: 400;
	line-height: 17px;
	letter-spacing: 0.04em;
	color: #221D1D;
}

#clone-delivery-dialog .dCvqiQ {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	margin: 0;
	padding: 0;
	border: 0;
	background-color: transparent;
	color: #221D1D;
	cursor: pointer;
}

#clone-delivery-dialog .prism-icon-close svg {
	display: block;
	width: 20px;
	height: 20px;
}

/* ---------- 面板区外壳：抬头下 8，左右/上各 12，下 0 ---------- */
#clone-delivery-dialog .jbbCJP {
	display: block;
	flex: 0 0 auto;
	width: 100%;
	margin: 8px 0 0;
	padding: 12px 12px 0;
}

#clone-delivery-dialog .fNYXAk {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	justify-content: flex-start;
	width: 100%;
}

#clone-delivery-dialog .yFhIk {
	display: block;
	width: 100%;
}

/* ---------- 三卡：grid 3 列、gap 8、行高 59 ---------- */
#clone-delivery-dialog .enTcCy {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, 153.328px);
	grid-auto-rows: 59px;
	gap: 8px;
	width: 100%;
}

#clone-delivery-dialog .kxnPpN {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: auto;
	height: 100%;
	min-height: 0;
	margin: 0;
	padding: 8.004px;
	border: 1px solid #EFECEA;
	border-radius: 4.008px;
	background-color: #FFFFFF;
	box-shadow: none;
	font-family: inherit;
	font-size: 11px;
	font-weight: 400;
	line-height: 17px;
	color: #221D1D;
	text-align: center;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
	overflow: visible;
}

#clone-delivery-dialog .kxnPpN[aria-selected="true"] {
	border-color: #000000;
	background-color: #F9F8F9;
}

/* 选中态向下的小箭头：::before 黑三角（可见 16×8），::after 用选中卡底色盖住
   卡片 1px 下边框与三角顶边 0.9219px（spec.json `arrow`）。
   top 的百分比对的是卡片的 padding box（卡高减两条 1px 边框 = 57 / 74），所以「卡高−2」写成
   calc(100% - 1px) 才对得上 border box 的 57 / 74；::after 再抬 0.9219px 遮住卡片下边框。
   两条分支同一个表达式，不需要按卡高分支。 */
#clone-delivery-dialog .kxnPpN::before,
#clone-delivery-dialog .kxnPpN::after {
	content: " ";
	position: absolute;
	left: 12px;
	display: block;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 8px 8px 0 8px;
	border-color: transparent;
	border-bottom-width: 0;
	opacity: 0;
	pointer-events: none;
}

#clone-delivery-dialog .kxnPpN::before {
	top: calc(100% - 1px);
	border-top-color: #000000;
}

#clone-delivery-dialog .kxnPpN::after {
	top: calc(100% - 1.9219px);
	border-top-color: #F9F8F9;
}

#clone-delivery-dialog .kxnPpN[aria-selected="true"]::before,
#clone-delivery-dialog .kxnPpN[aria-selected="true"]::after {
	opacity: 1;
}

/* 卡内图标：渲染 16×16，形状在 sprite 里（DOM 内 path 数 0） */
#clone-delivery-dialog .iiHjvc {
	display: block;
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
}

#clone-delivery-dialog .iiHjvc svg {
	display: block;
	width: 16px;
	height: 16px;
}

/* 卡内标签：12/600/17，字距 0.48，上下 padding 4.008，居中；宽度随内容收（实测 70.2） */
#clone-delivery-dialog .kxnPpN p {
	margin: 0;
	padding: 4.008px 0;
	font-family: inherit;
	font-size: 12px;
	font-weight: 600;
	line-height: 17px;
	letter-spacing: 0.48px;
	text-align: center;
	color: #221D1D;
}

/* 副文案槽（每卡第二个 p）：9.48/12，字距 0.3792，空态高 0、Unavailable 时 #605858。
   位置照捕获件：卡片盒保持 59（spec.json cards[]），副文案挂在卡片下边框之外、落进
   tablist 与面板之间那 16px 空隙 —— 官网自己就是这样（desktop-after-tab2.png 取样：卡 2
   下边框在 y=441/442，Unavailable 的字在 y=443..448），所以 `top: 100%` 而不是压在卡内。
   登记为 D-M4-01：官网另一次会话里副文案会把卡片撑到 71，本复刻取 59 那一版读数。 */
#clone-delivery-dialog .kxnPpN p + p {
	position: absolute;
	left: 0;
	right: 0;
	bottom: auto;
	top: 100%;
	padding: 0;
	font-size: 9.48px;
	font-weight: 400;
	line-height: 12px;
	letter-spacing: 0.3792px;
	color: #605858;
}

#clone-delivery-dialog .kxnPpN p + p:empty {
	height: 0;
	color: #221D1D;
}

/* ---------- 面板：tablist 下 16，面板高 60，面板区下留 20 ---------- */
#clone-delivery-dialog .cXbnzH {
	display: block;
	margin-top: 16px;
	padding-bottom: 20px;
}

#clone-delivery-dialog [role="tabpanel"] {
	height: 60px;
	outline: none;
}

#clone-delivery-dialog [role="tabpanel"][hidden] {
	display: none;
}

/* 面板内的行：2 列（左内容 / 右对齐）。行高照捕获件取样：第 1 行 20、门店面板的空行 12、
   第 3 行 20（desktop-after-tab2.png：卡 2 行的字在 y=463..471，门店行的字在 y=495..503）。 */
#clone-delivery-dialog .kdeaOz,
#clone-delivery-dialog .fqnfHd,
#clone-delivery-dialog .bvgGja {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-rows: 20px 12px 20px;
	grid-auto-rows: auto;
	align-items: center;
	width: 100%;
	height: 100%;
}

#clone-delivery-dialog .kdeaOz > div,
#clone-delivery-dialog .fqnfHd > div,
#clone-delivery-dialog .bvgGja > div {
	display: flex;
	align-items: center;
	height: 100%;
	min-width: 0;
}

#clone-delivery-dialog .rowflex {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 6px;
	min-width: 0;
}

#clone-delivery-dialog .colflex {
	display: flex;
	flex-direction: row;
	align-items: baseline;
	gap: 6px;
}

/* 网格落位：1 行左 / 1 行右 / 3 行通栏（2 行留给门店面板的空行） */
#clone-delivery-dialog .KLswN,
#clone-delivery-dialog .kmHXLR {
	grid-column: 1;
	grid-row: 1;
}

#clone-delivery-dialog .gdUHIN,
#clone-delivery-dialog .eCqma {
	grid-column: 2;
	grid-row: 1;
	justify-content: flex-end;
}

#clone-delivery-dialog .eZybFJ {
	grid-column: 1;
	grid-row: 2;
}

#clone-delivery-dialog .pdMwN,
#clone-delivery-dialog .drEurl {
	grid-column: 1 / -1;
	grid-row: 3;
	/* 第 3 行里「Standard Delivery / Opens at 10:00 AM」与右侧链接按钮之间的 6px，与捕获件
	   同值（desktop-after-tab2.png：AM 收在 x=121、Store Details 起在 127）。这两个格子里的
	   两个子节点是直接兄弟，没有 .rowflex 包壳，所以缝要落在这里。 */
	gap: 6px;
}

/* 面板里的文字与「链接」按钮：12/17，字距 0.44，链接是下划线 #4E3844。
   字号取自截图取样而不是猜：同一行右边对齐的 In Stock 在官网宽 82px，11px 下只有 75px，
   12px 下 82px 对上（desktop-after-tab2.png，crop x 405..486 vs 412..486）。 */
#clone-delivery-dialog [role="tabpanel"] p,
#clone-delivery-dialog [role="tabpanel"] span {
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-size: 12px;
	font-weight: 400;
	line-height: 17px;
	letter-spacing: 0.44px;
	color: #221D1D;
}

#clone-delivery-dialog [role="tabpanel"] button {
	margin: 0;
	padding: 0;
	border: 0;
	background-color: transparent;
	font-family: inherit;
	font-size: 12px;
	font-weight: 400;
	line-height: 17px;
	letter-spacing: 0.44px;
	color: #4E3844;
	text-decoration: underline;
	cursor: pointer;
}

#clone-delivery-dialog [role="tabpanel"] button:hover {
	color: #7A6A73;
}

/* 库存行（In Stock / Limited Stock）比同排文字重 */
#clone-delivery-dialog [role="tabpanel"] .DdQGO {
	font-weight: 600;
}

/* ---------- 页脚：量高 48 + 下留白 12；左 69 宽数量下拉，右 UPDATE ITEM ---------- */
#clone-delivery-dialog .bhAyvE {
	display: flex;
	flex: 0 0 auto;
	justify-content: flex-end;
	width: 100%;
	padding: 0 12px 12px;
}

#clone-delivery-dialog .GXtch {
	display: flex;
	width: 100%;
}

#clone-delivery-dialog .lcbIKx {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	gap: 8px;
	width: 100%;
	height: 48px;
}

#clone-delivery-dialog .jgjcEM {
	position: relative;
	flex: 0 0 68px;
	width: 68px;
	height: 48px;
}

/* 数量下拉：截图取样 (244,235,221) = #F4EBDD；数字落在框内 21px、箭头右距 12px（同上截图） */
#clone-delivery-dialog .fnunKn {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0 24px 0 20px;
	border: 0;
	background-color: #F4EBDD;
	font-family: inherit;
	font-size: 12px;
	font-weight: 400;
	line-height: 17px;
	color: #221D1D;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

#clone-delivery-dialog .ddIkHi {
	position: absolute;
	top: 50%;
	right: 12px;
	transform: translateY(-50%);
	pointer-events: none;
}

#clone-delivery-dialog .ddIkHi svg {
	display: block;
	width: 15px;
	height: 15px;
	transform: rotate(90deg);
}

#clone-delivery-dialog .iwZSjD {
	flex: 1 1 auto;
	min-width: 0;
	height: 48px;
}

/* UPDATE ITEM：截图取样 (244,198,207) = #F4C6CF，圆角 3，字 #4E3844，全大写 */
#clone-delivery-dialog .bRddIM {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 1px solid #F4C6CF;
	border-radius: 3px;
	background-color: #F4C6CF;
	font-family: inherit;
	font-size: 15px;
	font-weight: 400;
	line-height: 17px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #4E3844;
	cursor: pointer;
}

/* ---------- 键盘焦点：只加外框，不改几何 ---------- */
#clone-delivery-dialog .kxnPpN:focus-visible,
#clone-delivery-dialog button:focus-visible,
#clone-delivery-dialog .fnunKn:focus-visible {
	outline: 2px solid #000000;
	outline-offset: 2px;
}

/* ---------- 手机分支：贴底 sheet 375×252，抬头整块不渲染，8px 上留白 ---------- */
html[data-clone-branch="mobile"] #clone-delivery-dialog [role="dialog"] {
	top: auto;
	right: 0;
	bottom: 0;
	left: 0;
	transform: none;
	width: 100%;
	height: 252px;
	padding-top: 8px;
}

html[data-clone-branch="mobile"] #clone-delivery-dialog .hfzIaf {
	display: none;
}

html[data-clone-branch="mobile"] #clone-delivery-dialog .jbbCJP {
	margin-top: 0;
}

html[data-clone-branch="mobile"] #clone-delivery-dialog .enTcCy {
	grid-template-columns: repeat(3, 1fr);
	grid-auto-rows: 76px;
}

/* 手机 111.66 宽下标签换两行是捕获件里的硬换行 + pre-line（实测 white-space:
   pre-line；桌面是 normal，同一个 p 在桌面只占一行） */
html[data-clone-branch="mobile"] #clone-delivery-dialog .kxnPpN p {
	white-space: pre-line;
}

/* ==================================================================================
 * M7-BAG — 手机端袋页 / 加购弹层四项修复（2026-11-30）
 *
 * 本块只补三样东西，全部是本轮新增节点的外观，或已经把规则改成"按捕获件"的地方：
 *   1. .clone-bag-row-error   —— 数量 AJAX 失败时那一行下方的错误行（clone-side chrome，
 *                                捕获件没有错误态；排版沿用同区块 .clone-line-total 的
 *                                12px/16px，色值用本站既有的 #C0392B 错误色）
 * 吸底条的显隐规则在 clone-bag-mobile.js 里（M7-BAG ④），× 的图形在 pdp.php 里换成捕获精灵
 * 的 #close 形状（M7-BAG ①）——这两处都不需要新样式，所以本块不重复声明。
 * ================================================================================== */

.clone-bag-row-error {
	display: block;
	flex: 0 0 100%;
	grid-column: 1 / -1;
	margin: 4px 0 0;
	font-family: inherit;
	font-size: 12px;
	font-weight: 400;
	line-height: 16px;
	letter-spacing: 0;
	color: #C0392B;
}
/* ==================================================================================
 * M10-BAG —— 袋页三件事：行图（归属 pdp.php 的取值）、Available Offers、推荐位
 *
 * 本小节只写三条规则，每条都只匹配本轮新增的标记或本轮点名的容器；没有强制优先级声明
 * （全文不写强制优先级声明），也不重指任何镜像规则。行图那件事在 PHP 侧完成（行图取该色图库
 * 第一张大图，色卡仍用小图 `_SW`），此处不写任何规则。
 * ================================================================================== */

/* ---- ② Available Offers：APPLY 换成赠品缩略图，图高 = 左侧文字块高 -----------------
 *
 * 捕获件把每条 offer 写成一行 flex（内联 `--prism-LayoutFlex-alignItems: center`），左侧是
 * 文案列（h2），右侧原先是 `Apply` 按钮（71.03x32）。本轮把按钮换成赠品图，并把图的盒高
 * 写成文案的行盒：捕获的两条文案都是两行、行高 20px，实测 h2 盒高 40.00（手机 375 与桌面
 * 1440 上都是 40），所以 `height: 40px` 就是"和文字一样高"，图宽由两张原图各自的比例决定
 * （2280x3039 -> 30.0 宽、375x375 -> 40.0 宽），`object-fit: contain` 保证不变形不裁切。
 *
 * 为什么不写 `align-self: stretch`：图片是替换元素，`width:auto` + stretch 时它的固有比例会
 * 反过来把整行撑高（实测 72 宽的上限把行高从 40 撑到 89 / 112.95），那是循环依赖；一个确定
 * 的盒高才让"图高 = 文字块高"成立。 */
.available-offers .clone-offer-gift {
	display: block;
	align-self: center;
	height: 40px;
	width: auto;
	max-width: 72px;
	object-fit: contain;
	object-position: right center;
	flex: 0 0 auto;
}

/* ---- ③ 推荐位：滑片顶端对齐 + 卡片等高 + 整卡可点 --------------------------------
 *
 * 改前读数（手机 375x812 dpr2，六行购物袋）：同一行 13 张卡里 6 张顶部 y=3199.6、7 张
 * y=3411（正好低一个卡头高度），底部散布 3508..3784 —— 因为滑片是
 * `display:inline-block; vertical-align:baseline`，没有图片的卡片没有基线文字可对齐，
 * 整块被下推到行盒的基线上。
 *
 * 修法：只在这条 `Add $X More For Free Shipping` 轮播（`.impulse-banner`）内把滑片容器改成
 * flex 行并 `align-items: stretch`，滑片 `flex: 0 0 auto` 保持自己的宽度 —— 顶端对齐由行盒
 * 负责，等高由交叉轴拉伸负责。滚动容器仍是捕获件自己的 `overflow-x: auto`（改后
 * scrollWidth 2194 不变），横向滑动不受影响。桌面空袋页的 `Recommended for You` 滑片是
 * slick 结构、不在 `.impulse-banner` 内，选择器不会碰到它。
 *
 * 第三、四条给卡片一个整卡链接：`bag.php` 把该商品的本地 PDP 路由写成卡片首个子节点
 * （绝对定位、不参与布局），于是点图片、点标题、点空白都走同一个目的地。 */
.impulse-banner .cross-sell-carousel {
	display: flex;
	align-items: stretch;
}

.impulse-banner .cross-sell-carousel > .prism-carousel-slide {
	flex: 0 0 auto;
}

/* 整卡链接的默认形状：零尺寸的块，不占位、不加行盒 —— 空袋页的 `Recommended for You`
   滑片也写着同一枚链接（那里的卡片容器不是定位祖先，套用下面的绝对定位会覆盖整页），
   所以只有本条轮播内的链接才铺满卡片。 */
.clone-rec-link {
	display: block;
	width: 0;
	height: 0;
	overflow: hidden;
}

.impulse-banner .cross-sell-carousel [data-clone-rec-link] {
	position: absolute;
	inset: 0;
	width: auto;
	height: auto;
	z-index: 2;
}

/* ==========================================================================================
 * M8-VIDEO-PLAY
 *
 * THE PHONE'S VIDEO POSITION IS A COVER THAT PLAYS, NOT A DEAD IMAGE.
 *
 * 读数（2026-11-30，真 Chrome 158，官网只读）：
 *   桌面 1440x900 dpr1  <video autoplay muted loop playsinline>、无原生 controls，并在片内
 *                       自带的控制菜单里印 PlayPause —— 即"自动播 + 自带按钮"，两条路都在；
 *   手机 375x812 dpr2   整页 0 个 <video>，视频位是一张 …-poster.jpg（与 M3 结论一致）。
 * 所以首屏保持官网手机的封面字节不变，只在**同一个盒子**上叠一层播放器，首次轻触开播。
 *
 * 几何：封面 <img> 仍在流里、尺寸规则一条不动；播放器是 position:absolute 覆盖同一盒子
 * （.clone-pdp-video-media 在本文件早前已声明 position:relative，此处不重复声明）。
 * 透明度 0 时它不接收指针事件，因此"轻触"由瓦片自己接（clone-pdp.js 的手势闸门）。
 * 本块没有任何强制优先级声明，也不改既有选择器的几何。
 * ========================================================================================== */

.clone-pdp-video-el--tap {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background-color: transparent;
	opacity: 0;
	pointer-events: none;
}

.clone-pdp-video.is-playing .clone-pdp-video-el--tap {
	opacity: 1;
}

.clone-pdp-video[data-clone-video-playable="1"] {
	cursor: pointer;
}

/* ==================================================================================
 * M11-MARKER-SCROLL — `Add New Billing Address` 行右端的倒三角（可展开标识）
 *
 * 官网捕获件（两端）那一行是 `<div class="… fneEx">` + 一个文字 span：捕获 CSSOM 给 .fneEx 的
 * 规则是 `width:100%; display:flex; align-items:center; justify-content:space-between` ——
 * 整行宽、两端对齐、右端留空。本轮把标识追加成该 div 的第二个子节点，于是它自动落在最右侧，
 * 不必写任何定位。
 *
 * 形状：CSS border 三角（官网当前态采不到，登记为推定 —— rework_M11_marker_scroll.md §1.3）。
 * 尺寸：左右边框各 5px（宽 10px）、上边框 5px（高 5px），落在 20px 行盒内，行高不变。
 * 颜色取这一行捕获件自己的两个色值：未选中 = 单选图标边框色 #958F8F，选中 = 标签文字色
 * #221D1D（两者都来自 label 的内联 --prism-InputRadioDefaultLabel-* 变量，没有新配色）。
 * 本块不写任何强制优先级声明，也不改任何既有选择器的几何。
 * ================================================================================== */

.clone-billing-caret {
	display: inline-block;
	width: 0;
	height: 0;
	overflow: hidden;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 5px solid #958F8F;
	margin-left: 8px;
	flex: 0 0 auto;
}

body[data-clone-billing="new"] .clone-billing-caret {
	border-top-color: #221D1D;
}

/* ==================================================================================
 * M12-CARD-ERROR — 空卡号提示：从「气泡 + 字段红边」两框两行，收成「字段红边」一框一行
 *
 * 谁写的这个元素：网关插件的 gateway.js::cardErrorBox() 动态建 <p class="spg-error"
 * data-spg-error="1" role="alert">，再用 insertBefore(box, [data-card-fields]) 插在卡号
 * 槽位之前。四个卡槽住在 .clone-cardform__rows 这个 display:grid（两列 1fr 1fr +
 * 16px 列距）里，于是这个 <p> 成了网格的第一项：grid-column 默认 auto → 只占一列
 * （桌面 231.22 / 手机 147.00），13px 文案在 147px 里折成两行；它自带的 .spg-error 盒
 * （10px/12px 内距 + 1px #fecaca 边 + #fef2f2 底 + 8px 圆角）又和字段自己的红边一起
 * 叠成「两个红框」。
 *
 * 本轮只改这一个元素的样子，插件文件一个字都不动：
 *   - 横跨整行（grid-column: 1 / -1）且 width:100% → 宽度 = 卡号字段自身宽度
 *     （桌面 478.44 / 手机 310.00，实测误差 0.00）；
 *   - 去掉气泡：padding / border / background / border-radius 归零 → 唯一红框 =
 *     字段边框（本文件 F11 段已声明的 [data-card-fields]:has(input.spg-invalid)，
 *     1px #ce2b21）；
 *   - 红字保留，取插件自己的同色 #b91c1c（.spg-error 的 color）：这句话是网关的消息，
 *     墨色跟着网关走；站点红 #c8102e 是设计色，用在这里会让这一句和插件自己另外两条
 *     提示（.spg-decline / .spg-notice 的 #b42318 / #842029）分成两套红；
 *   - 单行：line-height 1.35（13px → 17.55px），13px/600 的文案在 310px 内不折；
 *   - 间距 0 0 8px，与网格行距（桌面 15px / 手机 16px）分开，气泡消失后不再多挤一行。
 *
 * 优先级：patch.css 在 gateway.css 之前入队（实测 cssOrder：… patch.css → verify.css →
 * gateway.css），同特异度会被插件规则压过，所以选择器带上 main（0,1,1 > 0,1,0）。
 * 本块不写任何强制优先级声明，也不改任何既有选择器的几何。
 * ================================================================================== */

main [data-spg-error="1"] {
	box-sizing: border-box;
	width: 100%;
	grid-column: 1 / -1;
	margin: 0 0 8px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: #b91c1c;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	word-break: normal;
}