/* ============================================================================
   Oculato v2 — catalog, compare, guided finder, product pages
   Extends tokens.css + app.css. Apple-first hierarchy, fixed slots, readable
   tables, parameter-first mobile comparison.
   ============================================================================ */

.container--wide {
    max-width: 1240px;
}

:root {
    --label-secondary: rgba(60, 60, 67, 0.80);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --label-secondary: rgba(235, 235, 245, 0.74);
    }
}

[data-theme="dark"] {
    --label-secondary: rgba(235, 235, 245, 0.74);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.18);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.16);
}

/* --------------------------------------------------------------------------
   Hero receipt
   -------------------------------------------------------------------------- */

.hero-grid--receipt {
    grid-template-columns: 1.02fr 0.98fr;
}

.hero-grid--receipt .hero-visual {
    min-height: 0;
}

.hero-receipt {
    position: relative;
    width: min(100%, 460px);
    margin-left: auto;
    padding: 24px;
    border-radius: 28px;
    background: var(--bg-tertiary);
    box-shadow:
        var(--shadow-4),
        inset 0 0 0 0.5px var(--separator);
}

.hero-receipt__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    font-weight: var(--weight-semibold);
}

.hero-receipt__live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--label-secondary);
    font-size: 11.5px;
    font-weight: var(--weight-semibold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-receipt__profile {
    margin-top: 5px;
    color: var(--label-secondary);
    font-size: 13px;
}

.hero-receipt__rows {
    margin-top: 14px;
    border-top: 1px solid var(--separator);
}

.receipt-row {
    display: grid;
    grid-template-columns: 8px minmax(0, 1fr) auto;
    gap: 3px 10px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--separator);
    color: var(--label);
    text-decoration: none;
}

.receipt-row__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--dot, var(--blue));
}

.receipt-row__name {
    overflow: hidden;
    font-size: 14.5px;
    font-weight: var(--weight-medium);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.receipt-row__name small {
    margin-left: 4px;
    color: var(--label-secondary);
    font-size: 10.5px;
    font-weight: var(--weight-regular);
    letter-spacing: 0.02em;
}

.receipt-row__amount {
    font-size: 15.5px;
    font-variant-numeric: tabular-nums;
    font-weight: var(--weight-semibold);
    letter-spacing: -0.02em;
}

.receipt-row__bar {
    grid-column: 2 / -1;
    height: 4px;
    margin-top: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--fill-2);
}

.receipt-row__bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--dot, var(--blue));
    opacity: 0.8;
}

.receipt-row:hover .receipt-row__name {
    color: var(--blue);
}

.hero-receipt__note {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-top: 12px;
    color: var(--label-secondary);
    font-size: 12px;
    line-height: 1.45;
}

.hero-receipt__note .icon {
    width: 12px;
    height: 12px;
    margin-top: 1px;
}

.hero-receipt__link {
    margin-top: 12px;
    font-size: 14px;
}

/* --------------------------------------------------------------------------
   Hero editorial deck
   -------------------------------------------------------------------------- */

.hero-grid--editorial {
    grid-template-columns: 1.04fr 0.96fr;
    align-items: center;
}

.hero-deck {
    position: relative;
    width: 100%;
    max-width: 440px;
    height: 400px;
    margin-left: auto;
}

.hero-deck__card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(88%, 350px);
    transform: translate(calc(-50% + var(--x, 0px)), calc(-50% + var(--y, 0px))) rotate(var(--rot, 0deg));
    transition: transform 0.7s var(--ease-ios);
}

.hero-deck:hover .hero-deck__card {
    transform: translate(calc(-50% + var(--x, 0px)), calc(-50% + var(--y, 0px) - 6px)) rotate(calc(var(--rot, 0deg) * 0.85));
}

.hero-deck__caption {
    max-width: 34ch;
    margin: 18px auto 0;
    color: var(--label-secondary);
    font-size: 13.5px;
    line-height: 1.5;
    text-align: center;
}

.pick-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 236px;
    padding: 20px;
    border-radius: 22px;
    background: var(--bg-tertiary);
    box-shadow:
        var(--shadow-1),
        inset 0 0 0 0.5px var(--separator);
    color: var(--label);
    text-decoration: none;
    transition:
        transform var(--duration-base) var(--ease-out),
        box-shadow var(--duration-base) var(--ease-out);
}

.pick-card:hover {
    transform: translateY(-3px);
    box-shadow:
        var(--shadow-3),
        inset 0 0 0 0.5px var(--separator);
}

