.twj-deals-page,
.twj-deal-detail-page {
    --twj-deal-ink: #102a43;
    --twj-deal-muted: #627b8a;
    --twj-deal-line: #dce7ed;
    --twj-deal-soft: #f3f8f9;
    --twj-deal-teal: #0b806f;
    --twj-deal-teal-dark: #086657;
    --twj-deal-teal-soft: #e4f5f1;
    /* Brand/orange interaction tokens, kept separate from positive price green. */
    --twj-deal-brand-accent: #ff8c42;
    --twj-deal-brand: #b84b11;
    --twj-deal-brand-dark: #933709;
    --twj-deal-brand-soft: #fff1e6;
    --twj-deal-brand-border: #efb991;
    --twj-deal-blue-soft: #eaf3fb;
    color: var(--twj-deal-ink);
}

.twj-deals-page {
    padding-top: 28px;
    padding-bottom: 64px;
}

.twj-deals-main,
.twj-deal-detail {
    max-width: 1160px;
    margin: 0 auto;
}

.twj-deals-eyebrow {
    color: var(--twj-deal-brand);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}
.twj-deals-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
    gap: 42px;
    align-items: center;
    padding: 44px;
    border: 1px solid var(--twj-deal-line);
    border-radius: 24px;
    background:
        radial-gradient(circle at 92% 8%, rgba(255,140,66,.11), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #f6fafb 100%);
    box-shadow: 0 18px 55px rgba(16, 42, 67, .07);
}

.twj-deals-hero h1 {
    margin: 8px 0 12px;
    color: var(--twj-deal-ink);
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.twj-deals-hero-copy p {
    max-width: 660px;
    margin: 0;
    color: var(--twj-deal-muted);
    font-size: 17px;
    line-height: 1.8;
}

.twj-deals-hero-trust {
    display: grid;
    gap: 10px;
}
.twj-deals-hero-trust > div {
    display: grid;
    grid-template-columns: 108px 1fr;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(255,140,66,.12);
    border-radius: 13px;
    background: rgba(255,255,255,.82);
}

.twj-deals-hero-trust strong {
    color: var(--twj-deal-ink);
}

.twj-deals-hero-trust span {
    color: var(--twj-deal-muted);
    line-height: 1.55;
}

.twj-deals-list-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin: 48px 0 18px;
}

.twj-deals-list-head h2,
.twj-deal-section-heading h2,
.twj-deals-method h2 {
    margin: 5px 0 0;
    color: var(--twj-deal-ink);
    font-size: 28px;
    line-height: 1.25;
}

.twj-deals-count {
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--twj-deal-brand-soft);
    color: var(--twj-deal-brand-dark);
    font-weight: 800;
}
.twj-deals-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.twj-deal-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 24px;
    border: 1px solid var(--twj-deal-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 32px rgba(16,42,67,.055);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.twj-deal-card:hover {
    transform: translateY(-2px);
    border-color: #c3d9df;
    box-shadow: 0 16px 40px rgba(16,42,67,.09);
}

.twj-deal-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.twj-deal-card-line {
    color: var(--twj-deal-muted);
    font-size: 13px;
    font-weight: 700;
}

.twj-deal-card-discount {
    padding: 5px 9px;
    border-radius: 999px;
    background: var(--twj-deal-teal-soft);
    color: var(--twj-deal-teal-dark);
    font-size: 12px;
    font-weight: 900;
}
.twj-deal-card-title {
    margin: 12px 0 6px;
    font-size: 25px;
    line-height: 1.25;
    letter-spacing: -.02em;
}

.twj-deal-card-title a {
    color: var(--twj-deal-ink);
    text-decoration: none;
}

.twj-deal-card-title a:hover {
    color: var(--twj-deal-brand);
}

.twj-deal-card-route {
    min-height: 48px;
    color: #31586a;
    font-size: 14px;
    line-height: 1.7;
}

.twj-deal-card-meta,
.twj-deal-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 13px;
}

.twj-deal-card-meta span,
.twj-deal-detail-meta span {
    padding: 5px 9px;
    border-radius: 8px;
    background: #f0f4f7;
    color: #4d6574;
    font-size: 12px;
    font-weight: 650;
}

.twj-deal-card-price-row {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(150px, .85fr);
    gap: 20px;
    align-items: end;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #edf2f5;
}
.twj-deal-card-price-label,
.twj-deal-price-kicker {
    color: var(--twj-deal-muted);
    font-size: 12px;
    font-weight: 700;
}

.twj-deal-card-price,
.twj-deal-detail-price {
    margin-top: 2px;
    color: var(--twj-deal-ink);
    font-size: 38px;
    font-weight: 850;
    letter-spacing: -.045em;
}

.twj-deal-card-price small,
.twj-deal-detail-price small {
    margin-left: 4px;
    color: var(--twj-deal-muted);
    font-size: 14px;
    font-weight: 650;
    letter-spacing: 0;
}

.twj-deal-card-night,
.twj-deal-detail-night {
    color: var(--twj-deal-brand);
    font-size: 13px;
    font-weight: 750;
}

.twj-deal-card-comparison {
    text-align: right;
}

.twj-deal-card-comparison span,
.twj-deal-card-comparison small,
.twj-deal-card-comparison strong {
    display: block;
}

.twj-deal-card-comparison span,
.twj-deal-card-comparison small {
    color: var(--twj-deal-muted);
    font-size: 11px;
    line-height: 1.45;
}

.twj-deal-card-comparison strong {
    margin: 3px 0;
    color: #496270;
    font-size: 18px;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
}
.twj-deal-card-fee-note {
    margin-top: 12px;
    padding: 9px 11px;
    border-radius: 9px;
    background: #fff8e8;
    color: #70571f;
    font-size: 12px;
    line-height: 1.5;
}

.twj-deal-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 20px;
}

.twj-deal-card-verified {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #6c818d;
    font-size: 11px;
}

.twj-deal-card-verified-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #14a57f;
    box-shadow: 0 0 0 3px #e2f6f0;
}

.twj-deal-card-actions {
    display: flex;
    gap: 8px;
}

.twj-deal-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.twj-deal-button.is-primary {
    background: var(--twj-deal-brand);
    color: #fff !important;
}

.twj-deal-button.is-primary:hover {
    background: var(--twj-deal-brand-dark);
    transform: translateY(-1px);
}

.twj-deal-button.is-secondary {
    border-color: #cfdde4;
    background: #fff;
    color: #315267 !important;
}

.twj-deal-button.is-secondary:hover {
    border-color: #99b4c1;
    background: #f7fafb;
}

.twj-deal-button.is-large,
.twj-deal-button.is-disabled {
    width: 100%;
    min-height: 48px;
    margin-top: 18px;
}

.twj-deal-button.is-disabled {
    background: #e8eef1;
    color: #788b95;
    cursor: default;
}

.twj-deals-empty {
    padding: 60px 24px;
    border: 1px dashed #c8d8df;
    border-radius: 18px;
    background: #fafcfd;
    text-align: center;
}

.twj-deals-empty-icon {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--twj-deal-brand-soft);
    color: var(--twj-deal-brand);
    font-size: 22px;
}
.twj-deals-empty h2 {
    margin: 14px 0 8px;
    color: var(--twj-deal-ink);
}

.twj-deals-empty p {
    max-width: 650px;
    margin: 0 auto;
    color: var(--twj-deal-muted);
    line-height: 1.75;
}

.twj-deals-method {
    margin-top: 58px;
    padding: 30px;
    border-radius: 20px;
    background: var(--twj-deal-ink);
    color: #fff;
}

.twj-deals-method .twj-deals-eyebrow {
    color: #ffbc8c;
}

.twj-deals-method h2 {
    color: #fff;
}

.twj-deals-method-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.twj-deals-method-grid > div {
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.17);
}

.twj-deals-method-grid span {
    color: #ffbc8c;
    font-weight: 900;
}

.twj-deals-method-grid h3 {
    margin: 8px 0;
    color: #fff;
    font-size: 17px;
}

.twj-deals-method-grid p {
    margin: 0;
    color: #bfd0db;
    font-size: 13px;
    line-height: 1.7;
}
.twj-deal-detail-page {
    padding-top: 28px;
    padding-bottom: 64px;
}

.twj-deal-back {
    display: inline-block;
    margin-bottom: 18px;
    color: #587181;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.twj-deal-status-banner {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 16px;
    padding: 12px 15px;
    border: 1px solid var(--twj-deal-line);
    border-radius: 12px;
    background: var(--twj-deal-soft);
    color: var(--twj-deal-muted);
}

.twj-deal-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
    gap: 32px;
    align-items: stretch;
    padding: 36px;
    border: 1px solid var(--twj-deal-line);
    border-radius: 22px;
    background:
        radial-gradient(circle at 10% 8%, rgba(255,140,66,.08), transparent 32%),
        #fff;
    box-shadow: 0 16px 50px rgba(16,42,67,.065);
}

