.hb-family-compare,
.hb-pdp[data-rfq-id="1814"] [data-hb-tiger-rendered="port"] > header,
.hb-pdp .hb-native-description > :is([data-hb-tiger-rendered="expo"], [data-hb-tt-rendered="873"], [data-hb-tt-rendered="126"], [data-hb-tt-rendered="1814"], [data-hb-tt-rendered="125"], [data-hb-tt-rendered="127"], [data-hb-lineup-bento]) {
    --hb-feature-stone: #6a6055;
}
.hb-family-compare {
    --compare-ink: var(--hb-ink, #181817);
    --compare-rule: #deded7;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    margin: clamp(32px, 5vw, 72px) auto;
    padding: clamp(12px, 2.2vw, 30px);
    border-radius: 12px;
    scroll-margin-top: 100px;
    background: var(--hb-paper, #f5f4f0);
    color: var(--compare-ink);
    font-family: inherit; font-size: 16px; line-height: 1.45;
    text-align: left;
}
.hb-family-compare[hidden] { display: none; }
.hb-family-compare *, .hb-family-compare *::before { box-sizing: border-box; }
.hb-family-compare .compare-intro { margin: 0 0 20px; padding: 0; }
.hb-family-compare .compare-intro h2 {
    margin: 0 0 8px; color: var(--compare-ink);
    font-weight: 400; font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -.045em;
}
.hb-family-compare .compare-intro p { max-width: 65ch; margin: 0; font-size: 16px; color: var(--hb-muted, #62615d); }
.hb-family-compare .compare-intro p + p { margin-top: 8px; }
.hb-family-compare .compare-frame { background: white; border: 1px solid var(--compare-rule); border-radius: 8px; overflow: hidden; }
.hb-family-compare table { width: 100%; margin: 0; border-collapse: collapse; table-layout: fixed; border: 0; background: white; }
.hb-family-compare :is(th, td) {
    padding: 12px; vertical-align: top; text-align: left; background: white; color: var(--compare-ink);
    border: 0; border-right: 1px solid var(--compare-rule); overflow-wrap: anywhere; white-space: normal;
    font: inherit; font-size: 15px; line-height: 1.4;
}
.hb-family-compare tr > :last-child { border-right: 0; }
.hb-family-compare thead th { border-top: 3px solid transparent; }
.hb-family-compare thead .compare-current { border-top-color: var(--compare-ink); }
.hb-family-compare .compare-corner { width: 15%; vertical-align: bottom; }
.hb-family-compare :is(.compare-corner, .compare-spec) { font-weight: 600; }
.hb-family-compare label { display: block; margin: 0 0 4px; color: var(--compare-ink); font-size: 14px; }
.hb-family-compare select {
    display: block; width: 100%; max-width: 100%; min-width: 0; height: 44px; margin: 0;
    padding: 0 22px 0 7px; border: 1px solid var(--hb-muted, #62615d); border-radius: 4px; background-color: white;
    background-position: right 5px center; color: var(--compare-ink); font: inherit; font-size: 16px; text-overflow: ellipsis;
}
.hb-family-compare .compare-product { display: block; color: var(--compare-ink); text-decoration: underline; text-underline-offset: 4px; }
.hb-family-compare .compare-product:hover { color: var(--compare-ink); text-decoration-thickness: 2px; }
.hb-family-compare .compare-product img { display: block; width: 100%; height: clamp(90px, 11vw, 150px); margin: 12px 0 8px; object-fit: contain; }
.hb-family-compare .compare-product span { font-family: inherit; font-weight: 600; font-size: 18px; line-height: 1.2; }
.hb-family-compare .compare-marker { display: inline-block; margin-top: 6px; color: var(--compare-ink); font-size: 13px; font-weight: 600; }
.hb-family-compare [scope=rowgroup] { background: var(--hb-feature-stone); color: white; font-weight: 600; padding-block: 8px; }
.hb-family-compare .compare-tint > * { background: var(--hb-paper, #f5f4f0); }
.hb-family-compare .compare-note { border-top: 1px solid var(--compare-rule); font-size: 13px; }
.hb-family-compare :is(a,select):focus-visible { outline: 2px solid var(--compare-ink) !important; outline-offset: 3px !important; }
.hb-family-compare :is(.compare-status,.compare-sr-only) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.hb-family-compare[data-compact=true] :is(th,td) { padding: 9px; }
.hb-family-compare table tbody :is(.compare-spec, [scope=rowgroup]) {
    padding-inline-start: clamp(16px, 2vw, 24px);
}
.hb-family-compare[data-compact=true] .compare-spec { padding-bottom: 2px; }
.hb-family-compare[data-compact=true] .compare-spec:only-child { border-right: 0; }
.hb-family-compare[data-compact=true] tbody td:not(.compare-note) { padding-top: 3px; }
/* Keep the native comparison grid inside the theme's mobile stacked-table breakpoint. */
.hb-family-compare table thead { display: table-header-group; }
.hb-family-compare table tbody { display: table-row-group; }
.hb-family-compare table tr { display: table-row; }
.hb-family-compare table :is(th, td) { display: table-cell; width: auto; }
.hb-family-compare table .compare-corner { width: 15%; }
.hb-family-compare table td::before { display: none; content: none; }
.hb-family-compare:not([data-layout="phone"]) .compare-product img { margin-top: 0; }

.hb-pdp .hb-native-description.hb-pdp-story > :is(
    [data-hb-tiger-rendered="expo"],
    [data-hb-tt-rendered="873"],
    [data-hb-tt-rendered="126"], [data-hb-tt-rendered="1814"],
    [data-hb-tt-rendered="125"],
    [data-hb-tt-rendered="127"],
    [data-hb-lineup-bento]
) {
    width: 100%;
    max-width: none;
    padding-inline: clamp(12px, 2.2vw, 30px);

    font-family: inherit;
    color: var(--hb-ink);
    background-color: var(--hb-paper);

    & :is(h2, h3, p, small) { font-family: inherit; }
    & :is(h2, h3) { font-weight: 400; }
    & h2 { letter-spacing: -.045em; }
    & h3 { letter-spacing: -.035em; }
    & p, & :is(.ep-tile, .ep-last, .tile) p { color: var(--hb-muted); }
    & small { color: var(--hb-muted); font-size: 11px; font-weight: 700; letter-spacing: .13em; }
    & :is(.tile, .ep-tile, .ep-last) { color: var(--hb-ink); background-color: white; }
    & :is(.hero, .ep-hero, .no-photo) { background-color: var(--hb-ink); color: white; }
    & :is(.hero, .ep-hero) { background-color: var(--hb-feature-stone); }
    & :is(.hero, .ep-hero, .no-photo) :is(h2, h3, p, small) { color: white; }
}

.hb-family-compare .compare-generation a {
    text-decoration: underline;
    text-underline-offset: 4px;
}
.hb-family-compare .compare-generation a:hover { text-decoration-thickness: 2px; }

/* Gen 1's heading sits directly on the outer card. Paint only that heading and its existing gutter. */
.hb-pdp[data-rfq-id="1814"] .hb-pdp-story [data-hb-tiger-rendered="port"] > header {
    --port-gutter: 26px;
    position: relative;
    isolation: isolate;
    background: var(--hb-feature-stone);
    color: white;
}
.hb-pdp[data-rfq-id="1814"] [data-hb-tiger-rendered="port"] > header::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: calc(-1 * var(--port-gutter)) calc(-1 * var(--port-gutter)) 0;
    background: inherit;
    border-radius: 12px 12px 0 0;
}
.hb-pdp[data-rfq-id="1814"] .hb-pdp-story [data-hb-tiger-rendered="port"] > header :is(h2, p, small) {
    font-family: "Source Sans Pro", Arial, sans-serif;
}
@media (max-width: 630px) {
    .hb-pdp[data-rfq-id="1814"] .hb-pdp-story [data-hb-tiger-rendered="port"] > header { --port-gutter: 17px; }
}