.pick-card__best {
    align-self: flex-start;
    margin-bottom: 14px;
    color: var(--label-secondary);
    font-size: 11.5px;
    font-weight: var(--weight-semibold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pick-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.pick-card h3 {
    margin-top: 14px;
    font-size: 21px;
    letter-spacing: -0.028em;
    line-height: 1.12;
}

.pick-card p {
    margin-top: 8px;
    color: var(--label-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.pick-card__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 18px;
    color: var(--blue);
    font-size: 13.5px;
    font-weight: var(--weight-semibold);
}

.pick-card__link .icon {
    width: 14px;
    height: 14px;
}

.home-statement {
    max-width: 780px;
    margin: 0 auto;
    padding: 44px 0;
    text-align: center;
}

.home-statement blockquote {
    margin: 16px 0 0;
    font-family: var(--font-serif, Georgia, serif);
    font-size: clamp(1.8rem, 3.6vw, 2.8rem);
    letter-spacing: -0.03em;
    line-height: 1.14;
}

.home-statement > p {
    max-width: 52ch;
    margin: 16px auto 0;
    color: var(--label-secondary);
    font-size: 15.5px;
    line-height: 1.6;
}

.home-statement .text-link {
    margin-top: 20px;
}

/* --------------------------------------------------------------------------
   Product grid & cards
   -------------------------------------------------------------------------- */

.product-grid {
    display: grid;
    gap: 14px;
}

.product-grid--picks {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-grid--selected {
    grid-template-columns: 210px repeat(4, minmax(0, 1fr));
    gap: 0;
    align-items: stretch;
}

.product-grid--selected .product-card {
    margin: 0 6px;
}

.product-grid__spacer {
    min-height: 1px;
}

.product-grid--catalog,
.product-grid--related {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-grid--catalog {
    margin-top: 22px;
}

.product-grid--selected {
    margin-top: 16px;
    align-items: stretch;
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    padding: 18px;
    border-radius: 22px;
    background: var(--bg-tertiary);
    box-shadow:
        var(--shadow-1),
        inset 0 0 0 0.5px var(--separator);
    transition:
        transform var(--duration-base) var(--ease-out),
        box-shadow var(--duration-base) var(--ease-out),
        border-color var(--duration-base) var(--ease-out);
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow:
        var(--shadow-3),
        inset 0 0 0 0.5px var(--separator);
}

.product-card.is-selected {
    box-shadow:
        var(--shadow-2),
        inset 0 0 0 1.5px color-mix(in srgb, var(--blue) 42%, transparent);
}

.product-card__best {
    align-self: flex-start;
    margin-bottom: 10px;
    padding: 5px 8px;
    border-radius: var(--radius-capsule);
    background: color-mix(in srgb, var(--blue) 10%, transparent);
    color: var(--label);
    font-size: 11px;
    font-weight: var(--weight-semibold);
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.product-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 30px;
}

.provider-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    height: 30px;
    padding: 0 9px;
    border-radius: 8px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.09);
    line-height: 1;
    white-space: nowrap;
}

.provider-logo {
    display: block;
    width: auto;
    max-width: 64px;
    height: 15px;
    object-fit: contain;
}

.provider-logo[src*="/amex."] {
    height: 19px;
    max-width: 42px;
}

.provider-logo--text {
    color: #1d1d1f;
    font-size: 11.5px;
    font-weight: var(--weight-semibold);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.type-badge {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 4px 7px;
    border-radius: var(--radius-capsule);
    background: var(--fill-4);
    color: var(--label-secondary);
    font-size: 11.5px;
    font-weight: var(--weight-semibold);
    letter-spacing: 0.05em;
    line-height: 1.15;
    text-align: right;
    white-space: nowrap;
}

.type-badge--credit,
.type-badge--charge {
    color: var(--label);
    background: color-mix(in srgb, var(--blue) 9%, transparent);
}

.type-badge--points,
.type-badge--cashback {
    color: var(--label);
}

.product-card__identity {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    min-height: 48px;
    margin-top: 12px;
}

.product-card__identity h3 {
    width: 100%;
    font-size: 18px;
    letter-spacing: -0.024em;
    line-height: 1.15;
}

.product-card__identity h3 a {
    color: var(--label);
    text-decoration: none;
}

.product-card__identity h3 a:hover {
    color: var(--blue);
}

.account-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--label-secondary);
    font-size: 11px;
    font-weight: var(--weight-medium);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.account-chip .icon {
    width: 10px;
    height: 10px;
}

.product-card__tagline {
    display: -webkit-box;
    min-height: 38px;
    margin-top: 5px;
    overflow: hidden;
    color: var(--label-secondary);
    font-size: 14px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-card__price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 3px 7px;
    min-height: 53px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--separator);
}

.product-card__amount {
    font-size: 26px;
    font-variant-numeric: tabular-nums;
    font-weight: var(--weight-semibold);
    letter-spacing: -0.035em;
    line-height: 1;
}

.product-card__period {
    color: var(--label-secondary);
    font-size: 12px;
    letter-spacing: 0.04em;
}

.product-card__first-year {
    width: 100%;
    color: var(--green);
    font-size: 12px;
    font-weight: var(--weight-medium);
}

.product-card__specs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 10px 0 0;
    padding-top: 10px;
    border-top: 1px solid var(--separator);
}

.product-card__specs dt {
    color: var(--label-secondary);
    font-size: 11.5px;
    font-weight: var(--weight-semibold);
    letter-spacing: 0.07em;
    line-height: 1.2;
    text-transform: uppercase;
}

.product-card__specs dd {
    margin: 3px 0 0;
    overflow: hidden;
    font-size: 13.5px;
    font-weight: var(--weight-semibold);
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-card__foot {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
}

.verification {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--label-secondary);
    font-size: 11.5px;
    font-weight: var(--weight-medium);
    line-height: 1.25;
}

.verification .icon {
    width: 11px;
    height: 11px;
}

.verification--verified .icon,
.verification.is-verified .icon {
    color: var(--green);
}

.verification--needs_review .icon,
.verification.is-warning .icon {
    color: var(--orange);
}

.verification--stale .icon,
.verification.is-danger .icon {
    color: var(--red);
}

.product-card__score {
    font-size: 16px;
    font-variant-numeric: tabular-nums;
    font-weight: var(--weight-semibold);
    letter-spacing: -0.03em;
}

.product-card__score small {
    color: var(--label-tertiary);
    font-size: 10.5px;
    font-weight: var(--weight-medium);
}

.product-card__actions {
    display: flex;
    gap: 6px;
    margin-top: 10px;
}

.product-card__actions .btn {
    flex: 1;
    padding-inline: 9px;
    font-size: 13.5px;
}

/* --------------------------------------------------------------------------
   Plan visual
   -------------------------------------------------------------------------- */

.plan-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    aspect-ratio: 1.586;
    padding: 7% 7% 6%;
    overflow: hidden;
    border-radius: 22px;
    container-type: inline-size;
    background:
        radial-gradient(110% 80% at 100% 0%, color-mix(in srgb, var(--plan-accent) 42%, transparent), transparent 58%),
        linear-gradient(145deg, color-mix(in srgb, var(--plan-accent) 16%, #101014), color-mix(in srgb, var(--plan-accent) 46%, #0b0b0e));
    color: #fff;
    box-shadow:
        0 26px 50px rgba(8, 10, 16, 0.28),
        0 3px 10px rgba(8, 10, 16, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.plan-visual__glow {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(112deg, transparent 28%, rgba(255, 255, 255, 0.1) 46%, transparent 62%),
        radial-gradient(70% 60% at 0% 100%, rgba(0, 0, 0, 0.25), transparent 62%);
    pointer-events: none;
}

.plan-visual > *:not(.plan-visual__glow) {
    position: relative;
    z-index: 1;
}

.plan-visual__top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 2.8cqw;
    font-weight: var(--weight-semibold);
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.plan-visual__brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    padding: 3px 6px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.94);
}

.provider-logo--visual {
    height: 12px;
    max-width: 54px;
}

.provider-logo--visual[src*="/amex."] {
    height: 15px;
    max-width: 34px;
}

.plan-visual__form {
    opacity: 0.62;
    font-size: 2.6cqw;
}

.plan-visual__name {
    margin-top: 5%;
    font-size: 7.2cqw;
    font-weight: var(--weight-semibold);
    letter-spacing: -0.02em;
    line-height: 1.05;
}

.plan-visual__bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: auto;
}

.plan-visual__chip {
    width: 12cqw;
    height: 9.5cqw;
    border-radius: 2cqw;
    background: linear-gradient(135deg, #f7e6ae 0%, #d9b65e 45%, #f3dc92 75%, #c9a24d 100%);
    box-shadow: inset 0 0 0 0.8px rgba(255, 255, 255, 0.42), inset 0 -1px 2px rgba(90, 60, 10, 0.28);
}

.plan-visual__network {
    font-size: 2.8cqw;
    font-weight: var(--weight-semibold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.82;
}

.plan-visual--charge {
    background:
        radial-gradient(110% 80% at 100% 0%, rgba(255, 255, 255, 0.2), transparent 56%),
        linear-gradient(145deg, #1a1a1e, #3b3b42);
}

.plan-visual--debit {
    background:
        radial-gradient(110% 80% at 100% 0%, color-mix(in srgb, var(--plan-accent) 36%, transparent), transparent 58%),
        linear-gradient(145deg, color-mix(in srgb, var(--plan-accent) 8%, #121216), color-mix(in srgb, var(--plan-accent) 32%, #0b0b0e));
}

.card-stage .plan-visual {
    transform: rotate(-2.4deg);
    transition: transform 0.6s var(--ease-ios);
}

.card-stage:hover .plan-visual {
    transform: rotate(0deg) translateY(-4px);
}

.result-card .plan-visual {
    border-radius: 16px;
    box-shadow: 0 14px 30px rgba(8, 10, 16, 0.24);
}

/* --------------------------------------------------------------------------
   Comparison matrix
   -------------------------------------------------------------------------- */

.cmp-shell {
    border-radius: 24px;
    background: var(--bg-tertiary);
    box-shadow:
        var(--shadow-2),
        inset 0 0 0 0.5px var(--separator);
}

.cmp-legend {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 13px 18px;
    border-bottom: 1px solid var(--separator);
    color: var(--label-secondary);
    font-size: 13.5px;
}

.cmp-hint-mobile {
    display: none;
    align-items: center;
    gap: 5px;
    margin-left: auto;
}

.cmp-hint-mobile .icon {
    width: 13px;
    height: 13px;
}

.cmp-desktop {
    position: relative;
}

.cmp-table {
    width: 100%;
    min-width: 820px;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

.cmp-corner {
    position: sticky;
    top: calc(var(--nav-height) + 8px);
    z-index: 6;
    width: 210px;
    padding: 18px;
    background: var(--bg-tertiary);
    color: var(--label-secondary);
    font-size: 12px;
    font-weight: var(--weight-semibold);
    letter-spacing: 0.1em;
    text-align: left;
    text-transform: uppercase;
    vertical-align: bottom;
}

.cmp-head {
    position: sticky;
    top: calc(var(--nav-height) + 8px);
    z-index: 4;
    padding: 14px 16px;
    background: var(--bg-tertiary);
    box-shadow: inset 0 -1px 0 var(--separator);
    text-align: left;
    vertical-align: top;
}

.cmp-head__brand {
    display: block;
    margin-bottom: 7px;
}

.provider-logo--compare {
    height: 12px;
    max-width: 50px;
}

.provider-logo--compare[src*="/amex."] {
    height: 16px;
    max-width: 30px;
}

.cmp-head__link {
    display: block;
    min-height: 58px;
    color: var(--label);
    text-decoration: none;
}

.cmp-head__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.cmp-head__name {
    display: -webkit-box;
    overflow: hidden;
    font-size: 16px;
    font-weight: var(--weight-semibold);
    letter-spacing: -0.018em;
    line-height: 1.18;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.cmp-head__score {
    flex: 0 0 auto;
    color: var(--blue);
    font-size: 16px;
    font-variant-numeric: tabular-nums;
    font-weight: var(--weight-semibold);
}

.cmp-head__meta {
    display: block;
    margin-top: 4px;
    color: var(--label-secondary);
    font-size: 12.5px;
    line-height: 1.3;
}

.cmp-head__link:hover .cmp-head__name {
    color: var(--blue);
}

.cmp-group th {
    padding: 0;
    border-top: 1px solid var(--separator);
    border-bottom: 1px solid var(--separator);
    background: var(--bg-secondary);
    color: var(--label-secondary);
    font-size: 11.5px;
    font-weight: var(--weight-semibold);
    letter-spacing: 0.12em;
    text-align: left;
    text-transform: uppercase;
}

.cmp-group__label {
    display: block;
    padding: 8px 18px;
}

.cmp-group__toggle {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 8px 18px;
    border: 0;
    background: none;
    color: var(--label-secondary);
    font: inherit;
    letter-spacing: inherit;
    text-align: left;
    text-transform: inherit;
    cursor: pointer;
}

.js .cmp-group__toggle {
    display: flex;
}

.js .cmp-group__label {
    display: none;
}

.cmp-group__state {
    color: var(--blue);
    font-size: 11px;
    font-weight: var(--weight-semibold);
    letter-spacing: 0.02em;
    text-transform: none;
}

.cmp-group-body.is-collapsed {
    display: none;
}

.cmp-rowhead {
    position: sticky;
    left: 0;
    z-index: 2;
    width: 210px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--separator);
    background: var(--bg-tertiary);
    text-align: left;
    vertical-align: top;
}

.cmp-label {
    display: block;
    font-size: 14.5px;
    font-weight: var(--weight-medium);
    line-height: 1.35;
}

.cmp-hint {
    display: block;
    margin-top: 3px;
    color: var(--label-secondary);
    font-size: 12px;
    font-weight: var(--weight-regular);
    line-height: 1.35;
}

.cmp-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--separator);
    font-size: 14px;
    line-height: 1.4;
    vertical-align: top;
}

.cmp-table tbody:last-child tr:last-child th,
.cmp-table tbody:last-child tr:last-child td {
    border-bottom: 0;
}

.cmp-table td.is-best {
    background: color-mix(in srgb, var(--blue) 5%, var(--bg-tertiary));
}

.cmp-value {
    font-weight: var(--weight-medium);
}

.best-dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-left: 5px;
    border-radius: 50%;
    background: var(--blue);
    vertical-align: middle;
}

.cmp-sub {
    display: block;
    max-width: 28ch;
    margin-top: 3px;
    color: var(--label-secondary);
    font-size: 12.5px;
    line-height: 1.4;
}

.bool {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: var(--weight-medium);
}

.bool .icon {
    width: 13px;
    height: 13px;
}

.bool--yes .icon {
    color: var(--green);
}

.bool--no {
    color: var(--label-secondary);
    font-weight: var(--weight-regular);
}

.bool--no .icon {
    color: var(--label-tertiary);
}

.cmp-mobile {
    display: none;
}

/* --------------------------------------------------------------------------
   Compare toolbar / picker
   -------------------------------------------------------------------------- */

.compare-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.compare-toolbar__selection {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.selection-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    border-radius: var(--radius-capsule);
    background: var(--bg-tertiary);
    box-shadow: var(--shadow-1), inset 0 0 0 0.5px var(--separator);
    color: var(--label);
    font-size: 13px;
    font-weight: var(--weight-medium);
    text-decoration: none;
}

.selection-chip__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--dot, var(--blue));
}

.selection-chip .icon {
    width: 11px;
    height: 11px;
    color: var(--label-tertiary);
}

.selection-chip:hover .icon {
    color: var(--red);
}

.compare-toolbar__actions .text-link {
    font-size: 13.5px;
}

.compare-toolbar__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.compare-hint {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 14px;
    padding: 11px 14px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--blue) 7%, transparent);
    color: var(--label-secondary);
    font-size: 14px;
    line-height: 1.45;
}