.twj-deal-detail-copy {
    align-self: center;
}
.twj-deal-detail-copy h1 {
    margin: 7px 0 10px;
    color: var(--twj-deal-ink);
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.twj-deal-detail-route {
    max-width: 700px;
    color: #345d6d;
    font-size: 16px;
    line-height: 1.75;
}

.twj-deal-price-panel {
    padding: 24px;
    border-radius: 17px;
    background: var(--twj-deal-brand-soft);
    box-shadow: inset 0 0 0 1px rgba(255,140,66,.12);
}

.twj-deal-detail-price {
    font-size: 44px;
}

.twj-deal-detail-savings {
    display: grid;
    gap: 3px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(11,128,111,.16);
}

.twj-deal-detail-savings strong {
    color: var(--twj-deal-teal-dark);
}

.twj-deal-detail-savings span {
    color: var(--twj-deal-muted);
    font-size: 12px;
}

.twj-deal-price-disclaimer {
    margin: 11px 0 0;
    color: #718691;
    font-size: 11px;
    line-height: 1.55;
}

.twj-deal-detail-section {
    margin-top: 22px;
    padding: 28px;
    border: 1px solid var(--twj-deal-line);
    border-radius: 18px;
    background: #fff;
}
.twj-deal-section-heading {
    margin-bottom: 20px;
}

.twj-deal-section-heading p {
    margin: 8px 0 0;
    color: var(--twj-deal-muted);
}

.twj-deal-price-breakdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.twj-deal-price-breakdown > div {
    padding: 16px;
    border-radius: 12px;
    background: #f6f9fb;
}

.twj-deal-price-breakdown span,
.twj-deal-price-breakdown strong {
    display: block;
}

.twj-deal-price-breakdown span {
    color: var(--twj-deal-muted);
    font-size: 12px;
}

.twj-deal-price-breakdown strong {
    margin-top: 5px;
    color: var(--twj-deal-ink);
    font-size: 18px;
}

.twj-deal-price-breakdown .is-total {
    background: var(--twj-deal-brand-soft);
}

.twj-deal-gratuity-note {
    margin: 14px 0 0;
    color: #5f7180;
    line-height: 1.65;
}

.twj-deal-itinerary {
    display: flex;
    gap: 0;
    overflow-x: auto;
    padding: 10px 0 4px;
}
.twj-deal-itinerary-stop {
    position: relative;
    flex: 1 0 150px;
    padding-right: 18px;
}

.twj-deal-itinerary-stop::after {
    position: absolute;
    top: 15px;
    right: 0;
    left: 34px;
    height: 2px;
    background: #cde1df;
    content: "";
}

.twj-deal-itinerary-stop:last-child::after {
    display: none;
}

.twj-deal-itinerary-stop span {
    position: relative;
    z-index: 1;
    display: flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    margin-bottom: 9px;
    border-radius: 50%;
    background: var(--twj-deal-brand);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.twj-deal-itinerary-stop strong {
    color: #315267;
    font-size: 13px;
}

.twj-deal-proof-grid,
.twj-deal-verification-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.twj-deal-proof-grid article {
    padding: 18px;
    border-radius: 13px;
    background: var(--twj-deal-soft);
}
.twj-deal-proof-number {
    color: var(--twj-deal-brand);
    font-size: 30px;
    font-weight: 850;
    letter-spacing: -.04em;
}

.twj-deal-proof-grid h3 {
    margin: 5px 0 7px;
    color: var(--twj-deal-ink);
    font-size: 15px;
}

.twj-deal-proof-grid p {
    margin: 0;
    color: var(--twj-deal-muted);
    font-size: 13px;
    line-height: 1.65;
}

.twj-deal-verification-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.twj-deal-verification-grid > div {
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid #e4ebef;
    border-radius: 11px;
}

.twj-deal-verification-grid > div.is-pass {
    border-color: #cdebe3;
    background: #f1faf7;
}

.twj-deal-verification-grid > div.is-pass::before {
    color: var(--twj-deal-teal);
    content: "✓";
    font-weight: 900;
}

.twj-deal-verification-grid > div.is-fail::before {
    color: #b45345;
    content: "!";
    font-weight: 900;
}

.twj-deal-verification-grid span {
    color: var(--twj-deal-muted);
    font-size: 12px;
}

.twj-deal-last-verified {
    margin: 13px 0 0;
    color: #768993;
    font-size: 12px;
}
.twj-deal-source-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.twj-deal-source-card {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 12px;
    padding: 16px;
    border: 1px solid #e1e9ed;
    border-radius: 13px;
    background: #fbfdfe;
}

.twj-deal-source-number {
    display: flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: var(--twj-deal-brand-soft);
    color: var(--twj-deal-brand-dark);
    font-weight: 850;
}

.twj-deal-source-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.twj-deal-source-top > span {
    padding: 3px 7px;
    border-radius: 999px;
    background: #dff4ea;
    color: #147053;
    font-size: 10px;
    font-weight: 800;
}

.twj-deal-source-card p {
    margin: 4px 0 7px;
    color: var(--twj-deal-muted);
    font-size: 12px;
}

.twj-deal-source-card a,
.twj-deal-source-card small {
    display: block;
}

.twj-deal-source-card a {
    overflow-wrap: anywhere;
    color: var(--twj-deal-brand);
    font-weight: 700;
}

.twj-deal-source-card small {
    margin-top: 6px;
    color: #81929b;
}
.twj-deal-notes-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.twj-deal-notes-section h2 {
    margin: 5px 0 10px;
}

.twj-deal-notes-section ul {
    margin: 0;
    padding-left: 20px;
    color: #536d7a;
    line-height: 1.75;
}

.twj-deal-detail-footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 3px 0;
    color: #83939b;
    font-size: 11px;
}

.twj-deals-page .navigation.pagination {
    margin-top: 28px;
}

@media (max-width: 900px) {
    .twj-deals-hero,
    .twj-deal-detail-hero {
        grid-template-columns: 1fr;
    }

    .twj-deals-grid,
    .twj-deals-method-grid {
        grid-template-columns: 1fr;
    }

    .twj-deal-price-breakdown,
    .twj-deal-verification-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .twj-deals-page,
    .twj-deal-detail-page {
        padding-top: 14px;
        padding-bottom: 40px;
    }

    .twj-deals-hero,
    .twj-deal-detail-hero {
        padding: 22px;
        border-radius: 17px;
    }

    .twj-deals-hero h1 {
        font-size: 39px;
    }

    .twj-deals-hero-trust > div {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .twj-deals-list-head {
        margin-top: 34px;
    }

    .twj-deals-list-head h2,
    .twj-deal-section-heading h2 {
        font-size: 23px;
    }

    .twj-deal-card {
        padding: 20px;
    }

    .twj-deal-card-route {
        min-height: 0;
    }

    .twj-deal-card-price-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .twj-deal-card-comparison {
        text-align: left;
    }

    .twj-deal-card-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .twj-deal-card-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .twj-deal-detail {
        width: 100%;
    }

    .twj-deal-detail-section {
        padding: 20px;
    }

    .twj-deal-price-breakdown,
    .twj-deal-proof-grid,
    .twj-deal-verification-grid,
    .twj-deal-source-list,
    .twj-deal-notes-section {
        grid-template-columns: 1fr;
    }

    .twj-deal-detail-price {
        font-size: 40px;
    }

    .twj-deal-status-banner {
        align-items: flex-start;
        flex-direction: column;
    }

    .twj-deal-source-top {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =========================================================
   Travel Deals v2 — radar/list presentation
   ========================================================= */

.twj-deals-page,
.twj-deal-detail-page {
    --twj-deal-ink: #102a43;
    --twj-deal-muted: #667f8e;
    --twj-deal-line: #dce7ed;
    --twj-deal-soft: #f5f9fa;
    --twj-deal-teal: #0b806f;
    --twj-deal-teal-dark: #07695b;
    --twj-deal-teal-soft: #e6f5f1;
    --twj-deal-orange: var(--twj-deal-brand-accent);
}

.twj-deals-radar-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) 280px;
    gap: 44px;
    align-items: center;
    padding: 46px 50px;
    border: 1px solid rgba(149, 187, 199, .42);
    border-radius: 28px;
    background:
        radial-gradient(circle at 82% 24%, rgba(255, 140, 66, .08), transparent 28%),
        linear-gradient(135deg, #ffffff 0%, #fff9f5 100%);
    box-shadow: 0 18px 50px rgba(16, 42, 67, .07);
    overflow: hidden;
}
.twj-deals-radar-copy h1 {
    margin: 6px 0 10px;
    color: var(--twj-deal-ink);
    font-size: clamp(36px, 4vw, 54px);
    line-height: 1.08;
    letter-spacing: -.04em;
}

.twj-deals-radar-copy p {
    max-width: 700px;
    margin: 0;
    color: var(--twj-deal-muted);
    font-size: 16px;
    line-height: 1.8;
}

.twj-deals-radar-copy .twj-deals-radar-subtitle {
    color: #365768;
    font-size: 20px;
    font-weight: 650;
    letter-spacing: -.01em;
}

.twj-deals-radar-copy p strong {
    color: var(--twj-deal-ink);
}

.twj-deals-radar-visual {
    position: relative;
    width: 220px;
    height: 220px;
    justify-self: end;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,140,66,.1) 0 2px, transparent 3px);
}
.twj-deals-radar-ring {
    position: absolute;
    inset: 50%;
    border: 1px solid rgba(255,140,66,.22);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.twj-deals-radar-ring.is-one { width: 68px; height: 68px; }
.twj-deals-radar-ring.is-two { width: 132px; height: 132px; }
.twj-deals-radar-ring.is-three { width: 200px; height: 200px; }

.twj-deals-radar-sweep {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255,140,66,.72), rgba(255,140,66,.08), transparent);
    transform-origin: left center;
    animation: twj-deals-radar-scan 6s linear infinite;
    will-change: transform;
}

.twj-deals-radar-ship {
    position: absolute;
    left: 50%;
    top: 50%;
    display: flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--twj-deal-brand);
    color: #fff;
    transform: translate(-50%, -50%);
}
.twj-deals-radar-ship svg,
.twj-deals-trust-icon svg,
.twj-deal-status-line svg,
.twj-deal-fact-icon svg,
.twj-deal-evidence summary svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@keyframes twj-deals-radar-scan {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .twj-deals-radar-sweep {
        animation: none;
    }
}

.twj-deals-trust-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 16px;
    border: 1px solid var(--twj-deal-line);
    border-radius: 15px;
    background: #fff;
    overflow: hidden;
}
.twj-deals-trust-strip > div {
    display: grid;
    grid-template-columns: 38px 1fr;
    column-gap: 11px;
    row-gap: 1px;
    padding: 15px 18px;
    border-right: 1px solid #e8eff2;
}

.twj-deals-trust-strip > div:last-child {
    border-right: 0;
}

.twj-deals-trust-icon {
    grid-row: 1 / 3;
    display: flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--twj-deal-brand-soft);
    color: var(--twj-deal-brand);
}

.twj-deals-trust-strip strong {
    color: var(--twj-deal-ink);
    font-size: 14px;
}

.twj-deals-trust-strip small {
    color: var(--twj-deal-muted);
    line-height: 1.45;
}

.twj-deals-state-tabs {
    display: flex;
    width: max-content;
    gap: 4px;
    margin: 24px auto 0;
    padding: 5px;
    border: 1px solid #dbe6ea;
    border-radius: 14px;
    background: rgba(245, 248, 249, .94);
    box-shadow: 0 8px 24px rgba(16, 42, 67, .05);
}

