/*
 * The buying hero on product reviews (frontend\components\BuyPath, 2026-12-01).
 * Light on purpose: one bold thing per block (the price), nothing heavier than 600,
 * Open Sans, Outfit for the title and the price only. Every rule sits under .te-bp
 * (the hero is .te-bp.rvh), so nothing else on the page is restyled, and each one names
 * its own margins and weights so the site's shared styles cannot leak in.
 *
 * Sizes that matter: on a 1440x900 laptop the whole hero is on the first screen; on a
 * 390x664 phone the title, the rating, the price and both buttons are above the tab bar.
 */
@font-face { font-family: "Outfit"; src: url("/fonts/outfit-latin.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }

.te-bp, .te-bp *, .te-bp *::before, .te-bp *::after { box-sizing: border-box; }
.te-bp [hidden] { display: none !important; }
.te-bp {
    --blue: #1776C8; --blue-dk: #125A9C; --ink: #0f1b2d; --text: #374151; --muted: #5f6b7a;
    --line: #e3e8ef; --wash: #f4f8fc; --panel: #f1f4f8; --gold: #f5a623; --soft: #eaf3fc;
    font-family: 'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px; line-height: 1.5; color: var(--text); text-align: left;
    -webkit-font-smoothing: antialiased;
}
.te-bp p, .te-bp h1, .te-bp h2, .te-bp dl, .te-bp dt, .te-bp dd, .te-bp ul, .te-bp li, .te-bp form, .te-bp label { margin: 0; padding: 0; }
.te-bp a { color: var(--blue); text-decoration: none; }
.te-bp button { margin: 0; font-family: inherit; line-height: 1.2; text-transform: none; -webkit-appearance: none; appearance: none; -webkit-tap-highlight-color: transparent; }
.te-bp img { max-width: none; border: 0; vertical-align: middle; }
.te-bp a:focus-visible, .te-bp button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.te-bp .rvh-i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- the two buttons (hero, closing band, follow bar) ---------- */
.te-bp .rvh-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    height: 54px; padding: 0 18px; border-radius: 12px;
    font-size: 16px; font-weight: 600; line-height: 1; white-space: nowrap; text-decoration: none;
    transition: background-color .15s ease, border-color .15s ease, transform .12s ease;
    -webkit-tap-highlight-color: transparent;
}
.te-bp .rvh-btn:active { transform: scale(.985); }
.te-bp .rvh-btn-1 { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(23, 118, 200, .28); }
.te-bp .rvh-btn-1:hover, .te-bp .rvh-btn-1:focus { background: var(--blue-dk); color: #fff; text-decoration: none; }
.te-bp .rvh-btn-2 { background: #fff; color: var(--blue-dk); border: 1.5px solid var(--blue); }
.te-bp .rvh-btn-2:hover, .te-bp .rvh-btn-2:focus { background: var(--soft); color: var(--blue-dk); text-decoration: none; }
.te-bp .rvh-btn-2 .rvh-i { color: var(--blue); }

/* ---------- hero ---------- */
.rvh { background: var(--wash); border-bottom: 1px solid var(--line); }
.rvh .rvh-in { max-width: 1248px; margin: 0 auto; padding: 18px 24px 0; }
.rvh .rvh-crumbs { font-size: 13px; line-height: 1.4; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rvh .rvh-crumbs a { color: var(--muted); }
.rvh .rvh-crumbs a:hover { color: var(--blue-dk); text-decoration: underline; }
.rvh .rvh-sep { margin: 0 6px; color: #8e99a8; }
.rvh .rvh-grid { display: grid; grid-template-columns: minmax(0, 1fr) 452px; gap: 64px; align-items: start; padding: 22px 0 26px; }
.rvh .rvh-main { min-width: 0; }

.rvh .rvh-eyebrow { margin: 0 0 10px; font-size: 12.5px; font-weight: 600; line-height: 1.4; letter-spacing: .09em; text-transform: uppercase; color: var(--blue-dk); }
.rvh .rvh-h1 { font-family: 'Outfit', 'Open Sans', sans-serif; font-weight: 600; font-size: 46px; line-height: 1.08; letter-spacing: -.012em; color: var(--ink); text-wrap: balance; max-width: 15em; text-shadow: none; }
.rvh.rvh-long .rvh-h1 { font-size: 40px; max-width: 17em; }
.rvh .rvh-rating { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; margin-top: 16px; }
.rvh .rvh-stars { display: inline-flex; gap: 2px; }
.rvh .rvh-stars svg { width: 19px; height: 19px; }
.rvh .rvh-star-full { fill: var(--gold); }
.rvh .rvh-star-none { fill: #d9dee6; }
.rvh .rvh-score { font-size: 15px; font-weight: 600; color: var(--ink); }
.rvh .rvh-verdict { font-size: 13.5px; font-weight: 600; line-height: 1.4; color: var(--blue-dk); background: var(--soft); border-radius: 999px; padding: 4px 12px; }
.rvh .rvh-jump { font-size: 13.5px; }
.rvh .rvh-jump:hover { text-decoration: underline; }
.rvh .rvh-scores { margin-top: 10px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.rvh .rvh-scores span { white-space: nowrap; }
.rvh .rvh-scores b { font-weight: 600; color: var(--text); }
.rvh .rvh-scores i { font-style: normal; margin: 0 8px; color: #a9b3bf; }
.rvh .rvh-sum { margin-top: 18px; font-size: 17px; line-height: 1.62; color: var(--text); }
.rvh .rvh-sum a { text-decoration: underline; }
/* a one-off layout's small lines: when it was updated, minutes to read, its badges */
/* a review of a garment we do not sell: the line over the card that says which garment the card shows */
.rvh .rvh-alt { margin: 0 0 12px; font-size: 13.5px; line-height: 1.5; color: var(--text); }
.rvh .rvh-alt a { font-weight: 600; color: var(--blue-dk); text-decoration: underline; }
.rvh .rvh-alt-s { display: none; }
.rvh .rvh-answer { margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: var(--muted); max-width: 640px; }
.rvh .rvh-answer a { text-decoration: underline; }
.rvh .rvh-meta { margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--muted); }

.rvh .rvh-specs { display: flex; flex-wrap: wrap; margin-top: 22px; }
.rvh .rvh-specs div { padding: 2px 26px; border-left: 1px solid var(--line); }
.rvh .rvh-specs div:first-child { padding-left: 0; border-left: 0; }
.rvh .rvh-specs dt { font-size: 11.5px; font-weight: 400; line-height: 1.4; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.rvh .rvh-specs dd { margin-top: 3px; font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--ink); }

.rvh .rvh-ask { margin-top: 24px; max-width: 640px; }
.rvh .rvh-ask-l { display: flex; align-items: center; gap: 8px; max-width: none; font-size: 15.5px; font-weight: 600; line-height: 1.4; color: var(--ink); cursor: pointer; }
.rvh .rvh-ask-l .rvh-i { color: var(--blue); }
.rvh .rvh-ask-s { margin: 3px 0 10px 26px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.rvh .rvh-ask-box { display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #c9d8e8; border-radius: 999px; padding: 5px 5px 5px 20px; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); transition: border-color .15s ease, box-shadow .15s ease; }
.rvh .rvh-ask-box:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(23, 118, 200, .14); }
.rvh .rvh-ask-box input { flex: 1; min-width: 0; width: auto; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 0; outline: 0; background: transparent; box-shadow: none; font-family: inherit; font-size: 16px; line-height: 1.3; color: var(--ink); }
.rvh .rvh-ask-box input::placeholder { color: #6b7785; opacity: 1; }
.rvh .rvh-ask-box button { width: 44px; height: 44px; flex: none; padding: 0; border: 0; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .15s ease; }
.rvh .rvh-ask-box button:hover { background: var(--blue-dk); }
.rvh .rvh-ask-eg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.rvh .rvh-ask-eg button { font-size: 13px; color: var(--blue-dk); background: transparent; border: 1px solid #c9d8e8; border-radius: 999px; padding: 6px 12px; cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
.rvh .rvh-ask-eg button:hover { background: #fff; border-color: var(--blue); }

/* ---------- buy card ---------- */
.rvh .rvh-buy { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 14px 36px rgba(16, 24, 40, .08); }
.rvh .rvh-photo { order: 1; } .rvh .rvh-col { order: 2; } .rvh .rvh-price { order: 3; } .rvh .rvh-sale { order: 4; } .rvh .rvh-qty { order: 5; }
.rvh .rvh-next { order: 6; } .rvh .rvh-btns { order: 7; } .rvh .rvh-note { order: 8; } .rvh .rvh-links { order: 9; }
.rvh .rvh-photo { height: 188px; border-radius: 12px; background: var(--panel); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.rvh .rvh-photo img { height: 172px; width: auto; mix-blend-mode: multiply; transition: opacity .18s ease; }
.rvh .rvh-photo img.is-swapping { opacity: .35; }
.rvh .rvh-col { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.rvh .rvh-col-l { font-size: 13px; color: var(--muted); white-space: nowrap; }
.rvh .rvh-col-l b { font-weight: 600; color: var(--text); }
.rvh .rvh-dots { display: flex; align-items: center; gap: 3px; }
.rvh .rvh-dot { flex: none; width: 26px; height: 26px; padding: 0; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.rvh .rvh-dot span { display: block; width: 22px; height: 22px; border-radius: 50%; background: var(--c, #ccc); border: 1px solid rgba(15, 27, 45, .18); transition: box-shadow .15s ease; }
.rvh .rvh-dot.is-on span { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--blue); }
.rvh .rvh-more { font-size: 13px; margin-left: 5px; white-space: nowrap; }
.rvh .rvh-more:hover { text-decoration: underline; }
.rvh .rvh-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #eef1f5; }
.rvh .rvh-num { font-family: 'Outfit', 'Open Sans', sans-serif; font-weight: 600; font-size: 36px; line-height: 1; color: var(--ink); letter-spacing: -.01em; }
.rvh .rvh-unit { font-size: 15px; color: var(--muted); }
.rvh .rvh-sale { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--blue-dk); }
.rvh .rvh-code { display: inline-block; margin-left: 3px; padding: 1px 8px; border-radius: 6px; background: var(--soft); border: 1px dashed #8fbfea; font-weight: 600; letter-spacing: .02em; }
.rvh .rvh-qty { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.rvh .rvh-qty-l { font-size: 13px; color: var(--muted); }
.rvh .rvh-chips { display: flex; gap: 6px; }
.rvh .rvh-chip { min-width: 50px; height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid #cfd6df; background: #fff; font-size: 14.5px; font-weight: 400; color: var(--text); cursor: pointer; transition: border-color .15s ease, background-color .15s ease, color .15s ease; }
.rvh .rvh-chip:hover { border-color: var(--blue); }
.rvh .rvh-chip.is-on { border-color: var(--blue); background: var(--soft); color: var(--blue-dk); font-weight: 600; }
.rvh .rvh-next { margin-top: 8px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.rvh .rvh-next b { font-weight: 600; color: var(--blue-dk); }
.rvh .rvh-btns { display: flex; gap: 10px; margin-top: 14px; }
.rvh .rvh-btns .rvh-btn-1 { flex: 1.2; }
.rvh .rvh-btns .rvh-btn-2 { flex: 1; }
.rvh .rvh-note { margin-top: 12px; font-size: 13px; line-height: 1.45; color: var(--blue-dk); text-align: center; text-wrap: balance; }
.rvh .rvh-note .rvh-i { width: 15px; height: 15px; display: inline-block; vertical-align: -2.5px; margin-right: 6px; }
.rvh .rvh-links { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 8px; font-size: 13.5px; line-height: 1.4; color: #8e99a8; }
.rvh .rvh-links a:hover { text-decoration: underline; }

/* ---------- trust row ---------- */
.rvh .rvh-trust { list-style: none; padding: 14px 0 15px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13.5px; line-height: 1.4; color: #4b5563; }
.rvh .rvh-trust li { display: inline-flex; align-items: center; gap: 7px; list-style: none; }
.rvh .rvh-trust .rvh-i { width: 16px; height: 16px; color: var(--blue); }
.rvh .rvh-trust .rvh-i-leaf { color: #d52b1e; fill: #d52b1e; stroke-width: 1; }
.rvh .rvh-trust .rvh-i-star { color: var(--gold); fill: var(--gold); stroke-width: 1; }

/* the "Rating Breakdown" heading the rating line jumps to, clear of the sticky header */
#rating-breakdown { scroll-margin-top: 200px; }

/* ---------- closing band ---------- */
.te-bp.bp-close { padding: 56px 16px 60px; background: linear-gradient(180deg, #f4f8fc 0%, #fff 100%); border-top: 1px solid #edf2f8; text-align: center; }
.bp-close .bp-close-in { max-width: 720px; margin: 0 auto; }
.bp-close .bp-close-h { margin: 0 0 10px; font-family: 'Outfit', 'Open Sans', sans-serif; font-size: clamp(26px, 3vw, 34px); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; color: var(--ink); }
.bp-close .bp-close-p { margin: 0 auto 10px; max-width: 600px; font-size: 16px; line-height: 1.6; color: #4b5563; }
.bp-close .bp-close-p a { text-decoration: underline; }
.bp-close .bp-close-price { margin: 0 0 6px; font-family: 'Outfit', 'Open Sans', sans-serif; font-size: 22px; font-weight: 600; line-height: 1.2; color: var(--ink); }
.bp-close .bp-close-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.bp-close .bp-close-btns .rvh-btn { min-width: 220px; }
.bp-close .bp-close-links { margin-top: 18px; display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; color: #8e99a8; }
.bp-close .bp-close-links a:hover { text-decoration: underline; }

/* ---------- follow bar ---------- */
.te-bp.bp-dock {
    position: fixed; left: 50%; bottom: 18px; z-index: 9990;
    display: flex; align-items: center; gap: 10px;
    max-width: calc(100vw - 32px); padding: 8px 8px 8px 10px;
    background: rgba(255, 255, 255, .97); border: 1px solid var(--line); border-radius: 16px;
    box-shadow: 0 12px 32px rgba(16, 24, 40, .14), 0 2px 6px rgba(16, 24, 40, .06);
    -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
    opacity: 0; visibility: hidden; transform: translate(-50%, 18px);
    transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
}
.te-bp.bp-dock.is-in { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .22s ease, transform .22s ease; }
.bp-dock .bp-dock-info { display: flex; align-items: center; gap: 10px; min-width: 0; padding-right: 4px; color: inherit; }
.bp-dock .bp-dock-info:hover { text-decoration: none; }
.bp-dock .bp-dock-img { width: 40px; height: 40px; border-radius: 8px; background: var(--panel); object-fit: contain; mix-blend-mode: multiply; flex: none; }
.bp-dock .bp-dock-t { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.bp-dock .bp-dock-name { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bp-dock .bp-dock-price { font-size: 14px; color: var(--text); white-space: nowrap; }
.bp-dock .bp-dock-price b { font-weight: 600; color: var(--ink); }
.bp-dock .rvh-btn { height: 42px; padding: 0 16px; font-size: 14.5px; border-radius: 10px; box-shadow: none; }
.bp-dock .rvh-btn .rvh-i { width: 17px; height: 17px; }
.bp-dock .bp-dock-x { width: 34px; height: 34px; flex: none; padding: 0; border: 0; border-radius: 8px; cursor: pointer; display: flex; align-items: center; justify-content: center; background: transparent; color: #8e99a8; }
.bp-dock .bp-dock-x:hover { background: #f3f4f6; color: #4b5563; }
.bp-dock .bp-dock-x .rvh-i { width: 16px; height: 16px; }
body:has(#te-chat-window.te-open) .te-bp.bp-dock,
body:has(.mobile-search-overlay.active) .te-bp.bp-dock { display: none; }

/* ---------- short laptop screens: both buttons stay on the first screen ---------- */
@media (min-width: 861px) and (max-height: 780px) {
    .rvh .rvh-photo { height: 132px; }
    .rvh .rvh-photo img { height: 122px; }
    .rvh .rvh-h1 { font-size: 40px; }
}

/* ---------- small laptops and tablets on their side ---------- */
@media (max-width: 1120px) {
    .rvh .rvh-grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; }
    .rvh .rvh-h1 { font-size: 40px; }
    .rvh.rvh-long .rvh-h1 { font-size: 34px; }
    .rvh .rvh-specs div { padding: 2px 18px; }
    .rvh .rvh-btn { font-size: 15px; gap: 7px; padding: 0 12px; }
}

/* ---------- phones (and tablets held upright) ---------- */
@media (max-width: 860px) {
    .rvh .rvh-in { padding: 12px 16px 22px; display: flex; flex-direction: column; }
    .rvh .rvh-crumbs { font-size: 12px; }
    .rvh .rvh-grid, .rvh .rvh-main { display: contents; }
    .rvh .rvh-eyebrow { display: none; }
    .rvh .rvh-h1 { order: 1; margin-top: 10px; font-size: 27px; line-height: 1.14; max-width: none; }
    .rvh.rvh-long .rvh-h1 { font-size: 23px; line-height: 1.16; max-width: none; }
    .rvh .rvh-rating { order: 2; margin-top: 9px; gap: 6px 9px; }
    .rvh .rvh-stars svg { width: 16px; height: 16px; }
    .rvh .rvh-score { font-size: 14px; }
    .rvh .rvh-verdict { font-size: 12.5px; padding: 3px 10px; }
    .rvh .rvh-jump { display: none; }

    .rvh .rvh-buy { order: 3; margin-top: 14px; padding: 14px; border-radius: 16px; display: grid; grid-template-columns: 104px minmax(0, 1fr); column-gap: 14px; }
    .rvh .rvh-photo { grid-column: 1; grid-row: 1 / span 3; align-self: start; height: 112px; border-radius: 10px; }
    .rvh .rvh-photo img { height: 100px; }
    .rvh .rvh-price { grid-column: 2; grid-row: 1; margin: 0; padding: 0; border: 0; gap: 0 7px; }
    .rvh .rvh-num { font-size: 29px; line-height: 1.05; }
    .rvh .rvh-unit { font-size: 13px; }
    .rvh .rvh-sale { grid-column: 2; grid-row: 2; margin-top: 3px; font-size: 12.5px; }
    .rvh .rvh-sale .rvh-w { display: none; }
    .rvh .rvh-code { padding: 0 6px; margin-left: 2px; }
    .rvh .rvh-qty { grid-column: 2; grid-row: 3; margin-top: 8px; align-self: end; }
    .rvh .rvh-qty-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .rvh .rvh-chips { width: 100%; gap: 5px; }
    .rvh .rvh-chip { flex: 1; min-width: 0; padding: 0; height: 36px; font-size: 14px; }
    .rvh .rvh-btns { grid-column: 1 / -1; grid-row: 4; margin-top: 12px; gap: 8px; }
    .rvh .rvh-btn { height: 50px; padding: 0 8px; font-size: 15px; gap: 7px; border-radius: 11px; }
    .rvh .rvh-btn .rvh-i { width: 17px; height: 17px; }
    .rvh .rvh-btns .rvh-btn-1 { flex: 1.15; }
    .rvh .rvh-col { grid-column: 1 / -1; grid-row: 5; margin-top: 12px; flex-direction: column; align-items: flex-start; gap: 2px; }
    .rvh .rvh-dots { gap: 1px; margin-left: -3px; }
    .rvh .rvh-dot { width: 34px; height: 44px; }
    .rvh .rvh-dot span { width: 28px; height: 28px; }
    .rvh .rvh-more { margin-left: 6px; padding: 12px 4px; }
    .rvh .rvh-next { grid-column: 1 / -1; grid-row: 6; margin-top: 2px; }
    .rvh .rvh-note { grid-column: 1 / -1; grid-row: 7; margin-top: 8px; text-align: left; text-wrap: wrap; }
    .rvh .rvh-links { grid-column: 1 / -1; grid-row: 8; justify-content: flex-start; margin: 2px 0 -6px; }
    .rvh .rvh-links a { padding: 12px 0; }

    .rvh .rvh-trust { order: 4; border: 0; padding: 12px 2px 0; display: grid; grid-template-columns: auto auto; justify-content: start; gap: 6px 18px; font-size: 12.5px; }
    .rvh .rvh-trust li:last-child { grid-column: 1 / -1; }
    .rvh .rvh-sum { order: 5; margin-top: 18px; font-size: 15.5px; }
    .rvh .rvh-answer { order: 5; margin-top: 10px; font-size: 14px; max-width: none; }
    /* the line takes the card's first row, so the card's own rows move down one */
    .rvh .rvh-alt { grid-column: 1 / -1; grid-row: 1; margin: 0 0 10px; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .rvh .rvh-alt-l { display: none; }
    .rvh .rvh-alt-s { display: inline; }
    .rvh.rvh-standin .rvh-photo { grid-row: 2 / span 3; }
    .rvh.rvh-standin .rvh-price { grid-row: 2; }
    .rvh.rvh-standin .rvh-sale { grid-row: 3; }
    .rvh.rvh-standin .rvh-qty { grid-row: 4; }
    .rvh.rvh-standin .rvh-btns { grid-row: 5; }
    .rvh.rvh-standin .rvh-col { grid-row: 6; }
    .rvh.rvh-standin .rvh-next { grid-row: 7; }
    .rvh.rvh-standin .rvh-note { grid-row: 8; }
    .rvh.rvh-standin .rvh-links { grid-row: 9; }
    .rvh .rvh-meta { order: 5; margin-top: 8px; font-size: 12.5px; }   /* with the summary, under the buy card: it must not push the buttons down */
    .rvh .rvh-scores { order: 6; margin-top: 12px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
    .rvh .rvh-scores i { display: none; }
    .rvh .rvh-specs { order: 7; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 0; margin-top: 16px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
    .rvh .rvh-specs div { padding: 0 0 0 16px; }
    .rvh .rvh-specs div:nth-child(odd) { padding-left: 0; border-left: 0; }
    .rvh .rvh-specs dd { font-size: 15px; }
    .rvh .rvh-ask { order: 8; margin-top: 18px; max-width: none; }
    .rvh .rvh-ask-l { font-size: 15px; align-items: flex-start; }
    .rvh .rvh-ask-l .rvh-i { margin-top: 2px; }
    .rvh .rvh-ask-eg button { min-height: 40px; padding: 6px 14px; }

    #rating-breakdown { scroll-margin-top: 120px; }

    .te-bp.bp-close { padding: 44px 16px 48px; }
    .bp-close .bp-close-btns { flex-direction: column; }
    .bp-close .bp-close-btns .rvh-btn { width: 100%; min-width: 0; height: 52px; }

    /* the bar floats above the tab bar (64 px plus its raised Design button) */
    .te-bp.bp-dock { left: 10px; right: 10px; max-width: none; transform: translateY(18px); bottom: calc(84px + env(safe-area-inset-bottom, 0px)); padding: 7px 7px 7px 8px; border-radius: 14px; }
    .te-bp.bp-dock.is-in { transform: none; }
    .bp-dock .bp-dock-info { flex: 1; padding-right: 8px; }
    .bp-dock .bp-dock-img { width: 36px; height: 36px; }
    .bp-dock .rvh-btn { height: 44px; padding: 0 12px; }
    .bp-dock .bp-dock-design { display: none; }      /* the tab bar's Design button opens this garment */
    .bp-dock .bp-dock-x { width: 32px; height: 44px; }
}

/* ---------- small phones, a title of 45 to 52 characters: a little tighter, so both buttons stay above the tab bar ---------- */
@media (max-width: 860px) and (max-height: 739px) {
    .rvh.rvh-standin .rvh-crumbs { display: none; }   /* the line over the card takes the trail's height, so the buttons stay above the tab bar */
    .rvh.rvh-standin .rvh-h1 { margin-top: 2px; }
    .rvh.rvh-mid .rvh-h1 { font-size: 25px; }
    .rvh.rvh-mid .rvh-rating { margin-top: 7px; }
    .rvh.rvh-mid .rvh-buy { margin-top: 10px; }
}

/* ---------- taller phones: the same hero with room to breathe ---------- */
@media (max-width: 860px) and (min-height: 740px) {
    .rvh .rvh-in { padding-top: 14px; }
    .rvh .rvh-h1 { margin-top: 14px; font-size: 30px; }
    .rvh.rvh-long .rvh-h1 { font-size: 26px; }
    .rvh .rvh-rating { margin-top: 12px; }
    .rvh .rvh-buy { margin-top: 18px; padding: 16px; grid-template-columns: 116px minmax(0, 1fr); column-gap: 16px; }
    .rvh .rvh-photo { height: 128px; }
    .rvh .rvh-photo img { height: 114px; }
    .rvh .rvh-num { font-size: 32px; }
    .rvh .rvh-sale { margin-top: 5px; }
    .rvh .rvh-qty { margin-top: 10px; }
    .rvh .rvh-chip { height: 40px; }
    .rvh .rvh-btns { margin-top: 16px; }
    .rvh .rvh-btn { height: 54px; }
    .rvh .rvh-col { margin-top: 14px; }
    .rvh .rvh-trust { padding-top: 16px; gap: 8px 18px; }
}
@media (max-width: 360px) {
    .rvh .rvh-btn { font-size: 14px; gap: 5px; }
    .bp-dock .bp-dock-name { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .te-bp .rvh-btn, .te-bp.bp-dock, .rvh .rvh-photo img, .rvh .rvh-dot span, .rvh .rvh-chip { transition: none; }
}