.compare-hint .icon {
    width: 14px;
    height: 14px;
    margin-top: 1px;
    color: var(--blue);
}

.compare-count {
    color: var(--label-secondary);
    font-size: 13px;
}

.filter-panel--catalog,
.filter-panel--picker {
    padding: 16px;
}

.filter-row--catalog {
    display: grid;
    grid-template-columns: 1.25fr repeat(4, 0.8fr) 0.7fr;
    gap: 10px;
    align-items: end;
}

.filter-panel--picker .filter-row--catalog {
    grid-template-columns: 1.1fr repeat(3, 0.8fr) 0.7fr;
}

.filter-group--search {
    min-width: 0;
}

.select-wrap--input input {
    width: 100%;
    padding: 9px 34px 9px 12px;
    border: 0;
    border-radius: 10px;
    background: var(--fill-4);
    color: var(--label);
    font-size: 15px;
}

.select-wrap--input input::placeholder {
    color: var(--label-tertiary);
}

.filter-panel--picker .filter-submit {
    display: none;
}

.picker {
    margin-top: 14px;
    overflow: hidden;
    border-radius: 18px;
    background: var(--bg-tertiary);
    box-shadow: var(--shadow-1), inset 0 0 0 0.5px var(--separator);
}

.picker__row {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) 90px 44px 104px;
    gap: 12px;
    align-items: center;
    padding: 11px 14px;
    border-top: 1px solid var(--separator);
}