.twj-deals-state-tabs a {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 9px;
    color: #58717d;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.twj-deals-state-tabs a:hover,
.twj-deals-state-tabs a.is-active {
    background: #fff;
    color: var(--twj-deal-brand-dark);
    box-shadow: 0 2px 8px rgba(16, 42, 67, .08);
}

.twj-deals-filter-bar {
    margin-top: 22px;
    padding: 16px;
    border: 1px solid var(--twj-deal-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 10px 30px rgba(16, 42, 67, .055);
}

.twj-deals-price-note {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    margin: 18px 0 0;
    padding: 14px 16px;
    border: 1px solid #dfe8ec;
    border-radius: 12px;
    background: #f8fbfc;
}

.twj-deals-price-note strong {
    color: var(--twj-deal-ink);
    white-space: nowrap;
}

.twj-deals-price-note p {
    margin: 0;
    color: var(--twj-deal-muted);
    font-size: 12px;
    line-height: 1.7;
}

.twj-deals-filter-form {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    align-items: end;
}

.twj-deals-filter-control {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.twj-deals-filter-control > span {
    color: #58717d;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .035em;
}

.twj-deals-filter-control select {
    width: 100%;
    min-width: 0;
    height: 44px;
    padding: 0 34px 0 12px;
    border: 1px solid #d4e0e6;
    border-radius: 12px;
    background: #fff;
    color: #29485a;
    color-scheme: light;
    font-size: 12px;
    font-weight: 650;
    outline: none;
    transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.twj-deals-filter-control select:hover {
    border-color: var(--twj-deal-brand-border);
}

.twj-deals-filter-control select:focus {
    border-color: var(--twj-deal-brand-accent);
    box-shadow: 0 0 0 3px rgba(255, 140, 66, .22);
}

/* Browser-native, accessible picker with a bounded light popover on Chrome 135+.
   Older browsers and touch screens retain the platform-native select. */
@media (min-width: 701px) {
    @supports (appearance: base-select) {
        .twj-deals-filter-control select,
        .twj-deals-filter-control select::picker(select) {
            appearance: base-select;
        }

        .twj-deals-filter-control select {
            padding: 0 12px;
            align-items: center;
            cursor: pointer;
        }

        .twj-deals-filter-control select::picker(select) {
            min-width: 220px;
            max-width: min(310px, calc(100vw - 24px));
            max-height: min(360px, 55vh);
            overflow-y: auto;
            margin-block: 6px;
            padding: 5px;
            border: 1px solid #cbdce3;
            border-radius: 13px;
            background: #fff;
            color: #29485a;
            color-scheme: light;
            box-shadow: 0 14px 35px rgba(16, 42, 67, .18);
            overscroll-behavior: contain;
        }

        .twj-deals-filter-control select option {
            padding: 10px 12px;
            border-radius: 8px;
            background: #fff;
            color: #29485a;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
        }

        .twj-deals-filter-control select option:hover,
        .twj-deals-filter-control select option:focus,
        .twj-deals-filter-control select option:checked {
            background: var(--twj-deal-brand-soft);
            color: var(--twj-deal-brand-dark);
        }

        .twj-deals-filter-control select::picker-icon {
            color: var(--twj-deal-brand-dark);
        }
    }
}

.twj-deals-filter-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 7px;
    align-items: center;
    justify-content: flex-end;
    min-height: 28px;
}

.twj-deals-filter-actions button,
.twj-deals-filter-actions a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border-radius: 11px;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.twj-deals-filter-actions button {
    border: 0;
    background: var(--twj-deal-brand);
    color: #fff;
    cursor: pointer;
}

.twj-deals-filter-actions a {
    min-height: 30px;
    color: var(--twj-deal-brand);
    background: var(--twj-deal-brand-soft);
}

.twj-deals-filter-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.twj-deals-filter-label,
.twj-deals-line-filter label {
    color: #55707f;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.twj-deals-filter-chips {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    gap: 7px;
}

.twj-deals-filter-chips a {
    display: inline-flex;
    gap: 5px;
    align-items: center;
    padding: 7px 11px;
    border: 1px solid #d8e3e8;
    border-radius: 999px;
    background: #fff;
    color: #46606f;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}
.twj-deals-filter-chips a:hover,
.twj-deals-filter-chips a.is-active {
    border-color: var(--twj-deal-brand-border);
    background: var(--twj-deal-brand-soft);
    color: var(--twj-deal-brand-dark);
}

.twj-deals-filter-chips a span {
    color: #8a9ca6;
    font-size: 10px;
}

.twj-deals-line-filter {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.twj-deals-line-filter select {
    min-width: 210px;
    height: 38px;
    padding: 0 34px 0 11px;
    border: 1px solid #d4e0e6;
    border-radius: 9px;
    background: #fff;
    color: #29485a;
}

.twj-deals-applied {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    margin-top: 12px;
    color: #778b96;
    font-size: 11px;
}
.twj-deals-applied a {
    padding: 4px 8px;
    border-radius: 999px;
    background: #eef4f6;
    color: #476270;
    text-decoration: none;
}

.twj-deals-applied a.is-clear {
    background: transparent;
    color: var(--twj-deal-brand);
    font-weight: 700;
}

.twj-deals-results-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin: 30px 0 12px;
}

.twj-deals-results-head h2 {
    margin: 0;
    color: var(--twj-deal-ink);
    font-size: 25px;
}

.twj-deals-selected-return {
    display: inline-block;
    margin-top: 5px;
    color: var(--twj-deal-brand-dark);
    font-size: 13px;
    font-weight: 700;
    text-underline-offset: 2px;
}
.twj-deals-selected-return:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.twj-deals-results-head p {
    margin: 4px 0 0;
    color: var(--twj-deal-muted);
    font-size: 12px;
}

.twj-deals-results-head > strong {
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--twj-deal-brand-soft);
    color: var(--twj-deal-brand-dark);
    font-size: 12px;
}

.twj-deals-results-count {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.twj-deals-results-count > strong {
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--twj-deal-brand-soft);
    color: var(--twj-deal-brand-dark);
    font-size: 12px;
}

.twj-deals-results-progress {
    color: var(--twj-deal-muted);
    font-size: 12px;
    font-weight: 650;
}

.twj-deals-pagination {
    margin-top: 20px;
}

.twj-deals-pagination[hidden],
.twj-deals-load-more-shell[hidden] {
    display: none !important;
}

.twj-deals-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.twj-deals-pagination a.page-numbers,
.twj-deals-pagination span.page-numbers {
    display: inline-flex;
    min-width: 38px;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 7px 11px;
    border: 1px solid var(--twj-deal-line);
    border-radius: 10px;
    background: #fff;
    color: #35596b;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

.twj-deals-pagination span.page-numbers.current {
    border-color: var(--twj-deal-brand-border);
    background: var(--twj-deal-brand-soft);
    color: var(--twj-deal-brand-dark);
}

.twj-deals-pagination a.page-numbers:hover {
    border-color: var(--twj-deal-brand-border);
    color: var(--twj-deal-brand-dark);
}

.twj-deals-pagination a.page-numbers:focus-visible,
.twj-deals-load-more:focus-visible {
    outline: 3px solid rgba(255, 140, 66, .28);
    outline-offset: 2px;
}

.twj-deals-load-more-shell {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.twj-deals-load-more {
    min-width: 180px;
    min-height: 44px;
    padding: 9px 22px;
    border: 1px solid var(--twj-deal-brand);
    border-radius: 12px;
    background: #fff;
    color: var(--twj-deal-brand-dark);
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
}

.twj-deals-load-more:hover {
    background: var(--twj-deal-brand-soft);
}

.twj-deals-load-more:disabled {
    cursor: wait;
    opacity: .65;
}
.twj-deals-list {
    border: 1px solid var(--twj-deal-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(16, 42, 67, .055);
    overflow: hidden;
}

.twj-deals-list-header,
.twj-deal-row {
    display: grid;
    grid-template-columns: minmax(210px, 1.55fr) minmax(145px, .9fr) minmax(165px, 1.05fr) minmax(170px, 1fr) minmax(100px, .65fr) minmax(140px, .85fr);
    column-gap: 14px;
    align-items: center;
}

.twj-deals-list-header {
    padding: 10px 18px;
    background: #f5f8fa;
    color: #718793;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.twj-deal-row {
    row-gap: 9px;
    padding: 14px 18px 12px;
    border-top: 2px solid #d5e2e9;
    background: #fff;
    transition: background-color .16s ease;
}

/* Alternating rows are only a reading aid, never a verification status. */
.twj-deal-row:nth-of-type(even) {
    background: #f3f7f9;
}

.twj-deal-row:first-of-type {
    border-top: 0;
}

.twj-deal-row:hover {
    background: #eaf4f6;
}
.twj-deal-row-main,
.twj-deal-row-sailing,
.twj-deal-row-price,
.twj-deal-row-ppn,
.twj-deal-row-proof,
.twj-deal-row-status,
.twj-deal-row-booking {
    min-width: 0;
}

.twj-deal-row-kicker {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    color: #718590;
    font-size: 10px;
    font-weight: 700;
}

.twj-deal-region {
    padding: 3px 6px;
    border-radius: 6px;
    background: #eef5f6;
    color: #42626c;
    white-space: nowrap;
}

.twj-deal-row h2 {
    margin: 5px 0 3px;
    font-size: 18px;
    line-height: 1.25;
}

.twj-deal-row h2 a {
    color: var(--twj-deal-ink);
    text-decoration: none;
}

.twj-deal-row h2 a:hover {
    color: var(--twj-deal-brand);
}

.twj-deal-row-route {
    color: #365768;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.45;
    overflow-wrap: anywhere;
    white-space: normal;
}

.twj-deal-row-itinerary {
    grid-column: 1 / -1;
    display: flex;
    align-items: baseline;
    gap: 10px;
    min-width: 0;
    padding-top: 9px;
    border-top: 1px solid #d5e2e9;
    color: #637d8b;
    font-size: 11px;
    line-height: 1.5;
}

.twj-deal-row-itinerary-label {
    flex: 0 0 auto;
    color: #58727f;
    font-weight: 700;
}

.twj-deal-row-itinerary-stops {
    min-width: 0;
    overflow-wrap: anywhere;
}
.twj-deal-row-sailing strong,
.twj-deal-row-sailing span,
.twj-deal-row-sailing small,
.twj-deal-row-price strong,
.twj-deal-row-price span,
.twj-deal-row-price small {
    display: block;
}

.twj-deal-row-sailing .twj-deal-row-departure {
    color: #294a5d;
    font-size: 12px;
    font-weight: 700;
}

.twj-deal-row-sailing-trip {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 8px;
    margin-top: 3px;
}

.twj-deal-row-sailing .twj-deal-row-nights {
    color: var(--twj-deal-ink);
    font-size: 22px;
    line-height: 1.15;
    white-space: nowrap;
}

.twj-deal-row-sailing .twj-deal-row-nights small {
    display: inline;
    color: #365768;
    font-size: 13px;
}

.twj-deal-row-sailing .twj-deal-row-cabin {
    display: inline;
    color: #365768;
    font-size: 12px;
    font-weight: 700;
}

.twj-deal-row-sailing > small {
    margin-top: 3px;
    color: #738892;
    font-size: 10px;
}

.twj-deal-row-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.twj-deal-row-price-primary {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    column-gap: 8px;
}

.twj-deal-row-price-primary > strong {
    color: var(--twj-deal-ink);
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -.03em;
    white-space: nowrap;
}

.twj-deal-row-price-primary > strong small {
    display: inline;
    margin-left: 2px;
    color: #758994;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0;
}

.twj-deal-row-price-primary .twj-deal-row-price-basis {
    display: inline;
    color: #718793;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
}

.twj-deal-row-price span {
    color: var(--twj-deal-muted);
    font-size: 11px;
    font-weight: 800;
}

.twj-deal-row-price .twj-deal-row-reference-badge {
    display: inline-block;
    max-width: 100%;
    margin-top: 3px;
    padding: 3px 7px;
    border: 1px solid #f0d0b3;
    border-radius: 6px;
    background: #fff4e9;
    color: #a64e16;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.45;
    white-space: normal;
}

.twj-deal-row-price .twj-deal-row-price-low {
    margin-top: 2px;
    color: #728894;
    font-size: 10px;
    font-weight: 700;
}

.twj-deal-row-price > small {
    margin-top: 3px;
    color: #8999a1;
    font-size: 9px;
}

.twj-deal-row-ppn {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
    color: var(--twj-deal-ink);
}

.twj-deal-row-ppn-primary {
    display: flex;
    align-items: baseline;
    gap: 4px;
    white-space: nowrap;
}

.twj-deal-row-ppn strong {
    font-size: 20px;
    line-height: 1.3;
    letter-spacing: -.02em;
}

.twj-deal-row-ppn small {
    color: #758994;
    font-size: 10px;
    font-weight: 600;
}

.twj-deal-row-ppn .twj-deal-row-ppn-context {
    color: var(--twj-deal-muted);
    font-size: 11px;
    font-weight: 800;
}

.twj-deal-row-ppn .twj-deal-row-ppn-low {
    color: #728894;
    font-size: 10px;
    font-weight: 700;
}

.twj-deal-row-ppn > span:not(.twj-deal-row-ppn-context):not(.twj-deal-row-ppn-low) {
    color: #8999a1;
    font-size: 12px;
}
.twj-deal-row-saving {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.twj-deal-row-saving strong {
    color: var(--twj-deal-teal);
    font-size: 20px;
    letter-spacing: -.03em;
}

.twj-deal-row-saving span {
    color: #6d828d;
    font-size: 10px;
}

.twj-deal-state-chip {
    padding: 3px 7px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 900;
}

.twj-deal-state-chip.is-price-changed,
.twj-deal-row-saving.is-price-changed strong {
    color: #9a6500;
}

.twj-deal-state-chip.is-price-changed {
    background: #fff4d7;
}

.twj-deal-state-chip.is-stale,
.twj-deal-row-saving.is-stale strong {
    color: #526b76;
}

.twj-deal-state-chip.is-stale {
    background: #edf3f5;
}

.twj-deal-state-chip.is-expired,
.twj-deal-row-saving.is-expired strong {
    color: #6d7d86;
}

.twj-deal-state-chip.is-expired {
    background: #edf1f3;
}

/* Status stays in the domain model; active Radar rows share one visual treatment. */
.twj-deal-row.is-expired {
    background: #fafbfb;
}

.twj-deal-row.is-native-lead h2 {
    color: var(--twj-deal-ink);
}

.twj-deal-state-chip.is-native-new,
.twj-deal-row-saving.is-native-new strong {
    color: #315f8a;
}

.twj-deal-state-chip.is-native-new {
    background: #edf5fd;
}

.twj-deal-state-chip.is-native-verified,
.twj-deal-row-saving.is-native-verified strong,
.twj-deal-state-chip.is-native-checked,
.twj-deal-row-saving.is-native-checked strong {
    color: var(--twj-deal-teal-dark);
}

.twj-deal-state-chip.is-native-verified,
.twj-deal-state-chip.is-native-checked {
    background: var(--twj-deal-teal-soft);
}

.twj-deal-state-chip.is-native-unconfirmed,
.twj-deal-row-saving.is-native-unconfirmed strong,
.twj-deal-state-chip.is-native-needs_recheck,
.twj-deal-row-saving.is-native-needs_recheck strong {
    color: #8a6200;
}

.twj-deal-state-chip.is-native-unconfirmed,
.twj-deal-state-chip.is-native-needs_recheck {
    background: #fff4d7;
}

.twj-deal-state-chip.is-native-changed,
.twj-deal-row-saving.is-native-changed strong {
    color: #9a6500;
}

.twj-deal-state-chip.is-native-changed {
    background: #fff0cf;
}

.twj-deal-state-chip.is-native-ended,
.twj-deal-row-saving.is-native-ended strong {
    color: #687b85;
}

.twj-deal-state-chip.is-native-ended {
    background: #edf1f3;
}

.twj-deal-row.is-native-ended {
    background: #fafbfb;
}

.twj-deal-row-status > small {
    color: #7d9099;
    font-size: 9px;
    line-height: 1.4;
}

.twj-deal-booking-ended {
    color: #7a8d96;
    font-size: 11px;
    font-weight: 700;
}

.twj-deal-price-compare {
    position: relative;
    height: 6px;
    margin: 7px 0 5px;
    border-radius: 99px;
    background: #dbe5e8;
    overflow: hidden;
}

.twj-deal-price-compare-current {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0b806f, #43b69e);
}

.twj-deal-row-proof > small {
    color: #83949c;
    font-size: 9px;
}

.twj-deal-row-status {
    display: grid;
    gap: 6px;
}

.twj-deal-status-line {
    display: flex;
    gap: 6px;
    align-items: center;
    color: #5f7783;
    font-size: 10px;
}

.twj-deal-status-line i {
    display: flex;
    color: var(--twj-deal-brand);
}

.twj-deal-status-line svg {
    width: 15px;
    height: 15px;
}
.twj-deal-row-booking {
    display: grid;
    gap: 6px;
}

.twj-deal-row-booking-option {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 7px 8px;
    border: 1px solid #d9e5e8;
    border-radius: 8px;
    background: #fbfdfd;
}

.twj-deal-row-booking-option.is-best {
    border-color: var(--twj-deal-brand-border);
    background: var(--twj-deal-brand-soft);
}

.twj-deal-row-booking-provider {
    min-width: 0;
}

.twj-deal-row-booking-provider strong,
.twj-deal-row-booking-provider span {
    display: block;
}

.twj-deal-row-booking-provider strong {
    color: #314d58;
    font-size: 11px;
    line-height: 1.25;
}

.twj-deal-row-booking-provider span {
    margin-top: 2px;
    color: #728893;
    font-size: 10px;
    white-space: nowrap;
}

.twj-deal-row-booking-link {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    justify-content: center;
    padding: 5px 8px;
    border: 1px solid var(--twj-deal-brand-border);
    border-radius: 7px;
    background: #fff;
    color: var(--twj-deal-brand-dark);
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
}

.twj-deal-row-booking-link:hover {
    border-color: var(--twj-deal-brand);
    background: var(--twj-deal-brand-soft);
}

.twj-deals-main.is-filtering .twj-deals-filter-bar,
.twj-deals-main.is-filtering .twj-deals-results-area {
    opacity: .45;
    pointer-events: none;
    transition: opacity .12s ease;
}

.twj-deals-empty {
    display: grid;
    justify-items: center;
    padding: 48px 20px;
    border: 1px dashed #cad9df;
    border-radius: 15px;
    background: #fbfcfd;
    text-align: center;
}

.twj-deals-empty-icon {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--twj-deal-brand-soft);
    color: var(--twj-deal-brand);
}

.twj-deals-empty h2 {
    margin: 12px 0 5px;
}

.twj-deals-empty p {
    margin: 0 0 12px;
    color: var(--twj-deal-muted);
}

.twj-deals-empty a {
    color: var(--twj-deal-brand);
    font-weight: 800;
}
/* Deal detail v2 */

.twj-deal-detail-kicker {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    color: #5e7682;
    font-size: 11px;
    font-weight: 800;
}

.twj-deal-detail-kicker span:first-child {
    color: var(--twj-deal-brand);
}

.twj-deal-detail-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 18px;
}

.twj-deal-detail-trust span {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    color: #58717d;
    font-size: 11px;
    font-weight: 700;
}

.twj-deal-detail-trust svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: var(--twj-deal-brand);
    stroke-width: 1.8;
}

.twj-deal-value-panel {
    padding: 24px;
    border: 1px solid var(--twj-deal-brand-border);
    border-radius: 17px;
    background: var(--twj-deal-brand-soft);
}

.twj-deal-value-history {
    display: grid;
    gap: 2px;
    margin-top: 15px;
    padding-top: 14px;
    border-top: 1px solid var(--twj-deal-line);
}

.twj-deal-value-history span,
.twj-deal-value-history small {
    color: var(--twj-deal-muted);
    font-size: 10px;
}

.twj-deal-value-history strong {
    color: var(--twj-deal-ink);
    font-size: 21px;
}

.twj-deal-value-label {
    color: #55737c;
    font-size: 11px;
    font-weight: 800;
}

.twj-deal-value-compare {
    margin-top: 15px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,140,66,.16);
}

.twj-deal-value-compare > div:first-child {
    display: flex;
    gap: 7px;
    align-items: baseline;
}

.twj-deal-value-compare strong {
    color: var(--twj-deal-teal);
    font-size: 23px;
}

.twj-deal-value-compare span {
    color: #55737c;
    font-size: 11px;
}

.twj-deal-value-compare > small {
    color: #748991;
    font-size: 10px;
}

.twj-deal-booking-section {
    margin-top: 20px;
    padding: 28px;
    border: 1px solid var(--twj-deal-line);
    border-radius: 18px;
    background: #fff;
}

.twj-deal-booking-section .twj-deal-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.twj-deal-booking-section .twj-deal-section-heading p {
    max-width: 420px;
    margin: 0;
    text-align: right;
}
.twj-deal-booking-list {
    display: grid;
    gap: 8px;
}

.twj-deal-booking-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 130px 105px;
    gap: 16px;
    align-items: center;
    padding: 14px 16px;
    border: 1px solid #e2eaee;
    border-radius: 12px;
    background: #fbfdfe;
}

.twj-deal-booking-row.is-best {
    border-color: var(--twj-deal-brand-border);
    background: var(--twj-deal-brand-soft);
}

.twj-deal-booking-provider {
    display: flex;
    gap: 10px;
    align-items: center;
}

.twj-deal-booking-provider strong,
.twj-deal-booking-provider small {
    display: block;
}

.twj-deal-booking-provider small {
    margin-top: 2px;
    color: #7a8d96;
    font-size: 10px;
}

.twj-deal-booking-rank {
    display: flex;
    min-width: 44px;
    height: 26px;
    align-items: center;
    justify-content: center;
    padding: 0 7px;
    border-radius: 7px;
    background: #edf3f5;
    color: #647b87;
    font-size: 9px;
    font-weight: 800;
}
.twj-deal-booking-row.is-best .twj-deal-booking-rank {
    background: var(--twj-deal-brand);
    color: #fff;
}

.twj-deal-booking-price {
    color: var(--twj-deal-ink);
    font-size: 21px;
    font-weight: 850;
    text-align: right;
}

.twj-deal-booking-price small {
    margin-left: 2px;
    color: #7b8f98;
    font-size: 10px;
    font-weight: 600;
}

.twj-deal-booking-button {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: var(--twj-deal-brand);
    color: #fff !important;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none !important;
}

.twj-deal-booking-button:hover {
    background: var(--twj-deal-brand-dark);
}

.twj-deal-live-note {
    margin: 10px 0 0;
    color: #85959d;
    font-size: 10px;
}

.twj-deal-booking-unavailable {
    padding: 18px;
    border-radius: 11px;
    background: #f3f5f6;
    color: #6f8189;
}
.twj-deal-facts-section {
    margin-top: 14px;
}

.twj-deal-facts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid var(--twj-deal-line);
    border-radius: 15px;
    background: #fff;
    overflow: hidden;
}
.twj-deal-facts-grid.is-two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.twj-deal-facts-grid > div {
    display: grid;
    grid-template-columns: 36px 1fr;
    column-gap: 10px;
    padding: 16px 18px;
    border-right: 1px solid #e8eef1;
}

.twj-deal-facts-grid > div:last-child {
    border-right: 0;
}

.twj-deal-fact-icon {
    grid-row: 1 / 3;
    display: flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--twj-deal-brand-soft);
    color: var(--twj-deal-brand);
}

