/* Lobangsis Compare — comparison table + sign-up deals block.
   Tokens match the approved mockup (claude.ai artifact 5f3f2ac5, 22 Aug 2026),
   which lifted them from signup-card.css / the /test child theme. */
.lb-cmp-wrap, .lb-sd {
    --lbc-navy: var(--brand-navy, #14213A);
    --lbc-navy-2: #2C3D63;
    --lbc-ink: var(--brand-ink, #1A1A1A);
    --lbc-ivory: var(--brand-ivory, #FBF8F3);
    --lbc-ghost: #FBFAF7;
    --lbc-line: var(--brand-line, #E7E2D9);
    --lbc-gold: #B0813C;
    --lbc-gold-d: #8A6A2C;
    --lbc-muted: #5A6B7D;
    --lbc-grey: #8a8a8e;
    --lbc-green: #0B6A50;
    --lbc-red: #B3261E;
    --lbc-head: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --lbc-body: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-family: var(--lbc-body);
    color: var(--lbc-ink);
    -webkit-font-smoothing: antialiased;
}
.lb-cmp-wrap *, .lb-sd * { box-sizing: border-box; }

/* ══════════════════════════════════════════════════════════════
   COMPARISON TABLE — desktop
   ══════════════════════════════════════════════════════════════ */
.lb-cmp-wrap { margin: 16px 0; }
.lb-cmp-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--lbc-line); border-radius: 10px; background: #fff; }
table.lb-cmp { border-collapse: collapse; width: 100%; margin: 0; font-size: 13.5px; line-height: 1.5; background: #fff; border: 0; }
table.lb-cmp th {
    background: var(--lbc-navy); color: #F0D9A8;
    font-family: var(--lbc-head); font-size: 11px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase;
    text-align: left; padding: 10px 12px; white-space: nowrap; border: 0; vertical-align: bottom;
}
table.lb-cmp th.lb-cmp-h-card { color: #fff; }
table.lb-cmp td { border: 0; border-top: 1px solid var(--lbc-line); padding: 11px 12px; vertical-align: middle; color: var(--lbc-ink); background: transparent; }
table.lb-cmp tbody tr:first-child td { border-top: 0; }
table.lb-cmp td.lb-cmp-card { min-width: 210px; }
table.lb-cmp td.lb-cmp-metric { font-family: var(--lbc-head); font-size: 15px; font-weight: 800; color: var(--lbc-navy); white-space: nowrap; font-variant-numeric: tabular-nums; }
table.lb-cmp td.lb-cmp-empty::after { content: "\2014"; color: var(--lbc-line); }
table.lb-cmp td.lb-cmp-tog { display: none; }
.lb-cmp-star { color: var(--lbc-gold-d); font-weight: 800; margin-left: 1px; }

/* card cell: face + name */
.lb-cc { display: flex; gap: 10px; align-items: center; min-width: 0; }
.lb-cc-img { width: 88px; height: 56px; flex: none; object-fit: contain; background: var(--lbc-ghost); border: 1px solid #EBE7DF; border-radius: 6px; padding: 3px; display: block; }
.lb-cc-id { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.lb-cc-name { font-family: var(--lbc-head); font-size: 13.5px; font-weight: 700; line-height: 1.3; color: var(--lbc-ink); }
.lb-cc-rev { font-family: var(--lbc-body); font-size: 11px; font-weight: 500; color: var(--lbc-muted); text-decoration: none; border-bottom: 1px solid var(--lbc-line); align-self: flex-start; line-height: 1.4; }
.lb-cc-rev:hover { color: var(--lbc-gold); border-bottom-color: var(--lbc-gold); }

/* starred rows open their full wording in place */
table.lb-cmp tr.lb-cmp-x { cursor: pointer; }
table.lb-cmp tr.lb-cmp-x:hover td { background: var(--lbc-ghost); }
table.lb-cmp tr.lb-cmp-x:focus-visible { outline: 2px solid var(--lbc-navy); outline-offset: -2px; }
table.lb-cmp tr.lb-cmp-det { display: none; }
table.lb-cmp tr.lb-cmp-det.open { display: table-row; }
table.lb-cmp tr.lb-cmp-det td { background: var(--lbc-ivory); border-top: 0; padding: 8px 14px 12px; font-size: 13px; line-height: 1.6; color: #2C3A47; }
.lb-cmp-det-l { font-family: var(--lbc-head); font-size: 10px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--lbc-gold-d); margin-right: 6px; }
.lb-cmp-foot { font-size: 11.5px; color: var(--lbc-muted); margin: 6px 0 0; line-height: 1.5; }
.lb-cmp-foot + .lb-cmp-foot { margin-top: 2px; }
.lb-chev { display: inline-block; transition: transform .18s; flex: none; }
@media (prefers-reduced-motion: reduce) { .lb-chev { transition: none; } }

/* ══════════════════════════════════════════════════════════════
   COMPARISON TABLE — phone (≤640px): same DOM, stacked.
   Each row = card face + name on the left, the marked metric on the
   right, a "Details" line beneath; tap shows the other columns.
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
    .lb-cmp-scroll { overflow: visible; border: 0; border-radius: 0; background: transparent; }
    table.lb-cmp, table.lb-cmp tbody { display: block; width: 100%; }
    table.lb-cmp thead { display: none; }
    table.lb-cmp tr.lb-cmp-row {
        display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 10px;
        border: 1px solid var(--lbc-line); border-radius: 10px; background: #fff; margin: 0 0 8px; padding: 10px 12px;
        cursor: pointer; box-shadow: 0 1px 2px rgba(20,33,58,.05);
    }
    table.lb-cmp tr.lb-cmp-row.open { border-color: var(--lbc-navy); box-shadow: 0 2px 10px rgba(20,33,58,.10); }
    table.lb-cmp tr.lb-cmp-row td { display: block; border: 0; padding: 0; background: transparent !important; }
    table.lb-cmp td.lb-cmp-card { grid-column: 1; min-width: 0; }
    .lb-cc-img { width: 56px; height: 36px; }
    .lb-cc-name { font-size: 13.5px; }
    table.lb-cmp td.lb-cmp-metric { grid-column: 2; justify-self: end; font-size: 16px; }
    table.lb-cmp td.lb-cmp-tog {
        display: flex; grid-column: 1 / -1; align-items: center; gap: 5px; justify-content: flex-end;
        font-family: var(--lbc-head); font-size: 10.5px; font-weight: 650; color: var(--lbc-gold); padding-top: 2px;
    }
    table.lb-cmp tr.lb-cmp-row.open td.lb-cmp-tog { color: var(--lbc-gold-d); }
    table.lb-cmp tr.lb-cmp-row.open .lb-chev { transform: rotate(180deg); }
    /* Specificity note: the generic "tr.lb-cmp-row td { display:block }" rule above
       is 0,2,3 — these must beat it, so they carry the row class too. */
    table.lb-cmp tr.lb-cmp-row td.lb-cmp-cell { display: none; }
    table.lb-cmp tr.lb-cmp-row.open td.lb-cmp-cell {
        display: block; grid-column: 1 / -1; border-top: 1px dashed var(--lbc-line); padding: 7px 0 2px; font-size: 13px; line-height: 1.5;
    }
    /* Reading order on the phone is fixed by `order`, not by DOM order: card face + name
       and the marked metric share the top row, the other columns open beneath them, and
       the Details line closes the card. */
    table.lb-cmp tr.lb-cmp-row td.lb-cmp-card { grid-column: 1; order: 0; }
    table.lb-cmp tr.lb-cmp-row td.lb-cmp-metric { grid-column: 2; order: 1; justify-self: end; align-self: center; }
    table.lb-cmp tr.lb-cmp-row td.lb-cmp-cell { order: 2; }
    table.lb-cmp tr.lb-cmp-row td.lb-cmp-tog { order: 3; }
    table.lb-cmp tr.lb-cmp-row.open td.lb-cmp-cell::before {
        content: attr(data-label); display: block; font-family: var(--lbc-head); font-size: 10px; font-weight: 800;
        letter-spacing: .5px; text-transform: uppercase; color: var(--lbc-grey); margin-bottom: 2px;
    }
    table.lb-cmp tr.lb-cmp-row.open td.lb-cmp-empty::after { content: "\2014"; color: var(--lbc-grey); }
    table.lb-cmp tr.lb-cmp-det { display: none; }
    table.lb-cmp tr.lb-cmp-det.open { display: block; margin: -10px 0 8px; }
    table.lb-cmp tr.lb-cmp-det.open td { display: block; background: var(--lbc-ivory); border: 1px solid var(--lbc-line); border-top: 0; border-radius: 0 0 10px 10px; padding: 8px 12px 10px; }
    table.lb-cmp tr.lb-cmp-row.open:has(+ tr.lb-cmp-det) { border-bottom-left-radius: 0; border-bottom-right-radius: 0; margin-bottom: 0; }
}

/* ══════════════════════════════════════════════════════════════
   SIGN-UP DEALS — desktop ledger
   ══════════════════════════════════════════════════════════════ */
.lb-sd { margin: 12px 0 20px; }
.lb-sd-note { background: #fff; border: 1px solid var(--lbc-line); border-radius: 10px; margin: 0 0 14px; overflow: hidden; }
.lb-sd-note-h { font-family: var(--lbc-head); font-size: 11.5px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; color: #fff; background: var(--lbc-navy); padding: 9px 14px; display: flex; align-items: center; gap: 8px; }
.lb-sd-note-h::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lbc-gold); flex: none; }
.lb-sd-note p { font-size: 13.5px; line-height: 1.6; margin: 0; padding: 11px 14px; color: #2C3A47; }
.lb-sd-ctrl { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin: 0 0 10px; }
.lb-sd-ctrl-l { font-family: var(--lbc-head); font-size: 10px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--lbc-muted); margin-right: 2px; }
/* v1.55.1 — specificity (0,3,1) so these beat the theme reset's `button` rule (loaded after
   this sheet) and the Elementor kit's `.elementor-kit-6 button` (0,1,1), which were turning
   the chips into big blue 16px buttons with a pink border. Every property those rules set
   is restated here. */
.lb-sd .lb-sd-ctrl button.lb-sd-chip { display: inline-block; width: auto; margin: 0; font: inherit; font-family: var(--lbc-head); font-size: 11.5px; font-weight: 700; line-height: 1.2; letter-spacing: 0; text-transform: none; padding: 6px 11px; border: 1px solid #DFD9CE; border-radius: 999px; background: #fff; background-image: none; color: #2C3A47; cursor: pointer; box-shadow: none; text-decoration: none; }
.lb-sd .lb-sd-ctrl button.lb-sd-chip:hover { background: #F6F3EC; color: #2C3A47; }
.lb-sd .lb-sd-ctrl button.lb-sd-chip[aria-pressed="true"],
.lb-sd .lb-sd-ctrl button.lb-sd-chip[aria-pressed="true"]:hover { background: var(--lbc-navy); border-color: var(--lbc-navy); color: #fff; }
.lb-sd .lb-sd-ctrl button.lb-sd-chip:focus-visible { outline: 2px solid var(--lbc-navy); outline-offset: 1px; }

.lb-sd-row { border: 1px solid var(--lbc-line); border-radius: 9px; background: #fff; margin: 0 0 7px; overflow: hidden; box-shadow: 0 1px 3px rgba(20,33,58,.05); }
.lb-sd-row.open { border-color: var(--lbc-navy); box-shadow: 0 2px 10px rgba(20,33,58,.10); }
.lb-sd-head {
    display: grid; grid-template-columns: 64px minmax(0, 1fr) 54px 104px 86px 92px; gap: 14px; align-items: center;
    width: 100%; padding: 11px 14px; cursor: pointer; text-align: left; color: inherit;
}
.lb-sd-head:hover { background: var(--lbc-ghost); }
.lb-sd-head:focus-visible { outline: 2px solid var(--lbc-navy); outline-offset: -2px; }
.lb-sd-img { width: 64px; height: 41px; object-fit: contain; background: var(--lbc-ghost); border-radius: 5px; padding: 2px; display: block; }
.lb-sd-id { min-width: 0; }
.lb-sd-bank { font-family: var(--lbc-head); font-size: 9.5px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; color: #fff; background: var(--lbc-navy); padding: 2px 7px; border-radius: 4px; margin-right: 7px; vertical-align: 2px; }
.lb-sd-name { font-family: var(--lbc-head); font-size: 14.5px; font-weight: 700; color: var(--lbc-ink); }
.lb-sd-sub { display: block; font-size: 12.5px; color: var(--lbc-grey); margin-top: 4px; line-height: 1.4; max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-sd-off .lb-sd-sub { font-style: italic; }
.lb-sd-chev { display: inline-flex; align-items: center; gap: 5px; font-family: var(--lbc-head); font-size: 11px; font-weight: 650; color: var(--lbc-gold); justify-self: end; white-space: nowrap; }
.lb-sd-row.open .lb-sd-chev { color: var(--lbc-gold-d); }
.lb-sd-row.open .lb-sd-chev .lb-chev { transform: rotate(180deg); }
.lb-sd-val { font-family: var(--lbc-head); font-size: 20px; font-weight: 800; color: var(--lbc-green); display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; justify-self: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lb-sd-vallab { font-family: var(--lbc-body); font-size: 9.5px; font-weight: 500; color: var(--lbc-grey); margin-top: 2px; }
.lb-sd-dash { color: var(--lbc-line); }
.lb-sd-end { font-family: var(--lbc-head); font-size: 12px; font-weight: 800; color: var(--lbc-gold-d); justify-self: end; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lb-sd-end:not(:empty)::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: currentColor; margin-right: 6px; translate: 0 -1px; }
.lb-sd-hot { color: var(--lbc-red) !important; }
.lb-sd-cta { display: flex; flex-direction: column; gap: 4px; justify-self: stretch; }
.lb-sd-apply {
    font-family: var(--lbc-head); font-size: 11px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: #fff !important;
    background: linear-gradient(135deg, var(--lbc-navy) 0%, var(--lbc-navy-2) 100%); border-radius: 8px; padding: 11px 12px; text-decoration: none !important;
    display: flex; justify-content: center; align-items: center; min-height: 42px; text-align: center; line-height: 1.15; white-space: nowrap;
}
.lb-sd-apply:hover { filter: brightness(1.08); color: #fff; }
.lb-sd-apply-sm { min-height: 0; padding: 7px 8px; font-size: 9.5px; letter-spacing: .3px; }

/* details panel */
.lb-sd-det { display: none; border-top: 1px solid var(--lbc-line); background: var(--lbc-ivory); padding: 13px 15px; }
.lb-sd-row.open .lb-sd-det { display: block; }
.lb-sd-ch { font-family: var(--lbc-head); font-size: 11px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--lbc-navy); margin: 10px 0 8px; padding-top: 10px; border-top: 1px dashed var(--lbc-line); }
.lb-sd-ch:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.lb-sd-gifts { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: 0 0 10px; }
.lb-sd-gifts-1 { grid-template-columns: 1fr; }
.lb-sd-gift { background: #fff; border: 1px solid var(--lbc-line); border-radius: 7px; padding: 9px 11px; display: flex; flex-direction: column; }
.lb-sd-gift-top { border-color: #bfe3d3; background: #FAFEFC; }
.lb-sd-gtop { align-self: flex-start; background: var(--lbc-green); color: #fff; font-family: var(--lbc-head); font-size: 8.5px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; margin-bottom: 5px; }
.lb-sd-gval { font-family: var(--lbc-head); font-size: 17px; font-weight: 800; color: var(--lbc-navy); line-height: 1.15; }
.lb-sd-gname { font-size: 12px; color: var(--lbc-ink); font-weight: 500; line-height: 1.35; margin-top: 2px; }
.lb-sd-gdesc { font-size: 11.5px; color: var(--lbc-muted); line-height: 1.35; margin-top: 2px; }
.lb-sd-reqs { margin: 0 0 10px; padding-left: 18px; font-size: 12.5px; line-height: 1.6; color: #2C3A47; }
.lb-sd-reqs li { margin: 0 0 3px; }
.lb-sd-reqs strong { color: var(--lbc-navy); }
.lb-sd-nopromo { font-size: 12.5px; font-style: italic; color: var(--lbc-muted); margin: 0 0 8px; }
.lb-sd-apply-det { display: inline-flex; margin: 0 6px 8px 0; min-height: 36px; padding: 8px 14px; }
.lb-sd-alt { font-size: 12px; color: #5b4a25; background: #fff7e8; border: 1px solid #f3d79a; border-radius: 8px; padding: 7px 10px; margin: 0 0 6px; line-height: 1.5; }
.lb-sd-form { display: block; margin: 4px 0 10px; text-align: center; font-family: var(--lbc-head); font-size: 12px; font-weight: 700; color: var(--lbc-navy) !important; text-decoration: none !important; background: #FBF8F3; border: 1.5px solid var(--lbc-navy); border-radius: 9px; padding: 10px 12px; line-height: 1.35; }
.lb-sd-stack { background: #ecfdf4; border: 1px solid #a7f3d0; color: #12603c; border-radius: 7px; font-size: 12px; line-height: 1.5; padding: 9px 12px; margin: 0 0 10px; }
.lb-sd-existing { font-size: 12px; line-height: 1.55; color: #2C3A47; background: #fff; border: 1px solid var(--lbc-line); border-radius: 7px; padding: 9px 12px; margin: 0 0 10px; }
.lb-sd-existing strong { color: var(--lbc-navy); }
.lb-sd-existing-a { color: var(--lbc-gold-d); font-weight: 700; }
.lb-sd-code { display: flex; align-items: center; gap: 9px; background: #fff; border: 1px dashed var(--lbc-gold-d); border-radius: 8px; padding: 9px 12px; margin: 0 0 10px; flex-wrap: wrap; }
.lb-sd-code-l { font-family: var(--lbc-head); font-size: 9.5px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--lbc-muted); width: 100%; }
.lb-sd-code-v { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 18px; font-weight: 700; letter-spacing: 1.5px; color: var(--lbc-navy); flex: 1; }
/* v1.55.1 — same specificity guard as the chips: the copy button is a <button> too. */
.lb-sd .lb-sd-code button.lb-sd-code-c { display: inline-block; width: auto; margin: 0; font: inherit; font-family: var(--lbc-head); font-size: 12px; font-weight: 700; line-height: 1.2; letter-spacing: 0; text-transform: none; color: #fff; background: var(--lbc-gold-d); background-image: none; border: 0; border-radius: 5px; padding: 7px 14px; cursor: pointer; box-shadow: none; }
.lb-sd .lb-sd-code button.lb-sd-code-c:hover { background: var(--lbc-gold); color: #fff; }
.lb-sd-foot { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--lbc-line); padding-top: 9px; font-family: var(--lbc-head); font-size: 11.5px; }
.lb-sd-valid { font-weight: 700; color: var(--lbc-navy); }
.lb-sd-tcs { margin-left: auto; font-weight: 600; color: var(--lbc-grey) !important; text-decoration: none !important; border-bottom: 1px dashed var(--lbc-line); }
.lb-sd-tcs:hover { color: var(--lbc-ink) !important; }
.lb-sd-disc { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 10.5px; line-height: 1.5; color: #7a8a9b; padding: 8px 2px 0; }

/* ══════════════════════════════════════════════════════════════
   SIGN-UP DEALS — phone (≤560px). Bank pill + name take the top line;
   below it card face · gift value (over its label) · Apply flush right,
   then Details under the value and the countdown under Apply.
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 560px) {
    .lb-sd-row { margin-bottom: 6px; border-radius: 8px; }
    .lb-sd-head {
        grid-template-columns: 56px minmax(0, 1fr) auto;
        grid-template-areas: "id id id" "img val cta" "img chev end";
        gap: 4px 8px; padding: 11px 12px;
    }
    .lb-sd-img { grid-area: img; width: 56px; height: 36px; align-self: center; }
    .lb-sd-id { grid-area: id; display: flex; align-items: flex-start; gap: 6px; flex-wrap: wrap; }
    .lb-sd-bank { flex: none; font-size: 9px; padding: 2px 6px; margin: 2px 0 0; }
    .lb-sd-name { font-size: 13.5px; line-height: 1.3; flex: 1 1 60%; min-width: 0; }
    .lb-sd-sub { flex-basis: 100%; white-space: normal; max-width: none; margin-top: 2px; font-size: 11.5px; }
    .lb-sd-val { grid-area: val; justify-self: end; align-self: center; font-size: 17px; line-height: 1.05; }
    .lb-sd-vallab { font-size: 9.5px; margin-top: 1px; }
    .lb-sd-cta { grid-area: cta; justify-self: end; align-self: center; flex-direction: row; gap: 4px; }
    .lb-sd-apply { font-size: 10.5px; padding: 8px 12px; min-height: 0; }
    .lb-sd-apply-sm { font-size: 9px; padding: 7px 7px; }
    .lb-sd-end { grid-area: end; justify-self: center; align-self: center; font-size: 9.5px; font-weight: 700; min-height: 18px; display: inline-flex; align-items: center; }
    .lb-sd-end::before { display: none !important; }
    .lb-sd-chev { grid-area: chev; justify-self: end; align-self: center; font-size: 10.5px; }
    .lb-sd-gifts { grid-template-columns: 1fr; }
    .lb-sd-det { padding: 12px; }
}