.picker__row:first-child {
    border-top: 0;
}

.picker__row.is-selected {
    background: color-mix(in srgb, var(--blue) 4%, transparent);
}

.picker__provider {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
}

.provider-logo--picker {
    max-width: 52px;
    height: 12px;
}

.picker__name {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.picker__name a {
    overflow: hidden;
    color: var(--label);
    font-size: 14.5px;
    font-weight: var(--weight-semibold);
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.picker__name small,
.picker__fee small,
.picker__score small {
    color: var(--label-secondary);
    font-size: 10.5px;
    font-weight: var(--weight-regular);
}

.picker__fee,
.picker__score {
    display: flex;
    flex-direction: column;
    font-size: 13.5px;
    font-variant-numeric: tabular-nums;
    font-weight: var(--weight-semibold);
}

.picker__row .btn {
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Finder
   -------------------------------------------------------------------------- */

.finder-section {
    padding-top: 24px;
}

.finder-panel {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 52px;
    align-items: center;
    overflow: hidden;
    padding: 54px;
    border-radius: 32px;
    background:
        radial-gradient(80% 120% at 100% 0%, rgba(0, 122, 255, 0.24), transparent 58%),
        linear-gradient(135deg, #0b0b0e 0%, #17171c 58%, #202027 100%);
    color: #fff;
    box-shadow:
        0 34px 70px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.finder-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.14);
    pointer-events: none;
}

.finder-panel__mark {
    position: absolute;
    top: -90px;
    right: 90px;
    width: 360px;
    height: 360px;
    color: #fff;
    opacity: 0.045;
    pointer-events: none;
}

.finder-panel__mark .brand-mark {
    width: 100%;
    height: 100%;
}

.finder-panel h2 {
    max-width: 16ch;
    margin-top: 12px;
    color: #fff;
    font-size: clamp(2rem, 3.4vw, 3rem);
    letter-spacing: -0.035em;
    line-height: 1.04;
}

.finder-panel__copy > p {
    max-width: 54ch;
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 16px;
    line-height: 1.55;
}

.finder-panel__copy .hero-actions {
    margin-top: 26px;
}

.finder-panel__steps {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 8px 0 8px 28px;
    border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.finder-step {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.finder-step:last-child {
    border-bottom: 0;
}

.finder-step > span {
    display: block;
    color: rgba(255, 255, 255, 0.45);
    font-size: 11.5px;
    font-weight: var(--weight-semibold);
    letter-spacing: 0.1em;
}

.finder-step strong {
    display: block;
    margin-top: 6px;
    color: #fff;
    font-size: 17px;
    font-weight: var(--weight-semibold);
}

.finder-step p {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.45;
}

/* --------------------------------------------------------------------------
   Guided questionnaire
   -------------------------------------------------------------------------- */

.quiz-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.28fr) 360px;
    gap: 26px;
    align-items: start;
}

.quiz {
    padding: 30px;
    border-radius: 28px;
    background: var(--bg-tertiary);
    box-shadow: var(--shadow-2), inset 0 0 0 0.5px var(--separator);
}

.quiz-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.quiz-progress__bar {
    flex: 1;
    height: 4px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--fill-2);
}

.quiz-progress__bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--blue);
    transition: width 0.4s var(--ease-ios);
}

.quiz-progress__label {
    color: var(--label-secondary);
    font-size: 12px;
    font-weight: var(--weight-semibold);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.quiz-step {
    display: block;
}

.js .quiz-step {
    display: none;
}

.js .quiz-step.is-active {
    display: block;
}

.quiz-step h2 {
    margin-top: 8px;
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    letter-spacing: -0.03em;
    line-height: 1.08;
}

.quiz-hint {
    max-width: 60ch;
    margin-top: 8px;
    color: var(--label-secondary);
    font-size: 14.5px;
    line-height: 1.5;
}

.quiz-fieldset {
    min-width: 0;
    margin: 24px 0 0;
    padding: 0;
    border: 0;
}

.quiz-fieldset legend {
    margin-bottom: 10px;
    color: var(--label);
    font-size: 15.5px;
    font-weight: var(--weight-semibold);
    letter-spacing: -0.01em;
}

.choice-grid {
    display: grid;
    gap: 8px;
}

.choice-grid--goals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-grid--pills {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.choice-grid--checks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-card,
.choice-pill,
.choice-check,
.chip-radio,
.faq-question {
    -webkit-tap-highlight-color: transparent;
}

.choice-card {
    position: relative;
    display: block;
    cursor: pointer;
}

.choice-card input,
.choice-pill input,
.choice-check input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.choice-card__body {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 12px;
    border-radius: 14px;
    background: var(--fill-4);
    color: var(--label);
    font-size: 14.5px;
    font-weight: var(--weight-medium);
    line-height: 1.3;
    transition: background-color var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out);
}

.choice-card__icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    color: var(--blue);
}

.choice-card__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.choice-card__text strong {
    font-size: 14.5px;
    font-weight: var(--weight-semibold);
    line-height: 1.25;
}

.choice-card__text small {
    color: var(--label-secondary);
    font-size: 13px;
    font-weight: var(--weight-regular);
    line-height: 1.35;
}

.choice-card__icon .icon {
    width: 15px;
    height: 15px;
}

.choice-card input:checked + .choice-card__body {
    background: color-mix(in srgb, var(--blue) 9%, var(--bg-tertiary));
    box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--blue) 44%, transparent);
}

.choice-card input:focus-visible + .choice-card__body,
.choice-pill input:focus-visible + span,
.choice-check input:focus-visible + span {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

.choice-pill {
    position: relative;
    display: inline-flex;
    cursor: pointer;
}

.choice-pill span {
    display: block;
    padding: 8px 12px;
    border-radius: var(--radius-capsule);
    background: var(--fill-4);
    color: var(--label-secondary);
    font-size: 14px;
    font-weight: var(--weight-medium);
    line-height: 1.25;
}

.choice-pill input:checked + span {
    background: color-mix(in srgb, var(--blue) 11%, var(--bg-tertiary));
    color: var(--label);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--blue) 32%, transparent);
}

.choice-check {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 11px;
    border-radius: 12px;
    background: var(--fill-4);
    color: var(--label-secondary);
    font-size: 14px;
    font-weight: var(--weight-medium);
    cursor: pointer;
}

.choice-check input {
    position: static;
    width: 15px;
    height: 15px;
    opacity: 1;
    accent-color: var(--blue);
    pointer-events: auto;
}

.choice-check > span {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.choice-check > span small {
    color: var(--label-secondary);
    font-size: 12.5px;
    font-weight: var(--weight-regular);
    line-height: 1.35;
}

.choice-check:has(input:checked) {
    background: color-mix(in srgb, var(--blue) 8%, var(--bg-tertiary));
    color: var(--label);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--blue) 28%, transparent);
}

.field-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
    color: var(--label);
    font-size: 15px;
    font-weight: var(--weight-medium);
}

.field-box .field-hint {
    margin-top: -2px;
    color: var(--label-secondary);
    font-size: 13.5px;
    font-weight: var(--weight-regular);
    line-height: 1.4;
}

.input-euro {
    position: relative;
    display: flex;
    align-items: center;
}