.twj-deal-facts-grid strong {
    color: var(--twj-deal-ink);
    font-size: 13px;
}

.twj-deal-facts-grid small {
    color: #7d9099;
    font-size: 10px;
}
.twj-deal-evidence {
    margin-top: 20px;
    border: 1px solid var(--twj-deal-line);
    border-radius: 15px;
    background: #fff;
    overflow: hidden;
}

.twj-deal-evidence summary {
    display: grid;
    grid-template-columns: 32px 1fr auto;
    gap: 11px;
    align-items: center;
    padding: 17px 20px;
    cursor: pointer;
    list-style: none;
}

.twj-deal-evidence summary::-webkit-details-marker {
    display: none;
}

.twj-deal-evidence summary > span {
    display: flex;
    color: var(--twj-deal-brand);
}

.twj-deal-evidence summary strong,
.twj-deal-evidence summary small {
    display: block;
}

.twj-deal-evidence summary small {
    margin-top: 2px;
    color: #7d9099;
    font-size: 10px;
}

.twj-deal-evidence summary b {
    color: #66808c;
    font-size: 20px;
    font-weight: 400;
}

.twj-deal-evidence[open] summary b {
    transform: rotate(45deg);
}

.twj-deal-evidence-body {
    padding: 0 20px 20px;
    border-top: 1px solid #edf2f4;
}
.twj-deal-evidence-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 16px 0 8px;
}

.twj-deal-evidence-summary > div {
    padding: 12px;
    border-radius: 10px;
    background: #f6f9fa;
}

.twj-deal-evidence-summary strong,
.twj-deal-evidence-summary span {
    display: block;
}

.twj-deal-evidence-summary strong {
    color: var(--twj-deal-brand);
    font-size: 20px;
}

.twj-deal-evidence-summary span {
    margin-top: 2px;
    color: #758a94;
    font-size: 9px;
}

.twj-deal-evidence-method {
    margin: 7px 0 14px;
    color: #6d828d;
    font-size: 10px;
}

/* Keep the comparison row compact on desktop, but reflow before columns squeeze. */
@media (max-width: 1140px) {
    .twj-deals-list-header {
        display: none;
    }

    .twj-deal-row {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, .85fr) minmax(0, 1fr) minmax(0, .85fr);
        grid-template-areas:
            "main sailing price booking"
            "main status ppn booking";
        gap: 8px 14px;
    }

    .twj-deal-row-main { grid-area: main; }
    .twj-deal-row-sailing { grid-area: sailing; }
    .twj-deal-row-price { grid-area: price; }
    .twj-deal-row-ppn { grid-area: ppn; }
    .twj-deal-row-status { grid-area: status; }
    .twj-deal-row-booking { grid-area: booking; }
    .twj-deal-row-itinerary { grid-area: auto; grid-column: 1 / -1; }
}

@media (max-width: 980px) {
    .twj-deals-radar-hero {
        grid-template-columns: 1fr 180px;
    }

    .twj-deals-radar-visual {
        width: 170px;
        height: 170px;
    }

    .twj-deals-radar-ring.is-three { width: 156px; height: 156px; }
    .twj-deals-radar-ring.is-two { width: 104px; height: 104px; }
    .twj-deals-radar-ring.is-one { width: 54px; height: 54px; }

    .twj-deals-filter-form {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .twj-deals-filter-actions {
        justify-content: flex-end;
    }

    .twj-deal-booking-section .twj-deal-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .twj-deal-booking-section .twj-deal-section-heading p {
        max-width: none;
        text-align: left;
    }
}

@media (max-width: 700px) {
    .twj-deals-radar-hero {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 24px;
    }

    .twj-deals-radar-visual {
        display: none;
    }

    .twj-deals-radar-copy h1 {
        font-size: 38px;
    }

    .twj-deals-radar-copy .twj-deals-radar-subtitle {
        font-size: 17px;
    }

    .twj-deals-state-tabs {
        margin-top: 18px;
    }

    .twj-deals-filter-bar {
        padding: 14px;
        border-radius: 16px;
    }

    .twj-deals-filter-form {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .twj-deals-filter-actions {
        width: 100%;
    }

    .twj-deals-filter-actions button {
        width: 100%;
        min-height: 44px;
    }

    .twj-deals-filter-actions a {
        flex: none;
    }

    .twj-deals-trust-strip {
        grid-template-columns: 1fr;
    }
    .twj-deals-trust-strip > div {
        border-right: 0;
        border-bottom: 1px solid #e8eff2;
    }

    .twj-deals-trust-strip > div:last-child {
        border-bottom: 0;
    }

    .twj-deals-filter-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .twj-deals-filter-chips {
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 3px;
        scrollbar-width: none;
    }

    .twj-deals-filter-chips::-webkit-scrollbar {
        display: none;
    }

    .twj-deals-filter-chips a {
        flex: 0 0 auto;
    }

    .twj-deals-line-filter {
        align-items: stretch;
        flex-direction: column;
    }

    .twj-deals-line-filter select {
        width: 100%;
        min-width: 0;
    }

    .twj-deals-results-head {
        align-items: flex-start;
    }
    .twj-deals-results-count {
        justify-content: flex-start;
    }

    .twj-deals-load-more {
        width: 100%;
    }
    .twj-deal-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
            "main main"
            "sailing status"
            "price ppn"
            "booking booking";
        gap: 10px 12px;
        padding: 15px 14px 12px;
    }

    .twj-deal-row-main {
        min-width: 0;
    }

    .twj-deal-row-route,
    .twj-deal-row-itinerary {
        white-space: normal;
    }

    .twj-deal-row-price,
    .twj-deal-row-ppn {
        align-self: stretch;
        padding: 9px 10px;
        border-radius: 10px;
        background: #f4f8f9;
    }

    .twj-deal-row-price-primary > strong,
    .twj-deal-row-ppn-primary > strong {
        font-size: 20px;
    }

    .twj-deal-row-itinerary {
        align-items: flex-start;
        padding-top: 10px;
        font-size: 11px;
    }

    .twj-deal-row-proof {
        min-width: 116px;
    }

    .twj-deal-row-saving {
        justify-content: flex-end;
    }

    .twj-deal-row-status {
        display: flex;
        justify-content: flex-end;
        align-self: center;
    }

    .twj-deal-row-booking {
        grid-template-columns: 1fr;
    }

    .twj-deal-row-booking-option {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 12px;
    }

    .twj-deal-row-booking-link {
        min-height: 44px;
        align-items: center;
        padding: 9px 14px;
        font-size: 12px;
    }

    .twj-deal-detail-hero {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .twj-deal-booking-section,
    .twj-deal-detail-section {
        padding: 20px;
    }
    .twj-deal-booking-row {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "provider price"
            "button button";
        gap: 11px;
    }

    .twj-deal-booking-provider { grid-area: provider; }
    .twj-deal-booking-price { grid-area: price; }
    .twj-deal-booking-button { grid-area: button; }

    .twj-deal-facts-grid {
        grid-template-columns: 1fr;
    }
    .twj-deal-facts-grid.is-two-up { grid-template-columns: 1fr; }

    .twj-deal-facts-grid > div {
        border-right: 0;
        border-bottom: 1px solid #e8eef1;
    }

    .twj-deal-facts-grid > div:last-child {
        border-bottom: 0;
    }

    .twj-deal-evidence-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .twj-deals-price-note {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .twj-deals-price-note strong {
        white-space: normal;
    }
}

/* Discovery briefs are clearly separate from verified Radar results. */
.twj-deals-page .twj-deals-main {
    width: 100%;
    min-width: 0;
}
.twj-deals-discovery-rail {
    margin: 18px 0 22px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 20px;
    border: 1px solid var(--twj-deal-brand-border);
    border-radius: 18px;
    background: linear-gradient(110deg, #fffaf6, #ffffff 76%);
}
.twj-deals-discovery-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: end;
    margin-bottom: 14px;
}
.twj-deals-discovery-eyebrow {
    color: var(--twj-deal-brand-dark);
    font-size: 12px;
    font-weight: 700;
}
.twj-deals-discovery-head h2 {
    font-size: 21px;
    margin: 4px 0 0;
    line-height: 1.35;
}
.twj-deals-discovery-head h2 small {
    font-size: 13px;
    font-weight: 500;
    color: var(--twj-deal-muted);
}
.twj-deals-discovery-head p {
    color: var(--twj-deal-muted);
    margin: 0;
    max-width: 470px;
    font-size: 12px;
    line-height: 1.65;
}
.twj-deals-discovery-head-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}
.twj-deals-discovery-navigation {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    color: var(--twj-deal-muted);
}
.twj-deals-discovery-scroll-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #ffffff;
    color: var(--twj-deal-brand-dark);
    border: 1px solid var(--twj-deal-brand-border);
    border-radius: 8px;
    cursor: pointer;
    font-size: 17px;
}
.twj-deals-discovery-scroll-btn:hover,
.twj-deals-discovery-scroll-btn:focus-visible {
    background: var(--twj-deal-brand-soft);
    outline-offset: 2px;
}
.twj-deals-discovery-grid {
    display: flex;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: #c7d4dc transparent;
    padding: 2px 2px 13px;
}
.twj-deals-discovery-grid:focus-visible {
    outline: 2px solid var(--twj-deal-brand);
    outline-offset: 2px;
}
.twj-deals-discovery-card {
    flex: 0 0 min(350px, 90%);
    scroll-snap-align: start;
    min-width: 0;
    padding: 16px;
    background: white;
    border: 1px solid var(--twj-deal-line);
    border-radius: 13px;
}
.twj-deals-discovery-card-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}
.twj-deals-discovery-state {
    background: #fff1e6;
    color: var(--twj-deal-brand-dark);
    border-radius: 5px;
    padding: 3px 7px;
    font-size: 11px;
    font-weight: 750;
}
.twj-deals-discovery-discount,
.twj-deals-discovery-value {
    color: var(--twj-deal-brand-dark);
    font-weight: 650;
    font-size: 12px;
}
.twj-deals-discovery-discount small {
    display: inline;
    font-size: 11px;
    font-weight: 500;
    color: var(--twj-deal-muted);
}
.twj-deals-discovery-card h3 {
    font-size: 17px;
    font-weight: 750;
    margin: 0 0 8px;
    line-height: 1.4;
}
.twj-deals-discovery-route,
.twj-deals-discovery-trip {
    color: var(--twj-deal-muted);
    font-size: 12px;
    margin: 0 0 7px;
    line-height: 1.6;
}
.twj-deals-discovery-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin: 13px 0 6px;
}
.twj-deals-discovery-price strong {
    font-size: 23px;
    line-height: 1.2;
    color: var(--twj-deal-ink);
}
.twj-deals-discovery-price .twj-deals-discovery-price-label {
    flex-basis: 100%;
    font-size: 11px;
    line-height: 1.2;
}
.twj-deals-discovery-price strong small {
    font-size: 12px;
    font-weight: 500;
}
.twj-deals-discovery-price > span,
.twj-deals-discovery-caveat {
    color: var(--twj-deal-muted);
    font-size: 12px;
}
.twj-deals-discovery-caveat { margin: 0 0 12px; }
.twj-deals-discovery-footer {
    border-top: 1px solid var(--twj-deal-line);
    padding-top: 11px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px 12px;
    font-size: 11px;
    color: var(--twj-deal-muted);
}
.twj-deals-discovery-footer > span { flex:1 1 100px; min-width:0; }
.twj-deals-discovery-action {
    display:flex; flex:0 1 48%; flex-direction:column; align-items:stretch;
    gap:3px; min-width:0; max-width:170px;
}
.twj-deals-discovery-provider {
    overflow-wrap:anywhere; text-align:center; font-size:11px; line-height:1.3;
}
.twj-deals-discovery-action a {
    display:inline-flex; justify-content:center; align-items:center;
    min-height:34px; border:1px solid #e5a876; border-radius:8px;
    padding:4px 9px; background:#fff; font-size:12px;
    color: var(--twj-deal-brand-dark);
    font-weight: 700;
    text-decoration:none; white-space:nowrap;
}
.twj-deals-currency-note {
    margin: 9px 0 0;
    font-size: 12px;
    color: var(--twj-deal-muted);
    line-height: 1.6;
}
@media (max-width: 900px) {
    .twj-deals-discovery-head { display: block; }
    .twj-deals-discovery-head-right { align-items: flex-start; margin-top: 8px; }
    .twj-deals-discovery-card { flex-basis: min(350px, 64%); }
}
@media (max-width: 640px) {
    .twj-deals-discovery-rail { padding: 14px; }
    .twj-deals-discovery-card { flex-basis: min(310px, 88%); }
    .twj-deals-discovery-navigation { margin-top: 2px; }
}