.input-euro input {
    width: 100%;
    padding: 10px 36px 10px 12px;
    border: 0;
    border-radius: 10px;
    background: var(--fill-4);
    color: var(--label);
    font-size: 16px;
    font-variant-numeric: tabular-nums;
}

.input-euro em {
    position: absolute;
    right: 14px;
    color: var(--label-secondary);
    font-style: normal;
    font-weight: var(--weight-medium);
}

.quiz-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--separator);
}

.quiz-recap {
    display: none;
    margin-top: 22px;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--fill-4);
    color: var(--label-secondary);
    font-size: 13.5px;
    line-height: 1.45;
}

.quiz-recap.is-visible {
    display: block;
}

.js .quiz-actions [data-quiz-submit] {
    display: none;
}

.js .quiz-step.is-final + .quiz-actions [data-quiz-submit],
.js .quiz.is-final .quiz-actions [data-quiz-submit] {
    display: inline-flex;
}

.js .quiz.is-final .quiz-actions [data-quiz-next] {
    display: none;
}

.quiz-aside {
    position: sticky;
    top: calc(var(--nav-height) + 24px);
    padding: 24px;
    border-radius: 24px;
    background: var(--bg-tertiary);
    box-shadow: var(--shadow-1), inset 0 0 0 0.5px var(--separator);
}

.quiz-aside h2 {
    margin-top: 8px;
    font-size: 24px;
    letter-spacing: -0.028em;
    line-height: 1.12;
}

.quiz-aside > p {
    margin-top: 10px;
    color: var(--label-secondary);
    font-size: 14.5px;
    line-height: 1.55;
}

.quiz-aside__list {
    display: grid;
    gap: 10px;
    margin: 18px 0;
    padding: 0;
    list-style: none;
}

.quiz-aside__list li {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    color: var(--label-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.quiz-aside__list .icon {
    width: 13px;
    height: 13px;
    margin-top: 1px;
    color: var(--green);
}

.form-errors {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--red) 8%, transparent);
    color: var(--label);
    font-size: 14px;
    line-height: 1.45;
}

.form-errors .icon {
    width: 15px;
    height: 15px;
    margin-top: 1px;
    color: var(--red);
}

.form-errors p {
    margin: 0;
}

/* --------------------------------------------------------------------------
   Results
   -------------------------------------------------------------------------- */

.answer-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 18px;
}

.answer-chips span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 9px;
    border-radius: var(--radius-capsule);
    background: var(--fill-4);
    color: var(--label-secondary);
    font-size: 12.5px;
    font-weight: var(--weight-medium);
    line-height: 1.2;
}

.answer-chips .icon {
    width: 11px;
    height: 11px;
}

.results-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 22px;
    align-items: start;
}

.results-main {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.result-card {
    position: relative;
    display: grid;
    grid-template-columns: 26px 132px minmax(0, 1fr);
    gap: 16px;
    padding: 20px;
    border-radius: 24px;
    background: var(--bg-tertiary);
    box-shadow: var(--shadow-1), inset 0 0 0 0.5px var(--separator);
}

.result-card__rank {
    padding-top: 2px;
    color: var(--label-tertiary);
    font-size: 13.5px;
    font-variant-numeric: tabular-nums;
}

.result-card__visual {
    padding-top: 4px;
}

.result-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.result-card__eyebrow {
    color: var(--label-secondary);
    font-size: 11.5px;
    font-weight: var(--weight-semibold);
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.result-card__head h2 {
    margin-top: 4px;
    font-size: 21px;
    letter-spacing: -0.026em;
    line-height: 1.1;
}

.result-card__head h2 a {
    color: var(--label);
    text-decoration: none;
}

.compat {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex: 0 0 auto;
}

.compat strong {
    color: var(--blue);
    font-size: 25px;
    font-variant-numeric: tabular-nums;
    font-weight: var(--weight-semibold);
    letter-spacing: -0.04em;
    line-height: 1;
}

.compat span {
    margin-top: 2px;
    color: var(--label-secondary);
    font-size: 11.5px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.result-card__cost {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
    padding: 10px 0;
    border-top: 1px solid var(--separator);
    border-bottom: 1px solid var(--separator);
}

.result-card__cost div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.result-card__cost span {
    color: var(--label-secondary);
    font-size: 11.5px;
    font-weight: var(--weight-semibold);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.result-card__cost strong {
    font-size: 16px;
    font-variant-numeric: tabular-nums;
    font-weight: var(--weight-semibold);
}

.result-card__why {
    margin-top: 10px;
    color: var(--label-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.result-card__lists {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 12px;
}

.result-card__lists h3 {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    font-weight: var(--weight-semibold);
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.result-card__lists h3 .icon {
    width: 12px;
    height: 12px;
}

.result-card__lists > div:first-child h3 .icon {
    color: var(--green);
}

.result-card__lists > div:last-child h3 .icon {
    color: var(--orange);
}

.result-card__lists ul {
    display: grid;
    gap: 4px;
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
}

.result-card__lists li {
    position: relative;
    padding-left: 10px;
    color: var(--label-secondary);
    font-size: 13.5px;
    line-height: 1.4;
}

.result-card__lists li::before {
    content: "";
    position: absolute;
    top: 0.55em;
    left: 0;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--label-tertiary);
}

.result-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
}

.result-card__actions {
    display: flex;
    gap: 5px;
}

.result-card__over {
    position: absolute;
    top: 18px;
    right: 112px;
    padding: 3px 6px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--orange) 14%, transparent);
    color: var(--orange);
    font-size: 10.5px;
    font-weight: var(--weight-semibold);
    text-transform: uppercase;
}

.results-aside {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: sticky;
    top: calc(var(--nav-height) + 24px);
}

.criteria-card {
    padding: 20px;
    border-radius: 22px;
    background: var(--bg-tertiary);
    box-shadow: var(--shadow-1), inset 0 0 0 0.5px var(--separator);
}

.criteria-card h2 {
    margin-top: 7px;
    font-size: 21px;
    letter-spacing: -0.025em;
    line-height: 1.12;
}

.weight-list {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.weight-row {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) 30px;
    gap: 8px;
    align-items: center;
}

.weight-row > span:first-child {
    color: var(--label-secondary);
    font-size: 12px;
}

.weight-row__track {
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--fill-2);
}

.weight-row__track i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--blue);
}

.weight-row strong {
    color: var(--label-secondary);
    font-size: 11.5px;
    font-variant-numeric: tabular-nums;
    font-weight: var(--weight-medium);
    text-align: right;
}

.criteria-card__note {
    margin-top: 12px;
    color: var(--label-secondary);
    font-size: 12px;
    line-height: 1.45;
}

.assumption-list {
    margin: 12px 0 0;
}

.assumption-list > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-top: 1px solid var(--separator);
}

.assumption-list dt {
    color: var(--label-secondary);
    font-size: 12.5px;
}

.assumption-list dd {
    margin: 0;
    font-size: 13.5px;
    font-weight: var(--weight-semibold);
}

.criteria-card > p {
    margin-top: 10px;
    color: var(--label-secondary);
    font-size: 13.5px;
    line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Community
   -------------------------------------------------------------------------- */

.community-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.community-card {
    display: flex;
    flex-direction: column;
    min-height: 220px;
    padding: 22px;
    border-radius: 24px;
    background: var(--bg-tertiary);
    box-shadow: var(--shadow-1), inset 0 0 0 0.5px var(--separator);
    color: var(--label);
    text-decoration: none;
    transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out);
}