/* Radar 2026: scan the most useful prices first; accessible text stays in HTML. */
.twj-deals-page .twj-deals-radar-hero {
    grid-template-columns: minmax(0, 1fr) 122px;
    gap: 14px;
    padding: 18px 30px;
    border-radius: 20px;
    box-shadow: none;
}
.twj-deals-page .twj-deals-radar-copy h1 {
    font-size: clamp(26px, 3vw, 38px);
    margin: 3px 0 4px;
}
.twj-deals-page .twj-deals-radar-copy .twj-deals-radar-subtitle {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
}
.twj-deals-page .twj-deals-radar-visual { width: 112px; height: 112px; }
.twj-deals-page .twj-deals-radar-ring.is-one { width: 35px; height: 35px; }
.twj-deals-page .twj-deals-radar-ring.is-two { width: 70px; height: 70px; }
.twj-deals-page .twj-deals-radar-ring.is-three { width: 110px; height: 110px; }
.twj-deals-page .twj-deals-state-tabs { margin-top: 12px; }
.twj-deals-page .twj-deals-filter-bar { margin-top: 12px; padding: 12px 14px; }
.twj-deals-filter-scope {
    margin: 0 0 9px;
    color: #36556b;
    font-size: 13px;
    font-weight: 750;
    letter-spacing: 0;
    line-height: 1.4;
}
.twj-deals-page .twj-deals-filter-form {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 8px;
}
.twj-deals-page .twj-deals-filter-control select {
    height: 38px;
    font-size: 12px;
    padding-left: 10px;
    border-radius: 9px;
}
.twj-deals-page .twj-deals-filter-control > span { font-size: 10px; }
.twj-deals-page .twj-deals-price-note {
    margin-top: 8px;
    padding: 8px 12px;
    gap: 8px;
    box-shadow: none;
}
.twj-deals-page .twj-deals-price-note strong,
.twj-deals-page .twj-deals-price-note p { font-size: 11px; }
.twj-deals-featured { margin: 18px 0 10px; }
.twj-deals-featured-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 8px;
    margin: 0 0 12px;
}
.twj-deals-featured-head h2,
.twj-deals-results-head h2 {
    font-size: clamp(19px, 2.2vw, 25px);
    color: #19354b;
    margin: 0;
    letter-spacing: -.02em;
}
.twj-deals-featured-kicker {
    color: #b94e1c;
    font-size: 11px;
    font-weight: 750;
}
.twj-deals-featured-caption {
    font-size: 11px;
    color: #748994;
    line-height: 1.3;
}
.twj-deals-section-all {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    white-space: nowrap;
    gap: 3px;
    min-height: 30px;
    padding: 3px 8px;
    font-size: 12px;
    font-weight: 700;
    color: #ac5828;
    text-decoration: none;
    border-radius: 8px;
}
.twj-deals-section-all:hover,
.twj-deals-section-all:focus-visible {
    color: #81370f;
    background: #fff1e7;
    outline-offset: 2px;
}
.twj-deals-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 12px;
}
.twj-deals-discovered { margin-top: 20px; }
.twj-deals-discovered .twj-deals-featured-head { margin-bottom: 10px; }
.twj-deals-discovered .twj-deals-group-card { border-color: #d9e6ea; }
.twj-deals-list.is-curated-groups {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 12px;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
}
.twj-deals-group-card {
    min-width: 0;
    padding: 17px;
    border: 1px solid #dae5eb;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(17,50,70,.035);
}
.twj-deals-group-card.is-featured {
    background: linear-gradient(155deg,#fffaf6 0%,#fff 47%);
    border-color: #eec7a6;
    box-shadow: 0 5px 18px rgba(196,98,39,.07);
}
.twj-deals-group-top { display:flex; justify-content:space-between; align-items:center; gap:8px; min-height: 26px; }
.twj-deals-group-line {
    font-size: 11px; font-weight: 600;
    color: #6d8391; overflow:hidden; text-overflow:ellipsis;
    white-space:nowrap;
}
.twj-deals-group-good-value,
.twj-deals-option-good-value {
    display: inline-block;
    width: fit-content;
    padding: 3px 7px;
    border-radius: 7px;
    background: #eaf5ed;
    color: #24613d !important;
    font-size: 11px !important;
    font-weight: 750;
    line-height: 1.35;
}
.twj-deals-group-fresh { flex-shrink:0; font-size:10px; color:#247867; font-weight:650; }
.twj-deals-group-fresh span { font-size:8px; }
/* Discovery is a source quote, not a verified discount badge. */
.twj-deals-group-discovery-marker {
    flex-shrink:0; font-size:10px; font-weight:650; color:#55717c;
    padding:3px 7px; border:1px solid #dae6e9; border-radius:7px;
    background:#f6f9fa;
}
.twj-deals-group-card h3 {
    font-size: clamp(18px, 2vw, 21px);
    color: #122e45;
    letter-spacing:-.02em;
    line-height:1.22;
    margin: 6px 0 4px;
}
.twj-deals-group-route {
    margin: 0 0 8px;
    font-size: 12px;
    color: #4d6a79;
    font-weight: 650;
}
.twj-deals-group-trip {
    display:flex; gap:9px; flex-wrap:wrap; align-items:center;
    color:#627c8a; font-size:11px; line-height:1.5;
}
.twj-deals-group-trip strong { color:#2e4c61; }
.twj-deals-group-stops {
    overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
    flex-basis:100%; font-size:10px; color:#8a9da6;
}
.twj-deals-group-price {
    display:flex; justify-content:space-between; align-items:end; gap:8px;
    padding: 11px 0 7px; margin-top:8px;
    border-top: 1px solid #ebeff1;
}
.twj-deals-group-main-price,
.twj-deals-group-side-price { display:flex; flex-direction:column; gap:2px; min-width:0; }
.twj-deals-group-main-price > span,
.twj-deals-group-side-price > span { font-size:10px; color:#8295a0; }
.twj-deals-group-main-price strong {
    font-size: 27px; line-height:1.18; color:#15364d;
    font-weight:800; letter-spacing:-.04em; white-space:nowrap;
}
.twj-deals-group-main-price strong small,
.twj-deals-group-side-price strong small {
    font-size:11px; color:#81939c; font-weight:500; margin-left:2px;
    letter-spacing:0;
}
.twj-deals-group-side-price { align-items:flex-end; text-align:right; }
.twj-deals-group-side-price strong { font-size:13px; color:#355569; font-weight:700; white-space:nowrap; }
.twj-deals-group-check { color:#788c98; font-size:11px; line-height:1.5; }
.twj-deals-group-check time { font-variant-numeric:tabular-nums; }
.twj-deals-group-terms { color:#8a9aa4; }
.twj-deals-group-card.is-discovery .twj-deals-group-main-price > span {
    color:#496879;
}
.twj-deals-group-card.is-discovery .twj-deals-group-price {
    border-top-color:#e5eef1;
}
.twj-deals-group-options { margin-top:10px; border-top:1px solid #e7ecef; }
.twj-deals-group-options-head {
    display:flex; justify-content:space-between; gap:6px;
    padding:9px 0 5px; color:#83959c; font-size:10px; font-weight:600;
}
.twj-deals-group-option {
    display:flex; gap:8px; align-items:center;
    padding:6px 0; border-top:1px solid #f0f3f5;
}
.twj-deals-group-option-date { flex:1; min-width:0; display:flex; flex-direction:column; gap:1px; }
.twj-deals-group-option-date strong { font-size:11px; color:#345269; font-weight:650; overflow-wrap:anywhere; }
.twj-deals-group-option-date span { font-size:10px; color:#8b9da6; }
.twj-deals-group-option-date small {
    font-size:10px; font-weight:500; color:#748d99; line-height:1.4;
}
.twj-deals-group-option.is-discovery .twj-deals-group-option-date small { color:#537382; }
.twj-deals-group-option-price { font-size:12px; color:#233c50; font-weight:750; white-space:nowrap; }
.twj-deals-group-link {
    display:flex; flex:0 1 48%; flex-direction:column; align-items:stretch;
    gap:3px; min-width:0; max-width:170px;
}
.twj-deals-group-provider {
    display:block; overflow-wrap:anywhere; text-align:center;
    color:#708894; font-size:11px; line-height:1.3;
}
.twj-deals-group-option-link,
.twj-deals-group-single a {
    display:inline-flex; justify-content:center; align-items:center;
    gap:3px; flex-shrink:0; min-height:34px; border-radius:8px;
    border:1px solid #e5a876; padding:4px 9px;
    color:#a64b18; background:#fff; font-size:12px; font-weight:750;
    text-decoration:none; white-space:nowrap;
}
.twj-deals-group-option-link:hover,
.twj-deals-group-single a:hover,
.twj-deals-group-option-link:focus-visible,
.twj-deals-group-single a:focus-visible {
    background:#fff1e6; border-color:#c97137; outline-offset:2px;
}
.twj-deals-group-single > span { min-width:0; flex:1 1 auto; }
.twj-deals-group-single {
    display:flex; align-items:center; justify-content:space-between; gap:8px;
    margin-top:10px; border-top:1px solid #ebeff1; padding-top:9px;
}
.twj-deals-group-single > span { font-size:11px; color:#708894; }
.twj-deals-group-more { margin-top:5px; }
.twj-deals-group-more summary {
    cursor:pointer; color:#b05826; font-weight:650; font-size:11px;
    padding:5px 0; list-style:none;
}
.twj-deals-group-more summary::-webkit-details-marker { display:none; }
.twj-deals-group-more[open] summary span { transform:rotate(180deg); display:inline-block; }
.twj-deals-list.is-curated-groups .twj-deals-group-card:hover { border-color:#c3d8e1; }
.twj-deals-results-area[data-curated="1"] { margin-top: 20px; }
.twj-deals-auto-load-sentinel { height:1px; width:100%; pointer-events:none; }
.twj-deals-page .twj-deals-results-progress { font-size:11px; color:#8a9ba3; }
@media (max-width: 1050px) {
    .twj-deals-featured-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .twj-deals-list.is-curated-groups { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 900px) {
    .twj-deals-page .twj-deals-filter-form { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width: 700px) {
    .twj-deals-page .twj-deals-radar-hero { grid-template-columns:1fr; padding:15px 18px; border-radius:17px; }
    .twj-deals-page .twj-deals-radar-visual { display:none; }
    .twj-deals-page .twj-deals-radar-copy h1 { font-size:27px; }
    .twj-deals-featured-head { align-items:start; }
    .twj-deals-featured-caption { max-width:130px; text-align:right; }
    .twj-deals-featured-grid {
        display:flex; gap:10px; overflow-x:auto;
        scroll-snap-type:x mandatory; scroll-padding-left:4px;
        padding:0 4px 7px; scrollbar-width:thin;
    }
    .twj-deals-featured-grid > .twj-deals-group-card { flex: 0 0 min(82vw,330px); scroll-snap-align:start; }
    .twj-deals-list.is-curated-groups { grid-template-columns:1fr; gap:10px; }
    .twj-deals-page .twj-deals-filter-form { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
    .twj-deals-page .twj-deals-filter-bar { padding:10px; }
    .twj-deals-page .twj-deals-price-note { grid-template-columns:1fr; gap:3px; }
    .twj-deals-page .twj-deals-filter-control select { font-size:12px; height:38px; }
    .twj-deals-group-card { padding:14px; }
}
@media (max-width: 480px) {
    .twj-deals-group-option { flex-wrap:wrap; }
    .twj-deals-group-option .twj-deals-group-link {
        flex:0 0 100%; max-width:100%; align-items:flex-end;
    }
    .twj-deals-group-option .twj-deals-group-provider,
    .twj-deals-group-option .twj-deals-group-option-link {
        width:min(100%,170px);
    }
}
@media (max-width: 360px) {
    .twj-deals-group-main-price strong { font-size:24px; }
    .twj-deals-group-option { gap:5px; }
    .twj-deals-group-option-link { padding-left:6px; padding-right:6px; }
}

/* Results actions stay outside the single-row filter form. */
.twj-deals-curated-clear {
    color: #a45a2b;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    margin-left: auto;
}
.twj-deals-curated-clear:hover,
.twj-deals-curated-clear:focus-visible { text-decoration: underline; }
.twj-deals-featured-grid { align-items: start; }
@media (max-width: 700px) {
    .twj-deals-curated-clear { font-size: 11px; }
}

/* Native details = accessible compact filters on mobile, expanded without JS. */
.twj-deals-mobile-filters > summary { display:none; }
.twj-deals-mobile-filters .twj-deals-filter-bar { margin-top:12px; }
@media (max-width:700px) {
    .twj-deals-mobile-filters { margin:10px 0 0; }
    .twj-deals-mobile-filters > summary {
        display:flex;
        align-items:center;
        gap:8px;
        padding:12px 14px;
        border:1px solid #d8e6eb;
        border-radius:12px;
        background:#fff;
        cursor:pointer;
        list-style:none;
        color:#204158;
        font-size:13px;
    }
    .twj-deals-mobile-filters > summary::-webkit-details-marker { display:none; }
    .twj-deals-mobile-filters > summary strong { font-weight:750; }
    .twj-deals-mobile-filters > summary > span:nth-child(2) { margin-left:auto; color:#76909c; font-size:11px; }
    .twj-deals-mobile-filters > summary > span:last-child { font-size:18px; }
    .twj-deals-mobile-filters[open] > summary > span:last-child { transform:rotate(180deg); }
    .twj-deals-mobile-filters .twj-deals-filter-bar { margin-top:7px; }
}

/* DL-10: one offer feed; each visible badge belongs to that card's focus. */
.twj-deals-region-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0 0;
    padding: 10px 12px;
    border: 1px solid #dbe6ea;
    border-radius: 14px;
    background: #f8fafb;
}
.twj-deals-region-label {
    flex-shrink: 0;
    color: #36556b;
    font-size: 12px;
    font-weight: 800;
}
.twj-deals-region-nav a:focus-visible {
    outline: 2px solid #a45a2b;
    outline-offset: 2px;
}
.twj-deals-applied-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin: 12px 0 0;
    padding: 12px 14px;
    border: 1px solid var(--twj-deal-brand-border);
    border-left: 4px solid var(--twj-deal-brand-accent);
    border-radius: 12px;
    background: var(--twj-deal-brand-soft);
    color: var(--twj-deal-ink);
    font-size: 14px;
}
.twj-deals-applied-heading {
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 800;
}
.twj-deals-applied-chips {
    display: flex;
    align-items: center;
    flex: 1 1 280px;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
}
.twj-deals-applied-chips span {
    padding: 6px 10px;
    border: 1px solid var(--twj-deal-brand-border);
    border-radius: 999px;
    background: #fff;
    color: var(--twj-deal-ink);
    font-size: 13px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.twj-deals-applied-filters > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin-left: auto;
    padding: 7px 13px;
    border: 1px solid var(--twj-deal-brand-accent);
    border-radius: 9px;
    background: var(--twj-deal-brand-accent);
    color: var(--twj-deal-brand-dark);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}
.twj-deals-applied-filters > a:hover,
.twj-deals-applied-filters > a:focus-visible {
    background: #fff;
    outline: 2px solid var(--twj-deal-brand-dark);
    outline-offset: 2px;
}
@media (max-width: 620px) {
    .twj-deals-applied-filters { align-items: flex-start; }
    .twj-deals-applied-chips { flex-basis: 100%; order: 2; }
    .twj-deals-applied-filters > a { margin-left: auto; }
}
.twj-deals-sort-form { margin-left: auto; }
.twj-deals-sort-form .twj-deals-filter-control { min-width: 174px; }
.twj-deals-sort-form .twj-deals-filter-control > span {
    color: #36556b;
    font-size: 11px;
    font-weight: 750;
}
.twj-deals-sort-form select { height: 38px; font-size: 12px; }
.twj-deals-sort-form button { margin-top: 4px; }
.twj-deals-results-head { align-items: center; flex-wrap: wrap; }
.twj-deals-group-badges {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px;
    min-width: 0;
}
@media (max-width: 620px) {
    .twj-deals-region-nav { align-items: flex-start; flex-direction: column; gap: 7px; }
    .twj-deals-region-nav .twj-deals-filter-chips {
        flex-wrap: wrap;
        overflow: visible;
        padding-bottom: 0;
    }
    .twj-deals-group-top { align-items: flex-start; flex-wrap: wrap; }
    .twj-deals-group-badges { justify-content: flex-start; }
}
@media (max-width: 700px) {
    .twj-deals-results-head {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
    }
    .twj-deals-sort-form {
        grid-column: 1 / -1;
        width: 100%;
        margin: 0;
    }
    .twj-deals-sort-form .twj-deals-filter-control {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
    }
    .twj-deals-sort-form .twj-deals-filter-control > span { font-size: 12px; }
    .twj-deals-sort-form select { flex: 1; min-width: 0; }
}

/* DL-11 local review candidate: itinerary-led comparison cards. */
.twj-deals-page.is-curated-radar {
    --twj-deal-ink: #132a3a;
    --twj-deal-muted: #526274;
    --twj-deal-teal: #0f6575;
    background: #f5f8fa;
}
.twj-deals-page.is-curated-radar .twj-deals-main { max-width: 1200px; }
.twj-deals-page.is-curated-radar .twj-deals-list.is-curated-groups,
.twj-deals-page.is-curated-radar .twj-deals-featured-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}
.twj-deals-page.is-curated-radar .twj-deals-group-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(290px, 330px);
    gap: 0 28px;
    padding: 24px;
    border: 1px solid #d6e3e8;
    border-radius: 18px;
    box-shadow: 0 5px 22px rgba(19,42,58,.055);
}
.twj-deals-page.is-curated-radar .twj-deals-group-summary,
.twj-deals-page.is-curated-radar .twj-deals-group-offer { min-width: 0; }
.twj-deals-page.is-curated-radar .twj-deals-group-top { min-height: 30px; }
.twj-deals-page.is-curated-radar .twj-deals-group-line {
    color: #334155;
    font-size: 16px;
    font-weight: 750;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}
.twj-deals-page.is-curated-radar .twj-deals-group-card h3 {
    margin: 12px 0 6px;
    font-size: clamp(21px, 2vw, 24px);
    line-height: 1.24;
    color: #132a3a;
    overflow-wrap: anywhere;
}
.twj-deals-page.is-curated-radar .twj-deals-group-route {
    margin: 0 0 14px;
    color: #132a3a;
    font-size: clamp(16px, 1.5vw, 19px);
    font-weight: 650;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
.twj-deals-page.is-curated-radar .twj-deals-group-route.is-ship {
    color: #334155;
    font-size: 16px;
    font-weight: 600;
}
.twj-deals-page.is-curated-radar .twj-deals-group-trip {
    gap: 10px;
    color: #526274;
    font-size: 14px;
    line-height: 1.45;
}
.twj-deals-page.is-curated-radar .twj-deals-group-nights {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    padding: 7px 12px;
    border-radius: 10px;
    background: #e7f3f5;
    color: #0f6575;
    font-weight: 750;
    white-space: nowrap;
}
.twj-deals-page.is-curated-radar .twj-deals-group-nights strong {
    color: #0f6575;
    font-size: 25px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.twj-deals-page.is-curated-radar .twj-deals-group-stops {
    flex-basis: 100%;
    color: #526274;
    font-size: 14px;
    white-space: normal;
    overflow: visible;
}
.twj-deals-page.is-curated-radar .twj-deals-group-offer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 26px;
    border-left: 1px solid #dde8ec;
}
.twj-deals-page.is-curated-radar .twj-deals-group-price {
    margin: 0;
    padding: 0;
    border: 0;
}
.twj-deals-page.is-curated-radar .twj-deals-group-main-price > span,
.twj-deals-page.is-curated-radar .twj-deals-group-side-price > span {
    color: #526274;
    font-size: 14px;
}
.twj-deals-page.is-curated-radar .twj-deals-group-main-price strong {
    color: #132a3a;
    font-size: clamp(32px, 3vw, 36px);
    font-variant-numeric: tabular-nums;
}
.twj-deals-page.is-curated-radar .twj-deals-group-side-price strong {
    color: #334155;
    font-size: 17px;
    font-variant-numeric: tabular-nums;
}
.twj-deals-page.is-curated-radar .twj-deals-group-main-price strong small,
.twj-deals-page.is-curated-radar .twj-deals-group-side-price strong small { color: #526274; font-size: 14px; }
.twj-deals-page.is-curated-radar .twj-deals-group-check,
.twj-deals-page.is-curated-radar .twj-deals-group-single > span { color: #526274; font-size: 14px; }
.twj-deals-page.is-curated-radar .twj-deals-group-single {
    display: block;
    margin-top: 12px;
    padding-top: 0;
    border: 0;
}
.twj-deals-page.is-curated-radar .twj-deals-group-link {
    max-width: none;
    width: 100%;
    margin-top: 12px;
    gap: 6px;
}
.twj-deals-page.is-curated-radar .twj-deals-group-provider {
    color: #334155;
    text-align: left;
    font-size: 15px;
    font-weight: 700;
}
.twj-deals-page.is-curated-radar .twj-deals-group-price-link {
    box-sizing: border-box;
    width: 100%;
    min-height: 46px;
    padding: 10px 16px;
    border: 1px solid #0f6575;
    border-radius: 10px;
    background: #0f6575;
    color: #fff;
    font-size: 16px;
    font-weight: 750;
    text-align: center;
}
.twj-deals-page.is-curated-radar .twj-deals-group-price-link:hover,
.twj-deals-page.is-curated-radar .twj-deals-group-price-link:focus-visible {
    background: #0b4c58;
    border-color: #0b4c58;
    color: #fff;
    outline: 3px solid #75b3bd;
    outline-offset: 2px;
}
.twj-deals-page.is-curated-radar .twj-deals-group-options {
    grid-column: 1 / -1;
    margin-top: 20px;
    border-color: #dde8ec;
}
.twj-deals-page.is-curated-radar .twj-deals-group-options-head,
.twj-deals-page.is-curated-radar .twj-deals-group-option-date span,
.twj-deals-page.is-curated-radar .twj-deals-group-option-date small {
    color: #526274;
    font-size: 14px;
}
.twj-deals-page.is-curated-radar .twj-deals-group-option-date strong,
.twj-deals-page.is-curated-radar .twj-deals-group-option-price { color: #132a3a; font-size: 15px; }
.twj-deals-page.is-curated-radar .twj-deals-group-option-link,
.twj-deals-page.is-curated-radar .twj-deals-group-more summary {
    box-sizing: border-box;
    min-height: 44px;
    font-size: 14px;
}
.twj-deals-page.is-curated-radar .twj-deals-group-good-value,
.twj-deals-page.is-curated-radar .twj-deals-option-good-value {
    background: #fff1db;
    color: #7c3e0b !important;
    font-size: 14px !important;
}
.twj-deals-page.is-curated-radar .twj-deals-group-discovery-marker {
    color: #0f6575;
    background: #e7f3f5;
    border-color: #a9d1d8;
    font-size: 14px;
}
.twj-deals-page.is-curated-radar .twj-deals-filter-control > span,
.twj-deals-page.is-curated-radar .twj-deals-filter-scope { font-size: 14px; }
.twj-deals-page.is-curated-radar .twj-deals-filter-control select { min-height: 44px; font-size: 16px; }
.twj-deals-page.is-curated-radar .twj-deals-results-count { color: #334155; }
.twj-deals-page.is-curated-radar .twj-deals-group-more summary:focus-visible,
.twj-deals-page.is-curated-radar .twj-deals-filter-control select:focus-visible {
    outline: 3px solid #0f6575;
    outline-offset: 2px;
}
@media (max-width: 700px) {
    .twj-deals-page.is-curated-radar .twj-deals-featured-grid { display: grid; overflow: visible; }
    .twj-deals-page.is-curated-radar .twj-deals-group-card {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        padding: 16px;
    }
    .twj-deals-page.is-curated-radar .twj-deals-group-offer {
        padding: 16px 0 0;
        border-left: 0;
        border-top: 1px solid #dde8ec;
    }
    .twj-deals-page.is-curated-radar .twj-deals-group-options { margin-top: 0; }
    .twj-deals-page.is-curated-radar .twj-deals-group-main-price strong { font-size: 34px; }
    .twj-deals-page.is-curated-radar .twj-deals-group-option { align-items: flex-start; }
    .twj-deals-page.is-curated-radar .twj-deals-group-option .twj-deals-group-link {
        align-items: stretch;
    }
    .twj-deals-page.is-curated-radar .twj-deals-group-option .twj-deals-group-provider,
    .twj-deals-page.is-curated-radar .twj-deals-group-option .twj-deals-group-option-link {
        width: 100%;
    }
}

/* DL-11: keep desktop card facts and alternate quotes in readable columns. */
@media (min-width: 701px) {
    .twj-deals-page.is-curated-radar .twj-deals-main { max-width: 1080px; }
    .twj-deals-page.is-curated-radar .twj-deals-group-card {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
        column-gap: 24px;
    }
    .twj-deals-page.is-curated-radar .twj-deals-group-top {
        justify-content: flex-start;
        flex-wrap: wrap;
        column-gap: 12px;
    }
    .twj-deals-page.is-curated-radar .twj-deals-group-badges { justify-content: flex-start; }
    .twj-deals-page.is-curated-radar .twj-deals-group-option {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(90px, max-content) minmax(160px, 190px);
        align-items: center;
        gap: 16px;
        max-width: 860px;
        margin-inline: auto;
        padding: 14px 0;
    }
    .twj-deals-page.is-curated-radar .twj-deals-group-option-price { text-align: right; }
    .twj-deals-page.is-curated-radar .twj-deals-group-option .twj-deals-group-link {
        width: 100%;
        max-width: 190px;
        margin-top: 0;
    }
}
.twj-deals-page.is-curated-radar .twj-deals-group-option-link {
    border-color: #0f6575;
    color: #0f6575;
    background: #fff;
}
.twj-deals-page.is-curated-radar .twj-deals-group-price {
    flex-wrap: wrap;
    align-items: baseline;
}
.twj-deals-page.is-curated-radar .twj-deals-group-side-price { margin-left: auto; }
.twj-deals-page.is-curated-radar .twj-deals-group-option-link:hover,
.twj-deals-page.is-curated-radar .twj-deals-group-option-link:focus-visible {
    border-color: #0f6575;
    color: #0b4c58;
    background: #e7f3f5;
    outline-offset: 2px;
}
.twj-deals-page.is-curated-radar .twj-deals-group-more summary { color: #0f6575; }

.twj-deals-page.is-curated-radar .twj-deals-cabin-terms {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px 7px;
}
.twj-deals-page.is-curated-radar .twj-deals-cabin-chip {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 2px 7px;
    border: 1px solid #d9c9e9;
    border-radius: 6px;
    background: #f3eef9;
    color: #57377a;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.35;
    white-space: nowrap;
}
.twj-deals-page.is-curated-radar .twj-deals-cabin-chip.is-view {
    border-color: #e5cc9c;
    background: #fff4df;
    color: #704508;
}
.twj-deals-page.is-curated-radar .twj-deals-cabin-chip.is-fare {
    border-color: #aad0d7;
    background: #e7f3f5;
    color: #0b5362;
}

/* DL-11 local grid review: the filters and results share one responsive canvas. */
.twj-deals-page.is-curated-radar.wrap.container {
    box-sizing: border-box;
    width: calc(100% - 40px);
    max-width: 1640px;
}
.twj-deals-page.is-curated-radar .twj-deals-main {
    max-width: 1520px;
}
.twj-deals-page.is-curated-radar .twj-deals-results-area[data-curated="1"] {
    width: 100%;
    max-width: none;
    margin-inline: 0;
}
.twj-deals-page.is-curated-radar .twj-deals-list.is-curated-groups,
.twj-deals-page.is-curated-radar .twj-deals-featured-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 16px;
}
.twj-deals-page.is-curated-radar .twj-deals-group-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    min-width: 0;
    padding: 18px 18px 14px;
    border-radius: 16px;
}
.twj-deals-page.is-curated-radar .twj-deals-group-summary,
.twj-deals-page.is-curated-radar .twj-deals-group-offer,
.twj-deals-page.is-curated-radar .twj-deals-group-options { min-width: 0; }
.twj-deals-page.is-curated-radar .twj-deals-group-top {
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px 9px;
}
.twj-deals-page.is-curated-radar .twj-deals-group-line {
    font-size: 15px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.twj-deals-page.is-curated-radar .twj-deals-group-badges { justify-content: flex-start; }
.twj-deals-page.is-curated-radar .twj-deals-group-card h3 {
    margin: 12px 0 6px;
    font-size: clamp(19px, 1.45vw, 22px);
    line-height: 1.3;
}
.twj-deals-page.is-curated-radar .twj-deals-group-route {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.4;
}
.twj-deals-page.is-curated-radar .twj-deals-group-trip {
    gap: 8px;
    font-size: 14px;
}
.twj-deals-page.is-curated-radar .twj-deals-group-nights {
    padding: 6px 10px;
    background: var(--twj-deal-brand-soft);
    color: var(--twj-deal-brand-dark);
}
.twj-deals-page.is-curated-radar .twj-deals-group-nights strong {
    color: var(--twj-deal-brand-dark);
    font-size: 25px;
}
.twj-deals-page.is-curated-radar .twj-deals-group-stops {
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.twj-deals-page.is-curated-radar .twj-deals-group-offer {
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
    justify-content: flex-start;
    margin-top: 0;
    padding: 0;
    border-left: 0;
    border-top: 0;
}
.twj-deals-page.is-curated-radar .twj-deals-group-facts {
    min-width: 0;
    margin-top: auto;
    padding-top: 16px;
}
.twj-deals-page.is-curated-radar .twj-deals-group-card:not(.has-alternates)::after {
    content: "";
    /* Match the closed alternatives row so all four CTAs share a baseline. */
    flex: 0 0 63px;
}
.twj-deals-page.is-curated-radar .twj-deals-group-price {
    align-items: baseline;
    gap: 6px 10px;
}
.twj-deals-page.is-curated-radar .twj-deals-group-main-price strong {
    font-size: clamp(28px, 2.15vw, 33px);
    white-space: normal;
    overflow-wrap: anywhere;
}
.twj-deals-page.is-curated-radar .twj-deals-group-side-price strong { font-size: 15px; }
.twj-deals-page.is-curated-radar .twj-deals-group-check {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 7px;
    margin-top: 8px;
}
.twj-deals-page.is-curated-radar .twj-deals-group-single { margin-top: 7px; }
.twj-deals-page.is-curated-radar .twj-deals-group-single > span {
    display: inline-flex;
    flex-wrap: wrap;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
.twj-deals-page.is-curated-radar .twj-deals-group-link {
    width: 100%;
    max-width: none;
    min-width: 0;
    margin-top: 10px;
}
.twj-deals-page.is-curated-radar .twj-deals-group-offer > .twj-deals-group-link {
    flex: 0 0 auto;
    margin-top: auto;
    padding-top: 10px;
}
.twj-deals-page.is-curated-radar .twj-deals-group-offer > .twj-deals-group-link > .twj-deals-group-price-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-decoration: none;
    white-space: nowrap;
}
.twj-deals-page.is-curated-radar .twj-deals-group-provider {
    overflow-wrap: anywhere;
}
.twj-deals-page.is-curated-radar .twj-deals-group-price-link {
    min-height: 44px;
    border-color: var(--twj-deal-brand-accent);
    background: var(--twj-deal-brand-accent);
    color: #3b220f;
}
.twj-deals-page.is-curated-radar .twj-deals-group-price-link:hover,
.twj-deals-page.is-curated-radar .twj-deals-group-price-link:focus-visible {
    border-color: var(--twj-deal-brand);
    background: #f87f30;
    color: #3b220f;
    outline-color: var(--twj-deal-brand-dark);
}
.twj-deals-page.is-curated-radar .twj-deals-group-options {
    margin-top: 4px;
}
.twj-deals-page.is-curated-radar .twj-deals-group-options-head {
    align-items: baseline;
    gap: 6px;
    cursor: pointer;
    list-style: none;
    color: var(--twj-deal-brand-dark);
    min-height: 44px;
    font-size: 14px;
}
.twj-deals-page.is-curated-radar .twj-deals-group-options-head::-webkit-details-marker { display: none; }
.twj-deals-page.is-curated-radar .twj-deals-group-options-head:focus-visible {
    outline: 3px solid var(--twj-deal-brand-accent);
    outline-offset: 2px;
}
.twj-deals-page.is-curated-radar .twj-deals-group-option-items { min-width: 0; }
.twj-deals-page.is-curated-radar .twj-deals-group-option {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px;
    max-width: none;
    margin: 0;
    padding: 13px 0;
}
.twj-deals-page.is-curated-radar .twj-deals-group-option-date { min-width: 0; }
.twj-deals-page.is-curated-radar .twj-deals-group-option-price {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.twj-deals-page.is-curated-radar .twj-deals-group-option .twj-deals-group-link {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
    margin-top: 2px;
}
.twj-deals-page.is-curated-radar .twj-deals-group-option-link {
    width: 100%;
    min-height: 44px;
    border-color: var(--twj-deal-brand-border);
    background: #fff;
    color: var(--twj-deal-brand-dark);
    white-space: normal;
}
.twj-deals-page.is-curated-radar .twj-deals-group-option-link:hover,
.twj-deals-page.is-curated-radar .twj-deals-group-option-link:focus-visible {
    border-color: var(--twj-deal-brand);
    background: var(--twj-deal-brand-soft);
    color: var(--twj-deal-brand-dark);
    outline: 3px solid var(--twj-deal-brand-accent);
    outline-offset: 2px;
}
.twj-deals-page.is-curated-radar .twj-deals-group-more summary {
    color: var(--twj-deal-brand-dark);
}
.twj-deals-page.is-curated-radar .twj-deals-group-card:hover {
    border-color: var(--twj-deal-brand-border);
}
.twj-deals-page.is-curated-radar .twj-deals-options-drawer {
    grid-column: 1 / -1;
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--twj-deal-brand-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(19, 42, 58, .08);
}
.twj-deals-page.is-curated-radar .twj-deals-options-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    color: #132a3a;
}
.twj-deals-page.is-curated-radar .twj-deals-options-drawer-head strong {
    font-size: 16px;
    overflow-wrap: anywhere;
}
.twj-deals-page.is-curated-radar .twj-deals-options-drawer-close {
    min-width: 64px;
    min-height: 44px;
    border: 1px solid var(--twj-deal-brand-accent);
    border-radius: 9px;
    background: #fff;
    color: var(--twj-deal-brand-dark);
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
}
.twj-deals-page.is-curated-radar .twj-deals-options-drawer .twj-deals-group-option-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 12px;
}
.twj-deals-page.is-curated-radar .twj-deals-options-drawer .twj-deals-group-option {
    border: 1px solid #dde8ec;
    border-radius: 10px;
    padding: 13px;
}

@media (max-width: 1599px) {
    .twj-deals-page.is-curated-radar.wrap.container {
        width: calc(100% - 112px);
        margin-left: 28px;
        margin-right: 84px;
    }
    .twj-deals-page.is-curated-radar .twj-deals-list.is-curated-groups,
    .twj-deals-page.is-curated-radar .twj-deals-featured-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 1179px) {
    .twj-deals-page.is-curated-radar .twj-deals-list.is-curated-groups,
    .twj-deals-page.is-curated-radar .twj-deals-featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .twj-deals-page.is-curated-radar .twj-deals-group-card { padding: 16px; }
}
@media (max-width: 700px) {
    .twj-deals-page.is-curated-radar.wrap.container {
        width: 100%;
        max-width: none;
        margin-inline: auto;
    }
    .twj-deals-page.is-curated-radar .twj-deals-list.is-curated-groups,
    .twj-deals-page.is-curated-radar .twj-deals-featured-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        overflow: visible;
    }
    .twj-deals-page.is-curated-radar .twj-deals-group-card { padding: 16px; }
    .twj-deals-page.is-curated-radar .twj-deals-group-card:not(.has-alternates)::after { display: none; }
    .twj-deals-page.is-curated-radar .twj-deals-group-offer { margin-top: 16px; }
}

/* Keep badges at the card's top-right, independent of cruise-line length. */
.twj-deals-page.is-curated-radar .twj-deals-group-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    align-items: start;
    gap: 8px;
}
.twj-deals-page.is-curated-radar .twj-deals-group-line {
    min-width: 0;
    color: #91400d;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.4;
}
.twj-deals-page.is-curated-radar .twj-deals-group-badges {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 4px;
}
.twj-deals-page.is-curated-radar .twj-deals-group-card h3 {
    color: #172f41;
    font-weight: 760;
}
.twj-deals-page.is-curated-radar .twj-deals-group-route.is-ship {
    color: #485d6e;
    font-weight: 700;
}

/* Public condition labels: show booking restrictions without implying universal eligibility. */
.twj-deals-page.is-curated-radar .twj-deals-public-terms {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
    margin: 4px 0 7px;
}
.twj-deals-page.is-curated-radar .twj-deals-condition-tag {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 500;
    color: #4f5966;
    background: #f3f5f7;
    border: 1px solid #d6dce2;
    border-radius: 5px;
    padding: 2px 7px;
    white-space: normal;
}

/* Cruise reference prices: secondary and legible, while original fares stay primary. */
.twj-deals-page.is-curated-radar .twj-deals-group-main-price > .twj-deals-usd-estimate {
    color: #35576d;
    font-size: 18px;
    font-weight: 750;
    line-height: 1.35;
    letter-spacing: 0;
    font-variant-numeric: tabular-nums;
    margin-top: 4px;
    white-space: nowrap;
}
.twj-deals-page.is-curated-radar .twj-deals-group-main-price > .twj-deals-usd-estimate small {
    color: #526c7d;
    font-size: 13px;
    font-weight: 500;
}
.twj-deals-page.is-curated-radar .twj-deals-group-side-price > .twj-deals-usd-nightly {
    color: #466a80;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    font-variant-numeric: tabular-nums;
    margin-top: 3px;
    white-space: nowrap;
}
.twj-deals-page.is-curated-radar .twj-deals-group-side-price > .twj-deals-usd-nightly small {
    color: #607b8a;
    font-size: 11px;
    font-weight: 500;
}

.twj-deals-page.is-curated-radar .twj-deals-sort-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-end;
}

.twj-deals-page.is-curated-radar .twj-deals-sort-currency-required {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 220px;
    padding: 10px;
    border: 2px solid #d86a28;
    background: #fff8f2;
    border-radius: 11px;
    color: #843a12;
    font-size: 13px;
    font-weight: 700;
}

.twj-deals-page.is-curated-radar .twj-deals-sort-currency-required select {
    display: block;
    width: 100%;
    min-height: 42px;
    border: 1px solid #cd6a34;
    border-radius: 7px;
    background: #fff;
    color: #1a3445;
    font-size: 15px;
    font-weight: 700;
    padding: 7px 12px;
}

.twj-deals-page.is-curated-radar .twj-deals-sort-currency-required select:focus-visible {
    outline: 3px solid #ae4b12;
    outline-offset: 2px;
}

.twj-deals-page.is-curated-radar .twj-deals-currency-note.is-action {
    margin: 9px 0 12px;
    border-left: 3px solid #ca631c;
    padding: 6px 10px;
    background: #fff8f2;
    color: #8e411b;
    font-size: 14px;
    font-weight: 650;
}

.twj-deals-page.is-curated-radar .twj-deals-currency-note.is-reference {
    margin: 7px 0 10px;
    font-size: 12px;
    color: #516777;
}

@media (max-width: 700px) {
    .twj-deals-page.is-curated-radar .twj-deals-sort-form .twj-deals-filter-control,
    .twj-deals-page.is-curated-radar .twj-deals-sort-currency-required {
        flex: 1 1 100%;
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
}

/* Cruise pricing: original prices share one baseline; USD references another. */
/* The card is the nearest query container so narrow columns can stack independently
   of browser width; template/source quote semantics remain unchanged. */
.twj-deals-page.is-curated-radar .twj-deals-group-card {
    container-type: inline-size;
}

.twj-deals-page.is-curated-radar .twj-deals-group-price {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
        "state nightly-label"
        "original nightly"
        "reference nightly-reference"
        ". tax";
    column-gap: 8px;
    row-gap: 3px;
    margin-top: 0;
    padding-top: 14px;
    border-top: 1px solid #dde8ec;
    align-items: end;
}

/* Only these layout divs are flattened; their existing children and text stay intact. */
.twj-deals-page.is-curated-radar .twj-deals-group-price > .twj-deals-group-main-price,
.twj-deals-page.is-curated-radar .twj-deals-group-price > .twj-deals-group-side-price {
    display: contents;
}

.twj-deals-page.is-curated-radar .twj-deals-group-main-price > span:first-child {
    grid-area: state;
}
.twj-deals-page.is-curated-radar .twj-deals-group-side-price > .twj-deals-nightly-label {
    grid-area: nightly-label;
    text-align: right;
}
.twj-deals-page.is-curated-radar .twj-deals-group-main-price > strong {
    grid-area: original;
    align-self: end;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
}
.twj-deals-page.is-curated-radar .twj-deals-group-side-price > strong {
    grid-area: nightly;
    align-self: end;
    text-align: right;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
}
.twj-deals-page.is-curated-radar .twj-deals-group-main-price > .twj-deals-usd-estimate {
    grid-area: reference;
    align-self: start;
    margin-top: 0;
}
.twj-deals-page.is-curated-radar .twj-deals-group-side-price > .twj-deals-usd-nightly {
    grid-area: nightly-reference;
    align-self: start;
    text-align: right;
    margin-top: 0;
}
.twj-deals-page.is-curated-radar .twj-deals-group-main-price > .twj-deals-usd-estimate,
.twj-deals-page.is-curated-radar .twj-deals-group-side-price > .twj-deals-usd-nightly {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
}
.twj-deals-page.is-curated-radar .twj-deals-group-side-price > span:last-child {
    grid-area: tax;
    text-align: right;
}

/* Four-up desktop cards are about 350px wide; keep their prices side by side. */
@container (max-width: 380px) {
    .twj-deals-page.is-curated-radar .twj-deals-group-main-price > strong {
        font-size: 27px;
    }
    .twj-deals-page.is-curated-radar .twj-deals-group-main-price > .twj-deals-usd-estimate {
        font-size: 14px;
    }
    .twj-deals-page.is-curated-radar .twj-deals-group-side-price > .twj-deals-usd-nightly {
        font-size: 12px;
    }
}

/* Only genuinely narrow cards stack; no price is clipped or relabeled. */
@container (max-width: 260px) {
    .twj-deals-page.is-curated-radar .twj-deals-group-price {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "state"
            "original"
            "reference"
            "nightly-label"
            "nightly"
            "nightly-reference"
            "tax";
        row-gap: 3px;
        justify-items: start;
    }
    .twj-deals-page.is-curated-radar .twj-deals-group-side-price > .twj-deals-nightly-label {
        margin-top: 10px;
    }
    .twj-deals-page.is-curated-radar .twj-deals-group-side-price > strong,
    .twj-deals-page.is-curated-radar .twj-deals-group-side-price > .twj-deals-nightly-label,
    .twj-deals-page.is-curated-radar .twj-deals-group-side-price > .twj-deals-usd-nightly,
    .twj-deals-page.is-curated-radar .twj-deals-group-side-price > span:last-child {
        text-align: left;
    }
}
.twj-deals-page.is-curated-radar .twj-deals-group-drop {
    display: inline-flex;
    align-items: baseline;
    align-self: center;
    gap: 4px;
    margin-top: 0;
    padding: 4px 9px;
    border: 1px solid #b6dfd2;
    border-radius: 6px;
    background: #eef9f4;
    color: #086657;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}
.twj-deals-page.is-curated-radar .twj-deals-group-drop strong {
    font-variant-numeric: tabular-nums;
    font-weight: 850;
}
/* A short price notice list keeps the actual offers in view. */
.twj-deals-page .twj-deals-updates {
    margin: 12px 0 18px;
    border: 1px solid #cfe7df;
    border-left: 3px solid #0b806f;
    border-radius: 11px;
    background: #f7fbf9;
}
.twj-deals-page .twj-deals-updates[hidden] {
    display: none;
}
.twj-deals-updates-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.twj-deals-updates-list.is-switching {
    overflow: hidden;
    transition: height 200ms ease;
}
.twj-deals-update + .twj-deals-update {
    border-top: 1px solid #deebe7;
}
.twj-deals-update.is-first-visible {
    border-top: 0;
}
.twj-deals-update[hidden] {
    display: none;
}
.twj-deals-update > a,
.twj-deals-update-static {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 39px;
    padding: 7px 13px;
    color: #183c46;
    font-size: 14px;
    line-height: 1.38;
    text-decoration: none;
}
.twj-deals-update > a:hover {
    background: #edf8f3;
}
.twj-deals-update > a:focus-visible {
    outline: 2px solid #086657;
    outline-offset: -2px;
    border-radius: 8px;
}
.twj-deals-update-sentence {
    min-width: 0;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.twj-deals-update-ship {
    font-weight: 750;
}
.twj-deals-update-sentence strong {
    color: #086657;
    font-size: 16px;
    font-weight: 850;
    white-space: nowrap;
}
.twj-deals-update-nightly strong {
    font-size: 14px;
}
.twj-deals-update-action {
    flex: none;
    color: #0b685c;
    font-size: 12px;
    font-weight: 750;
    white-space: nowrap;
}
.twj-deals-updates-controls,
.twj-deals-updates-fallback {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 5px 12px;
    border-top: 1px solid #deebe7;
    font-size: 12px;
}
.twj-deals-updates-controls {
    display: none;
}
.twj-deals-page.has-price-update-js .twj-deals-updates-controls {
    display: flex;
}
.twj-deals-updates-controls button,
.twj-deals-updates-fallback a {
    border: 0;
    background: transparent;
    color: #0b685c;
    font-weight: 750;
    cursor: pointer;
    padding: 5px 3px;
}
.twj-deals-updates-controls button:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.twj-deals-updates-controls button:focus-visible,
.twj-deals-updates-fallback a:focus-visible,
.twj-deals-updates-dialog button:focus-visible {
    outline: 2px solid #086657;
    outline-offset: 2px;
}
.twj-deals-updates-open {
    margin-left: auto;
}
.twj-deals-updates-status {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.twj-deals-updates-dialog {
    box-sizing: border-box;
    width: min(760px, calc(100vw - 28px));
    max-height: min(78vh, 700px);
    padding: 0;
    border: 1px solid #cfe7df;
    border-radius: 14px;
    background: #fff;
    color: #183c46;
    box-shadow: 0 24px 70px rgba(20, 52, 61, .22);
}
.twj-deals-updates-dialog::backdrop {
    background: rgba(17, 40, 47, .38);
}
.twj-deals-updates-dialog-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    border-bottom: 1px solid #deebe7;
}
.twj-deals-updates-dialog-head h2 {
    margin: 0;
    font-size: 17px;
    line-height: 1.35;
}
.twj-deals-updates-dialog-head button {
    border: 0;
    background: transparent;
    color: #183c46;
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
}
.twj-deals-updates-dialog-list {
    max-height: min(63vh, 580px);
    margin: 0;
    padding: 0;
    overflow: auto;
    overscroll-behavior: contain;
    list-style: none;
}
.twj-deals-updates-dialog-list .twj-deals-update[hidden] {
    display: list-item;
}
/* The full list must show the nightly price and value reason, never ellipsize them. */
.twj-deals-updates-dialog-list .twj-deals-update-sentence {
    overflow: visible;
    overflow-wrap: anywhere;
    text-overflow: clip;
    white-space: normal;
}
@media (max-width: 1500px) {
    .twj-deals-updates-list .twj-deals-update-sentence {
        overflow: visible;
        overflow-wrap: anywhere;
        text-overflow: clip;
        white-space: normal;
    }
}
@media (prefers-reduced-motion: reduce) {
    .twj-deals-updates-list.is-switching {
        transition: none;
    }
}
@media (max-width: 700px) {
    .twj-deals-updates-dialog {
        width: 100vw;
        max-width: 100vw;
        max-height: 84vh;
        margin: auto 0 0;
        border-radius: 16px 16px 0 0;
    }
    .twj-deals-updates-dialog-list {
        max-height: 70vh;
    }
}
.twj-deals-page.is-curated-radar .twj-deals-group-card.is-price-update-target {
    scroll-margin-top: 210px;
    outline: 5px solid #0f6575;
    outline-offset: 0;
    position: relative;
    z-index: 1;
}
.twj-deals-page.is-curated-radar .twj-deals-group-card.is-price-update-pulsing::before {
    content: "";
    position: absolute;
    inset: -3px;
    border: 3px solid #0f6575;
    border-radius: inherit;
    pointer-events: none;
    animation: twj-deals-target-pulse 850ms ease-out 2 both;
}
@keyframes twj-deals-target-pulse {
    0% { opacity: 0; transform: scale(1); box-shadow: 0 0 0 0 rgba(15, 101, 117, .5); }
    12% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 3px rgba(15, 101, 117, .48); }
    100% { opacity: 0; transform: scale(1.02); box-shadow: 0 0 0 9px rgba(15, 101, 117, 0); }
}
.twj-deals-page.is-curated-radar .twj-deals-group-card:focus:not(:focus-visible):not(.is-price-update-target) {
    outline: none;
}
.twj-deals-page.is-curated-radar .twj-deals-group-card:focus-visible:not(.is-price-update-target) {
    outline: 3px solid #0f6575;
    outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
    .twj-deals-page.is-curated-radar .twj-deals-group-card.is-price-update-pulsing::before {
        display: none;
        animation: none;
    }
}
@media (max-width: 700px) {
    .twj-deals-page.is-curated-radar .twj-deals-group-card.is-price-update-target {
        scroll-margin-top: 160px;
    }
    .twj-deals-page.is-curated-radar .twj-deals-group-card { height: auto; }
    .twj-deals-page.is-curated-radar .twj-deals-group-offer {
        flex: 0 0 auto;
        justify-content: flex-start;
        margin-top: 16px;
    }
    .twj-deals-page.is-curated-radar .twj-deals-group-facts {
        margin-top: 0;
        padding-top: 0;
    }
    .twj-deals-page.is-curated-radar .twj-deals-group-offer > .twj-deals-group-link {
        margin-top: 10px;
        padding-top: 0;
    }
    .twj-deals-page .twj-deals-updates {
        margin: 10px 0 15px;
    }
    .twj-deals-update > a,
    .twj-deals-update-static {
        align-items: baseline;
        gap: 6px;
        padding: 8px 10px;
        font-size: 13px;
    }
    .twj-deals-update-sentence strong {
        font-size: 15px;
    }
    .twj-deals-update-nightly strong {
        font-size: 13px;
    }
    .twj-deals-update-sentence {
        overflow: visible;
        overflow-wrap: anywhere;
        white-space: normal;
    }
    .twj-deals-update-action {
        font-size: 11px;
    }
}

/* Keep native filter labels readable on narrow phones. */
@media (max-width: 360px) {
    .twj-deals-page.is-curated-radar .twj-deals-filter-form {
        grid-template-columns: minmax(0, 1fr);
    }
}