.community-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-3), inset 0 0 0 0.5px var(--separator);
}

.community-card__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--blue) 9%, transparent);
    color: var(--blue);
}

.community-card__icon .icon {
    width: 19px;
    height: 19px;
}

.community-card__title {
    margin-top: 16px;
    font-size: 18px;
    font-weight: var(--weight-semibold);
    letter-spacing: -0.022em;
    line-height: 1.15;
}

.community-card__desc {
    margin-top: 6px;
    color: var(--label-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.community-card__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 18px;
    color: var(--blue);
    font-size: 13.5px;
    font-weight: var(--weight-semibold);
}

.community-card__cta .icon {
    width: 14px;
    height: 14px;
}

.community-grid--compact .community-card {
    min-height: 150px;
    padding: 18px;
}

.community-grid--compact .community-card__title {
    margin-top: 12px;
    font-size: 17px;
}

.community-grid--compact .community-card__desc {
    display: none;
}

.community-grid--compact .community-card__cta {
    font-size: 12.5px;
}

/* --------------------------------------------------------------------------
   Product detail additions
   -------------------------------------------------------------------------- */

.reward-list,
.insurance-list,
.promotion-list,
.source-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
}

.reward-item,
.promotion-card,
.lounge-detail {
    padding: 14px;
    border-radius: 16px;
    background: var(--fill-4);
}

.reward-item__head,
.promotion-card__head,
.lounge-detail__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.reward-item__head strong,
.promotion-card__head strong,
.lounge-detail__head strong {
    font-size: 14.5px;
    font-weight: var(--weight-semibold);
}

.reward-item > p {
    margin-top: 5px;
    color: var(--label-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.reward-item__note {
    font-size: 13px !important;
}

.insurance-item {
    border-radius: 14px;
    background: var(--fill-4);
}

.insurance-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    color: var(--label);
    font-size: 14px;
    font-weight: var(--weight-medium);
    cursor: pointer;
    list-style: none;
}

.insurance-item summary::-webkit-details-marker {
    display: none;
}

.insurance-item summary strong {
    color: var(--label-secondary);
    font-size: 11.5px;
    font-weight: var(--weight-semibold);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.insurance-item__body {
    padding: 0 14px 12px;
}

.insurance-item__body p {
    margin-top: 6px;
    color: var(--label-secondary);
    font-size: 13px;
    line-height: 1.5;
}

.insurance-item__body strong {
    color: var(--label);
}

.lounge-detail + .lounge-detail {
    margin-top: 10px;
}

.lounge-detail p {
    margin-top: 6px;
    color: var(--label-secondary);
    font-size: 13.5px;
    line-height: 1.5;
}

.lounge-detail .verification {
    flex: 0 0 auto;
}

.promotion-card__type {
    padding: 3px 7px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--blue) 9%, transparent);
    color: var(--label);
    font-size: 11.5px;
    font-weight: var(--weight-semibold);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.promotion-card > p {
    margin-top: 6px;
    color: var(--label-secondary);
    font-size: 13.5px;
    line-height: 1.5;
}

.promotion-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 8px;
}

.promotion-card__meta span {
    padding: 4px 6px;
    border-radius: 6px;
    background: var(--bg-tertiary);
    color: var(--label-secondary);
    font-size: 11.5px;
    font-weight: var(--weight-medium);
}

.score-meta {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 8px;
    align-items: center;
    margin: 14px 0;
    padding-top: 12px;
    border-top: 1px solid var(--separator);
    color: var(--label-secondary);
    font-size: 12.5px;
}

.score-meta strong {
    color: var(--label);
    font-size: 13.5px;
}

.score-meta__track {
    grid-column: 1 / -1;
    height: 4px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--fill-2);
}

.score-meta__track i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--blue);
}

.limit-list {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--separator);
}

.limit-list h3 {
    font-size: 13.5px;
    font-weight: var(--weight-semibold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.limit-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 0;
    border-top: 1px solid var(--separator);
}

.limit-row span {
    color: var(--label-secondary);
    font-size: 13px;
}

.limit-row strong {
    max-width: 58%;
    font-size: 13px;
    font-weight: var(--weight-medium);
    text-align: right;
}

.source-row {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) 16px;
    gap: 10px;
    align-items: start;
    padding: 11px 12px;
    border-radius: 14px;
    background: var(--fill-4);
    color: var(--label);
    text-decoration: none;
}

.source-row__icon {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    color: var(--label-secondary);
}

.source-row__icon .icon {
    width: 12px;
    height: 12px;
}

.source-row__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 2px;
}

.source-row__body strong {
    overflow: hidden;
    font-size: 13.5px;
    font-weight: var(--weight-semibold);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.source-row__body small {
    color: var(--label-secondary);
    font-size: 11.5px;
}

.source-row__body em {
    margin-top: 2px;
    color: var(--label-secondary);
    font-size: 11.5px;
    font-style: normal;
    line-height: 1.4;
}

.source-row > .icon {
    width: 13px;
    height: 13px;
    margin-top: 4px;
    color: var(--label-tertiary);
}

/* --------------------------------------------------------------------------
   Telegram CTA
   -------------------------------------------------------------------------- */

.telegram-cta {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    margin-top: 18px;
    padding: 18px;
    border-radius: 20px;
    background:
        radial-gradient(100% 100% at 100% 0%, color-mix(in srgb, var(--blue) 12%, transparent), transparent 60%),
        var(--bg-tertiary);
    box-shadow: var(--shadow-1), inset 0 0 0 0.5px color-mix(in srgb, var(--blue) 18%, var(--separator));
}

.telegram-cta__icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
}

.telegram-cta__icon .icon {
    width: 19px;
    height: 19px;
}

.telegram-cta__copy h3 {
    margin-top: 4px;
    font-size: 17px;
    letter-spacing: -0.018em;
    line-height: 1.2;
}

.telegram-cta__copy p {
    margin-top: 4px;
    color: var(--label-secondary);
    font-size: 14px;
    line-height: 1.45;
}

.telegram-cta .btn {
    white-space: nowrap;
}

.detail-aside .telegram-cta {
    grid-template-columns: 36px minmax(0, 1fr);
    padding: 16px;
}

.detail-aside .telegram-cta .btn {
    grid-column: 1 / -1;
    width: 100%;
}

.detail-aside .telegram-cta__icon {
    width: 34px;
    height: 34px;
}

.admin-preview-banner {
    position: sticky;
    top: 0;
    z-index: 120;
    padding: 9px 16px;
    background: var(--orange);
    color: #111;
    font-size: 13.5px;
    font-weight: var(--weight-semibold);
    text-align: center;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1120px) {
    .product-grid--picks,
    .product-grid--selected {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-grid--selected {
        gap: 14px;
    }

    .product-grid--selected .product-card {
        margin: 0;
    }

    .product-grid__spacer {
        display: none;
    }

    .filter-row--catalog,
    .filter-panel--picker .filter-row--catalog {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .results-layout {
        grid-template-columns: minmax(0, 1fr) 310px;
    }
}

@media (max-width: 960px) {
    .hero-grid--receipt {
        grid-template-columns: 1fr;
    }

    .hero-grid--editorial {
        grid-template-columns: 1fr;
    }

    .hero-deck {
        height: 320px;
        margin: 8px auto 0;
    }

    .hero-deck__card {
        width: min(76%, 320px);
    }

    .hero-receipt {
        margin: 0 auto;
    }

    .hero-grid--receipt .hero-visual {
        order: 2;
    }

    .product-grid--catalog,
    .product-grid--related {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cmp-desktop {
        display: none;
    }

    .cmp-mobile {
        display: block;
    }

    .product-grid--selected {
        display: none;
    }

    .cmp-hint-mobile {
        display: inline-flex;
    }

    .cmp-head {
        position: static;
    }

    .cmp-mobile__group {
        border-top: 1px solid var(--separator);
    }

    .cmp-mobile__group:first-child {
        border-top: 0;
    }

    .cmp-mobile__group summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 14px 16px;
        color: var(--label);
        font-size: 13.5px;
        font-weight: var(--weight-semibold);
        letter-spacing: 0.1em;
        text-transform: uppercase;
        cursor: pointer;
        list-style: none;
    }

    .cmp-mobile__group summary::-webkit-details-marker {
        display: none;
    }

    .cmp-mobile__group summary span {
        color: var(--label-secondary);
        font-size: 11px;
        font-weight: var(--weight-medium);
        letter-spacing: 0;
        text-transform: none;
    }

    .cmp-mobile__body {
        padding: 0 14px 6px;
    }

    .cmp-mobile__row {
        padding: 12px 0;
        border-top: 1px solid var(--separator);
    }

    .cmp-mobile__label {
        display: flex;
        flex-direction: column;
        gap: 2px;
        margin-bottom: 8px;
    }

    .cmp-mobile__label strong {
        font-size: 14px;
        font-weight: var(--weight-semibold);
    }

    .cmp-mobile__label span {
        color: var(--label-secondary);
        font-size: 12px;
    }

    .cmp-mobile__cells {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .cmp-mobile__cell {
        padding: 9px;
        border-radius: 10px;
        background: var(--fill-4);
    }

    .cmp-mobile__cell.is-best {
        background: color-mix(in srgb, var(--blue) 8%, var(--bg-tertiary));
    }

    .cmp-mobile__plan {
        display: block;
        overflow: hidden;
        color: var(--label-secondary);
        font-size: 10.5px;
        font-weight: var(--weight-semibold);
        letter-spacing: 0.04em;
        text-overflow: ellipsis;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .cmp-mobile__value {
        display: block;
        margin-top: 3px;
        font-size: 13.5px;
        font-weight: var(--weight-medium);
    }

    .quiz-layout {
        grid-template-columns: 1fr;
    }

    .quiz-aside {
        position: static;
    }

    .results-layout {
        grid-template-columns: 1fr;
    }

    .results-aside {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .results-aside .btn-block {
        grid-column: 1 / -1;
    }

    .finder-panel {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .finder-panel__steps {
        padding-left: 20px;
    }

    .community-grid {
        grid-template-columns: 1fr 1fr;
    }

    .community-grid .community-card:last-child {
        grid-column: 1 / -1;
    }

    .picker__row {
        grid-template-columns: 46px minmax(0, 1fr) 74px 100px;
    }

    .picker__score {
        display: none;
    }

    .result-card {
        grid-template-columns: 22px 110px minmax(0, 1fr);
    }

    .result-card__cost {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    .btn-compact {
        min-height: 44px;
    }

    .icon-button {
        width: 44px;
        height: 44px;
    }

    .chip-radio span,
    .choice-pill span {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
    }

    .filter-panel select,
    .filter-panel input[type="search"] {
        min-height: 44px;
    }

    .filter-row--catalog,
    .filter-panel--picker .filter-row--catalog {
        grid-template-columns: 1fr 1fr;
    }

    .filter-group--search {
        grid-column: 1 / -1;
    }

    .product-grid--picks,
    .product-grid--selected,
    .product-grid--catalog,
    .product-grid--related {
        grid-template-columns: 1fr;
    }

    .product-card__identity {
        min-height: 0;
    }

    .product-card__tagline {
        min-height: 0;
    }

    .product-card__price {
        min-height: 0;
    }

    .hero-receipt {
        padding: 20px;
    }

    .finder-panel {
        padding: 32px 24px;
        border-radius: 26px;
    }

    .quiz {
        padding: 22px;
    }

    .choice-grid--goals,
    .choice-grid--checks {
        grid-template-columns: 1fr;
    }

    .result-card {
        grid-template-columns: 24px minmax(0, 1fr);
        gap: 10px;
        padding: 16px;
    }

    .result-card__visual {
        display: none;
    }

    .result-card__head {
        grid-column: 2;
    }

    .result-card__body {
        grid-column: 2;
    }

    .result-card__rank {
        grid-row: 1;
    }

    .result-card__head {
        grid-row: 1;
    }

    .result-card__cost {
        grid-template-columns: 1fr 1fr;
    }

    .result-card__lists {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .result-card__over {
        position: static;
        display: inline-block;
        margin-top: 8px;
    }

    .results-aside {
        grid-template-columns: 1fr;
    }

    .community-grid,
    .community-grid--compact {
        grid-template-columns: 1fr;
    }

    .community-grid .community-card:last-child {
        grid-column: auto;
    }

    .community-card {
        min-height: 0;
    }

    .community-card__cta {
        margin-top: 16px;
        padding-top: 0;
    }

    .picker__row {
        grid-template-columns: 1fr auto;
        gap: 6px 10px;
        padding: 12px;
    }

    .picker__provider {
        grid-column: 1;
        grid-row: 1;
    }

    .picker__name {
        grid-column: 1;
        grid-row: 2;
    }

    .picker__fee {
        grid-column: 2;
        grid-row: 1 / 3;
        align-items: flex-end;
        justify-content: center;
    }

    .picker__score {
        display: none;
    }

    .picker__row .btn {
        grid-column: 1 / -1;
        grid-row: 3;
        width: 100%;
        margin-top: 4px;
    }

    .compare-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .telegram-cta {
        grid-template-columns: 38px minmax(0, 1fr);
    }

    .telegram-cta .btn {
        grid-column: 1 / -1;
        width: 100%;
    }

    .detail-aside .telegram-cta {
        margin-top: 0;
    }

    .cmp-mobile__cells {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .product-card {
        padding: 16px;
    }

    .filter-row--catalog,
    .filter-panel--picker .filter-row--catalog {
        grid-template-columns: 1fr;
    }

    .filter-group--search {
        grid-column: auto;
    }

    .hero-receipt__head {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .quiz-actions {
        flex-wrap: wrap;
    }

    .quiz-actions .btn {
        flex: 1 1 auto;
    }

    .result-card__cost {
        grid-template-columns: 1fr 1fr;
    }

    .product-card__actions {
        flex-direction: column;
    }
}

@media (prefers-contrast: more) {
    .product-card,
    .cmp-shell,
    .quiz,
    .criteria-card,
    .result-card,
    .community-card,
    .telegram-cta,
    .hero-receipt,
    .finder-panel {
        border: 1px solid var(--separator-opaque);
    }
}

/* ==========================================================================
   Revisione UX — 9 novembre 2026
   ========================================================================== */

/* Menu di navigazione su schermi stretti ---------------------------------- */
.nav-toggle {
    display: none;
    position: relative;
}

.nav-toggle__icon {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    transition: opacity var(--duration-fast) var(--ease-out), transform 0.3s var(--ease-out);
}

.nav-toggle__icon .icon {
    width: 20px;
    height: 20px;
}

.nav-toggle__icon--close,
.site-header.is-menu-open .nav-toggle__icon--open {
    opacity: 0;
    transform: rotate(-45deg) scale(0.7);
}

.site-header.is-menu-open .nav-toggle__icon--close {
    opacity: 1;
    transform: none;
}

.mobile-menu {
    display: grid;
    gap: 2px;
    max-width: var(--container);
    margin: 0 auto;
    padding: 6px 16px 14px;
    border-top: 0.5px solid var(--separator);
}

.mobile-menu[hidden] {
    display: none;
}

.mobile-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 0 12px;
    border-radius: 12px;
    color: var(--label);
    font-size: 17px;
    font-weight: var(--weight-medium);
    letter-spacing: -0.01em;
    text-decoration: none;
}

.mobile-menu a .icon {
    width: 16px;
    height: 16px;
    color: var(--label-tertiary);
}

.mobile-menu a:hover,
.mobile-menu a[aria-current="page"] {
    background: var(--fill-4);
}

@media (max-width: 920px) {
    .nav-toggle {
        display: inline-grid;
    }
}

@media (min-width: 921px) {
    .mobile-menu {
        display: none !important;
    }
}

@media (max-width: 400px) {
    .header-inner {
        gap: 12px;
        padding: 0 14px;
    }

    .header-actions .btn-compact {
        padding-inline: 14px;
    }
}

/* Punteggio nelle schede prodotto: etichetta esplicita -------------------- */
.product-card__foot {
    justify-content: space-between;
}

.product-card__score-label {
    color: var(--label-secondary);
    font-size: 14px;
    font-weight: var(--weight-medium);
}

/* Filtri richiudibili su mobile ------------------------------------------- */
.filter-toggle {
    display: none;
    white-space: nowrap;
}

@media (max-width: 760px) {
    .js .filter-toggle {
        display: inline-flex;
    }

    .js .filter-panel[data-collapsible]:not(.is-open) .filter-group:not(.filter-group--search) {
        display: none;
    }
}

/* Avviso sul limite di quattro prodotti ----------------------------------- */
.compare-limit-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 14px;
    color: var(--label-secondary);
    font-size: 15px;
    line-height: 1.45;
}

.compare-limit-note .icon {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin-top: 1px;
    color: var(--orange);
}

/* Elenco delle condizioni aggiuntive nella scheda ------------------------- */
.limit-notes {
    display: grid;
    gap: 8px;
    margin: 12px 0 0;
    padding: 0 0 0 18px;
    color: var(--label-secondary);
    font-size: 15px;
    line-height: 1.5;
}

/* Catalogo: sette campi (ricerca + sei menu) su una sola riga su desktop --- */
@media (min-width: 1121px) {
    .filter-panel--catalog .filter-row--catalog {
        grid-template-columns: 1.35fr repeat(6, minmax(0, 1fr));
    }

    .filter-panel--catalog .filter-group,
    .filter-panel--catalog .select-wrap,
    .filter-panel--catalog select,
    .filter-panel--catalog input {
        min-width: 0;
        max-width: 100%;
    }
}

/* ==========================================================================
   Questionario /trova — sistema unico di scelte (qz-)
   Schede uguali per le scelte con descrizione, pillole uguali per le scale.
   ========================================================================== */
.qz .quiz-step {
    padding-top: 4px;
}

.qz-head h2 {
    margin-top: 8px;
    font-size: clamp(1.75rem, 2.6vw, 2.125rem);
    letter-spacing: -0.028em;
    line-height: 1.1;
}

.qz-head .qz-hint {
    margin-top: 10px;
}

.qz-field {
    margin-top: 30px;
}

.qz-field legend {
    margin-bottom: 4px;
    padding: 0;
    color: var(--label);
    font-size: 17px;
    font-weight: var(--weight-semibold);
    letter-spacing: -0.012em;
    line-height: 1.3;
}

.qz-hint {
    margin: 0 0 12px;
    color: var(--label-secondary);
    font-size: 15px;
    line-height: 1.45;
}

.qz-field legend + .qz-pills,
.qz-field legend + .qz-cards {
    margin-top: 12px;
}

/* Native inputs stay in the DOM (keyboard, screen readers) but invisible. */
.qz-card input,
.qz-pill input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* Cards ------------------------------------------------------------------ */
.qz-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.qz-card {
    position: relative;
    display: flex;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.qz-card[hidden] {
    display: none;
}

.qz-card__body {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 14px;
    min-height: 84px;
    padding: 16px 16px 16px 18px;
    border-radius: 16px;
    background: var(--fill-4);
    box-shadow: inset 0 0 0 1px transparent;
    transition: background-color var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out), transform var(--duration-instant) var(--ease-out);
}

.qz-card:hover .qz-card__body {
    background: var(--fill-3);
}

.qz-card:active .qz-card__body {
    transform: scale(0.985);
}

.qz-card__icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--bg-tertiary);
    color: var(--blue);
    box-shadow: inset 0 0 0 0.5px var(--separator);
}

.qz-card__icon .icon {
    width: 20px;
    height: 20px;
}

.qz-card__text {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.qz-card__text strong {
    color: var(--label);
    font-size: 16px;
    font-weight: var(--weight-semibold);
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.qz-card__text small {
    color: var(--label-secondary);
    font-size: 14px;
    line-height: 1.4;
}

.qz-card__mark {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: transparent;
    box-shadow: inset 0 0 0 1.5px var(--separator-opaque);
    transition: background-color var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);
}

.qz-card--check .qz-card__mark {
    border-radius: 7px;
}

.qz-card__mark .icon {
    width: 14px;
    height: 14px;
    stroke-width: 2.6;
}

.qz-card input:checked + .qz-card__body {
    background: color-mix(in srgb, var(--blue) 9%, var(--bg-tertiary));
    box-shadow: inset 0 0 0 1.5px var(--blue);
}

.qz-card input:checked + .qz-card__body .qz-card__mark {
    background: var(--blue);
    color: #fff;
    box-shadow: none;
}

.qz-card input:focus-visible + .qz-card__body,
.qz-pill input:focus-visible + span {
    outline: 3px solid color-mix(in srgb, var(--blue) 45%, transparent);
    outline-offset: 2px;
}

/* Pills ------------------------------------------------------------------ */
.qz-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.qz-pill {
    position: relative;
    display: inline-flex;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.qz-pill[hidden] {
    display: none;
}

.qz-pill span {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--fill-4);
    color: var(--label);
    font-size: 15px;
    font-weight: var(--weight-medium);
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: inset 0 0 0 1px transparent;
    transition: background-color var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);
}

.qz-pill:hover span {
    background: var(--fill-3);
}

.qz-pill input:checked + span {
    background: color-mix(in srgb, var(--blue) 10%, var(--bg-tertiary));
    color: var(--blue);
    font-weight: var(--weight-semibold);
    box-shadow: inset 0 0 0 1.5px var(--blue);
}

.qz .quiz-actions .btn {
    min-width: 132px;
    justify-content: center;
}

@media (max-width: 760px) {
    .qz-cards {
        grid-template-columns: 1fr;
    }

    .qz-card__body {
        min-height: 72px;
    }

    .qz-pill span {
        white-space: normal;
    }
}
