/**
 * File: /public/css/banking/product-detail.css
 * Purpose: Isolated public banking-product detail-page presentation.
 * Version: RB-BANKING-PRODUCT-DETAIL-CSS-V1.0.0-20260817
 */

.rb-bpd {
    --rb-bpd-ink: #10251b;
    --rb-bpd-body: #33483d;
    --rb-bpd-muted: #66786e;
    --rb-bpd-green: #198754;
    --rb-bpd-green-dark: #0d633c;
    --rb-bpd-green-deep: #073d27;
    --rb-bpd-green-soft: #eaf7ef;
    --rb-bpd-green-pale: #f5fbf7;
    --rb-bpd-border: #d9e7de;
    --rb-bpd-border-strong: #9ccbae;
    --rb-bpd-gold: #a86b00;
    --rb-bpd-white: #fff;
    --rb-bpd-shadow: 0 18px 45px rgba(17, 66, 40, 0.09);
    color: var(--rb-bpd-body);
    background: #f8fbf9;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.rb-bpd *,
.rb-bpd *::before,
.rb-bpd *::after {
    box-sizing: border-box;
}

.rb-bpd a {
    text-underline-offset: 3px;
}

.rb-bpd__hero {
    position: relative;
    overflow: hidden;
    padding: 28px 0 40px;
    border-bottom: 1px solid var(--rb-bpd-border);
    background:
        radial-gradient(circle at 82% 12%, rgba(38, 166, 91, 0.12), transparent 32%),
        linear-gradient(145deg, #fff 0%, #f3fbf6 56%, #eaf7ef 100%);
}

.rb-bpd__hero::after {
    position: absolute;
    right: -80px;
    bottom: -150px;
    width: 390px;
    height: 390px;
    border: 65px solid rgba(25, 135, 84, 0.045);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.rb-bpd__hero .container-xl {
    position: relative;
    z-index: 1;
}

.rb-bpd__breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: var(--rb-bpd-muted);
    font-size: 0.78rem;
    line-height: 1.4;
}

.rb-bpd__breadcrumbs a {
    color: var(--rb-bpd-green-dark);
    font-weight: 700;
    text-decoration: none;
}

.rb-bpd__breadcrumbs a:hover,
.rb-bpd__breadcrumbs a:focus-visible {
    text-decoration: underline;
}

.rb-bpd__breadcrumbs i {
    color: #9aac9f;
    font-size: 0.64rem;
}

.rb-bpd__breadcrumbs span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rb-bpd__headline-promo {
    display: flex;
    width: fit-content;
    max-width: 100%;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 18px;
    padding: 10px 15px;
    border-left: 4px solid var(--rb-bpd-promo-accent, var(--rb-bpd-green));
    border-radius: 0 10px 10px 0;
    background: #fff;
    box-shadow: 0 5px 18px rgba(19, 69, 43, 0.07);
    color: var(--rb-bpd-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(0.93rem, 1.5vw, 1.04rem);
    font-style: italic;
    font-weight: 500;
    line-height: 1.45;
}

.rb-bpd__headline-promo i {
    flex: 0 0 auto;
    margin-top: 2px;
    color: var(--rb-bpd-promo-accent, var(--rb-bpd-green));
}

.rb-bpd__hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 350px);
    gap: clamp(28px, 5vw, 70px);
    align-items: center;
}

.rb-bpd__identity {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: clamp(20px, 3vw, 34px);
    align-items: center;
}

.rb-bpd__logo-shell {
    display: grid;
    width: 160px;
    height: 124px;
    padding: 18px;
    border: 1px solid var(--rb-bpd-border-strong);
    border-radius: 19px;
    background: var(--rb-bpd-white);
    box-shadow: 0 13px 30px rgba(20, 83, 47, 0.1);
    place-items: center;
}

.rb-bpd__logo {
    display: block;
    width: auto;
    max-width: 124px;
    height: auto;
    max-height: 78px;
    object-fit: contain;
}

.rb-bpd__logo-fallback {
    display: grid;
    width: 76px;
    height: 76px;
    border-radius: 18px;
    background: var(--rb-bpd-green-soft);
    color: var(--rb-bpd-green-dark);
    font-size: 1.45rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    place-items: center;
}

.rb-bpd__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 12px;
}

.rb-bpd__badge,
.rb-bpd__pill {
    display: inline-flex;
    min-height: 27px;
    align-items: center;
    gap: 5px;
    padding: 5px 9px;
    border: 1px solid #d8e4dc;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: #52675b;
    font-size: 0.66rem;
    font-weight: 750;
    line-height: 1.2;
}

.rb-bpd__badge--sponsored {
    border-color: #efd081;
    background: #fff7d8;
    color: #775003;
}

.rb-bpd__badge--pick,
.rb-bpd__badge--protected {
    border-color: #9dd6b3;
    background: #e9f8ef;
    color: #0d6a3d;
}

.rb-bpd__provider {
    display: block;
    margin-bottom: 4px;
    color: var(--rb-bpd-green-dark);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.015em;
}

.rb-bpd__identity-copy h1 {
    max-width: 760px;
    margin: 0;
    color: var(--rb-bpd-ink);
    font-size: clamp(1.9rem, 4vw, 3.15rem);
    font-weight: 850;
    letter-spacing: -0.04em;
    line-height: 1.08;
}

.rb-bpd__intro {
    max-width: 760px;
    margin: 13px 0 0;
    color: #53675b;
    font-size: 0.94rem;
    line-height: 1.65;
}

.rb-bpd__hero-ratings {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-top: 17px;
}

.rb-bpd__hero-ratings > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #52665a;
    font-size: 0.74rem;
}

.rb-bpd__hero-ratings i {
    color: #e0a419;
}

.rb-bpd__hero-ratings strong {
    color: var(--rb-bpd-ink);
    font-size: 0.84rem;
}

.rb-bpd__hero-ratings small {
    color: var(--rb-bpd-muted);
}

.rb-bpd__hero-action {
    padding: 22px;
    border: 1px solid var(--rb-bpd-border-strong);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--rb-bpd-shadow);
}

.rb-bpd__action-message,
.rb-bpd__sidebar-message {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin: 0 0 12px;
    color: #3f5c4c;
    font-size: 0.76rem;
    font-weight: 520;
    line-height: 1.42;
}

.rb-bpd__action-message i,
.rb-bpd__sidebar-message i {
    flex: 0 0 auto;
    margin-top: 1px;
    color: #d28a00;
}

.rb-bpd__button {
    display: flex;
    width: 100%;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: 11px;
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.rb-bpd__button + .rb-bpd__button {
    margin-top: 10px;
}

.rb-bpd__button--primary {
    border-color: #0f6b40;
    background: linear-gradient(135deg, #198754, #0e7142);
    color: #fff;
    box-shadow: 0 10px 20px rgba(25, 135, 84, 0.22);
}

.rb-bpd__button--rebate {
    border-color: #c49b25;
    background: #fff8dc;
    color: #173f2b;
    box-shadow: 0 7px 16px rgba(82, 63, 10, 0.11);
}

.rb-bpd__button:hover,
.rb-bpd__button:focus-visible {
    transform: translateY(-1px);
}

.rb-bpd__button--primary:hover,
.rb-bpd__button--primary:focus-visible {
    background: var(--rb-bpd-green-dark);
    color: #fff;
    box-shadow: 0 13px 25px rgba(25, 135, 84, 0.27);
}

.rb-bpd__button--rebate:hover,
.rb-bpd__button--rebate:focus-visible {
    background: #ffefad;
    color: #102d1e;
}

.rb-bpd__button:focus-visible {
    outline: 3px solid rgba(25, 135, 84, 0.23);
    outline-offset: 3px;
}

.rb-bpd__secure-note {
    margin: 11px 0 0;
    color: #708178;
    font-size: 0.67rem;
    line-height: 1.42;
    text-align: center;
}

.rb-bpd__secure-note i {
    margin-right: 3px;
    color: var(--rb-bpd-green);
}

.rb-bpd__metrics {
    padding: 0 0 1px;
    border-bottom: 1px solid var(--rb-bpd-border);
    background: #fff;
}

.rb-bpd__metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rb-bpd__metric {
    position: relative;
    display: grid;
    min-height: 118px;
    grid-template-columns: 34px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 10px;
    align-content: center;
    padding: 20px clamp(14px, 2vw, 26px);
}

.rb-bpd__metric + .rb-bpd__metric {
    border-left: 1px solid #e3ece6;
}

.rb-bpd__metric > i {
    display: grid;
    grid-row: 1 / span 2;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--rb-bpd-green-soft);
    color: var(--rb-bpd-green-dark);
    font-size: 1rem;
    place-items: center;
}

.rb-bpd__metric span {
    align-self: end;
    color: var(--rb-bpd-muted);
    font-size: 0.67rem;
    font-weight: 700;
    line-height: 1.25;
}

.rb-bpd__metric strong {
    overflow-wrap: anywhere;
    color: var(--rb-bpd-ink);
    font-size: clamp(0.96rem, 1.7vw, 1.22rem);
    font-weight: 820;
    line-height: 1.25;
}

.rb-bpd__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 318px;
    gap: 28px;
    align-items: start;
    padding-top: 34px;
    padding-bottom: 74px;
}

.rb-bpd__content {
    display: grid;
    min-width: 0;
    gap: 24px;
}

.rb-bpd__section {
    min-width: 0;
    padding: clamp(22px, 3vw, 32px);
    border: 1px solid var(--rb-bpd-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(25, 68, 42, 0.055);
    scroll-margin-top: 95px;
}

.rb-bpd__section-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 23px;
}

.rb-bpd__section-icon {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--rb-bpd-green-soft);
    color: var(--rb-bpd-green-dark);
    font-size: 1.08rem;
    place-items: center;
}

.rb-bpd__eyebrow {
    display: block;
    margin-bottom: 3px;
    color: var(--rb-bpd-green-dark);
    font-size: 0.62rem;
    font-weight: 850;
    letter-spacing: 0.085em;
    line-height: 1.2;
    text-transform: uppercase;
}

.rb-bpd__section-heading h2,
.rb-bpd__rebate h2 {
    margin: 0;
    color: var(--rb-bpd-ink);
    font-size: clamp(1.25rem, 2.6vw, 1.65rem);
    font-weight: 830;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.rb-bpd__rebate {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 17px;
    border-color: #075532;
    background:
        radial-gradient(circle at 95% 10%, rgba(255, 255, 255, 0.1), transparent 29%),
        linear-gradient(135deg, #064b2d, #0c6a3d);
    box-shadow: 0 16px 35px rgba(4, 68, 39, 0.2);
    color: #fff;
}

.rb-bpd__rebate-icon {
    display: grid;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.13);
    color: #ffdf72;
    font-size: 1.35rem;
    place-items: center;
}

.rb-bpd__rebate .rb-bpd__eyebrow {
    color: #c8f6d9;
}

.rb-bpd__rebate h2 {
    color: #fff;
}

.rb-bpd__rebate-copy > p {
    max-width: 720px;
    margin: 9px 0 0;
    color: #e5f5eb;
    font-size: 0.88rem;
    line-height: 1.58;
}

.rb-bpd__rebate-eligibility {
    display: flex;
    align-items: flex-start;
    gap: 7px;
}

.rb-bpd__rebate-eligibility i {
    flex: 0 0 auto;
    margin-top: 2px;
    color: #8ee4ad;
}

.rb-bpd__rebate-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: 15px;
    color: #d5eddf;
    font-size: 0.72rem;
}

.rb-bpd__rebate-meta span,
.rb-bpd__rebate-meta a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.rb-bpd__rebate-meta a {
    color: #fff;
    font-weight: 750;
}

.rb-bpd__opinion {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 22px;
    padding: 17px 18px;
    border-left: 4px solid var(--rb-bpd-green);
    border-radius: 0 12px 12px 0;
    background: var(--rb-bpd-green-pale);
    color: #294737;
    font-size: 0.91rem;
    line-height: 1.65;
}

.rb-bpd__opinion > i {
    margin-top: 1px;
    color: var(--rb-bpd-green);
    font-size: 1.15rem;
}

.rb-bpd__pros-cons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.rb-bpd__points {
    padding: 19px;
    border: 1px solid var(--rb-bpd-border);
    border-radius: 14px;
    background: #fcfefd;
}

.rb-bpd__points h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 13px;
    color: var(--rb-bpd-ink);
    font-size: 0.93rem;
    font-weight: 800;
}

.rb-bpd__points--pros h3 i,
.rb-bpd__points--pros li > i {
    color: var(--rb-bpd-green);
}

.rb-bpd__points--cons h3 i,
.rb-bpd__points--cons li > i {
    color: #b57817;
}

.rb-bpd__points ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rb-bpd__points li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #465c50;
    font-size: 0.8rem;
    line-height: 1.5;
}

.rb-bpd__points li > i {
    flex: 0 0 auto;
    margin-top: 2px;
}

.rb-bpd__messages {
    display: grid;
    gap: 12px;
}

.rb-bpd__message {
    --rb-bpd-message-bg: #f3f8f5;
    --rb-bpd-message-icon: #26744b;
    display: grid;
    grid-template-columns: 37px minmax(0, 1fr);
    gap: 11px;
    align-items: start;
    padding: 14px 16px;
    border-radius: 11px;
    background: var(--rb-bpd-message-bg);
}

.rb-bpd__message > i {
    display: grid;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--rb-bpd-message-icon);
    font-size: 0.9rem;
    place-items: center;
}

.rb-bpd__message h3 {
    margin: 0 0 3px;
    color: #213b2d;
    font-size: 0.84rem;
    font-weight: 720;
    line-height: 1.4;
}

.rb-bpd__message h3 span {
    display: inline;
    margin-left: 5px;
    color: var(--rb-bpd-message-icon);
    font-weight: 750;
}

.rb-bpd__message p {
    margin: 0;
    color: #485e52;
    font-size: 0.8rem;
    font-weight: 450;
    line-height: 1.58;
}

.rb-bpd__message--green {
    --rb-bpd-message-bg: #edf8f1;
    --rb-bpd-message-icon: #147243;
}

.rb-bpd__message--gold {
    --rb-bpd-message-bg: #fff8dd;
    --rb-bpd-message-icon: #9b6a08;
}

.rb-bpd__message--blue {
    --rb-bpd-message-bg: #eef6ff;
    --rb-bpd-message-icon: #2468a9;
}

.rb-bpd__message--purple {
    --rb-bpd-message-bg: #f6f0ff;
    --rb-bpd-message-icon: #7450a8;
}

.rb-bpd__message--sand {
    --rb-bpd-message-bg: #fff3e7;
    --rb-bpd-message-icon: #a25923;
}

.rb-bpd__rate-list {
    display: grid;
    gap: 14px;
}

.rb-bpd__rate-card {
    padding: 19px;
    border: 1px solid #dfe9e2;
    border-radius: 14px;
    background: #fcfefd;
}

.rb-bpd__rate-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 16px;
}

.rb-bpd__rate-top > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rb-bpd__rate-label {
    color: var(--rb-bpd-muted);
    font-size: 0.68rem;
    font-weight: 740;
}

.rb-bpd__rate-top strong {
    color: var(--rb-bpd-green-dark);
    font-size: clamp(1.55rem, 4vw, 2.05rem);
    font-weight: 850;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.rb-bpd__pill {
    border-color: #a9dbba;
    background: #e8f7ed;
    color: #0d6b3e;
}

.rb-bpd__definition-grid,
.rb-bpd__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    margin: 0;
    border: 1px solid #e1eae4;
    border-radius: 11px;
    background: #e1eae4;
}

.rb-bpd__definition-grid > div,
.rb-bpd__facts > div {
    min-width: 0;
    padding: 13px 14px;
    background: #fff;
}

.rb-bpd__definition-grid dt,
.rb-bpd__facts span {
    display: block;
    margin-bottom: 4px;
    color: var(--rb-bpd-muted);
    font-size: 0.63rem;
    font-weight: 700;
    line-height: 1.3;
}

.rb-bpd__definition-grid dd,
.rb-bpd__facts strong {
    display: block;
    margin: 0;
    overflow-wrap: anywhere;
    color: #20382b;
    font-size: 0.79rem;
    font-weight: 760;
    line-height: 1.4;
}

.rb-bpd__rate-notes {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #f3f7f4;
}

.rb-bpd__rate-notes p {
    margin: 0;
    color: #4d6256;
    font-size: 0.76rem;
    line-height: 1.5;
}

.rb-bpd__rate-notes p + p {
    margin-top: 6px;
}

.rb-bpd__subheading {
    margin: 25px 0 12px;
    color: var(--rb-bpd-ink);
    font-size: 0.98rem;
    font-weight: 800;
}

.rb-bpd__table-wrap {
    overflow-x: auto;
    border: 1px solid var(--rb-bpd-border);
    border-radius: 12px;
    background: #fff;
    -webkit-overflow-scrolling: touch;
}

.rb-bpd__table {
    width: 100%;
    min-width: 610px;
    border-collapse: collapse;
    color: #3f5549;
    font-size: 0.76rem;
}

.rb-bpd__table th,
.rb-bpd__table td {
    padding: 13px 15px;
    border-bottom: 1px solid #e4ece7;
    text-align: left;
    vertical-align: top;
}

.rb-bpd__table th {
    background: #f1f7f3;
    color: #52665b;
    font-size: 0.63rem;
    font-weight: 800;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.rb-bpd__table tr:last-child td {
    border-bottom: 0;
}

.rb-bpd__table td strong,
.rb-bpd__table td small {
    display: block;
}

.rb-bpd__table td strong {
    color: var(--rb-bpd-ink);
}

.rb-bpd__table td small {
    margin-top: 4px;
    color: var(--rb-bpd-muted);
    line-height: 1.4;
}

.rb-bpd__feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px;
}

.rb-bpd__feature {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 9px;
    align-items: start;
    padding: 12px 0;
    border-bottom: 1px solid #e6eee9;
}

.rb-bpd__feature > i {
    display: grid;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--rb-bpd-green-soft);
    color: var(--rb-bpd-green-dark);
    font-size: 0.78rem;
    place-items: center;
}

.rb-bpd__feature h3 {
    margin: 1px 0 2px;
    color: var(--rb-bpd-ink);
    font-size: 0.82rem;
    font-weight: 760;
    line-height: 1.35;
}

.rb-bpd__feature p {
    margin: 0;
    color: var(--rb-bpd-muted);
    font-size: 0.73rem;
    line-height: 1.45;
}

.rb-bpd__notice {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 18px 0 0;
    padding: 13px 15px;
    border-radius: 10px;
    background: #f2f7f4;
    color: #455c4f;
    font-size: 0.78rem;
    line-height: 1.52;
}

.rb-bpd__notice > i {
    flex: 0 0 auto;
    color: var(--rb-bpd-green);
}

.rb-bpd__tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 17px;
}

.rb-bpd__tag-row > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--rb-bpd-green-soft);
    color: var(--rb-bpd-green-dark);
    font-size: 0.7rem;
    font-weight: 720;
}

.rb-bpd__detail-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.rb-bpd__detail-columns > div {
    padding: 17px;
    border: 1px solid #e0e9e3;
    border-radius: 12px;
    background: #fcfefd;
}

.rb-bpd__detail-columns h3 {
    margin: 0 0 11px;
    color: var(--rb-bpd-ink);
    font-size: 0.84rem;
    font-weight: 780;
}

.rb-bpd__detail-columns ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rb-bpd__detail-columns li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #506459;
    font-size: 0.75rem;
    line-height: 1.42;
}

.rb-bpd__detail-columns li strong {
    color: var(--rb-bpd-green-dark);
}

.rb-bpd__detail-columns li i {
    color: var(--rb-bpd-green);
}

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

.rb-bpd__rating-grid article {
    display: grid;
    grid-template-columns: 33px minmax(0, 1fr);
    gap: 9px;
    padding: 8px 18px;
}

.rb-bpd__rating-grid article:first-child {
    padding-left: 0;
}

.rb-bpd__rating-grid article + article {
    border-left: 1px solid #dfe9e2;
}

.rb-bpd__rating-grid article > i {
    display: grid;
    width: 30px;
    height: 30px;
    color: #dda316;
    font-size: 1rem;
    place-items: center;
}

.rb-bpd__rating-grid article div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.rb-bpd__rating-grid span,
.rb-bpd__rating-grid small {
    color: var(--rb-bpd-muted);
    font-size: 0.66rem;
}

.rb-bpd__rating-grid strong {
    color: var(--rb-bpd-ink);
    font-size: 1rem;
    font-weight: 780;
}

.rb-bpd__review-note {
    margin: 18px 0 0;
    color: #73837a;
    font-size: 0.69rem;
    line-height: 1.5;
}

.rb-bpd__terms > p {
    margin: 0;
    color: #53675b;
    font-size: 0.79rem;
    line-height: 1.58;
}

.rb-bpd__terms-links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 18px;
    margin-top: 15px;
}

.rb-bpd__terms-links a {
    color: var(--rb-bpd-green-dark);
    font-size: 0.75rem;
    font-weight: 750;
}

.rb-bpd__terms > small {
    display: block;
    margin-top: 15px;
    color: #7b8a82;
    font-size: 0.66rem;
}

.rb-bpd__empty {
    margin: 0;
    padding: 15px;
    border-radius: 10px;
    background: #f2f7f4;
    color: #5f7268;
    font-size: 0.79rem;
}

.rb-bpd__sidebar {
    min-width: 0;
}

.rb-bpd__sticky-card {
    position: sticky;
    top: 92px;
    padding: 22px;
    border: 1px solid var(--rb-bpd-border-strong);
    border-top: 5px solid var(--rb-bpd-green);
    border-radius: 17px;
    background: #fff;
    box-shadow: var(--rb-bpd-shadow);
}

.rb-bpd__sticky-card h2 {
    margin: 0 0 17px;
    color: var(--rb-bpd-ink);
    font-size: 1.07rem;
    font-weight: 820;
    letter-spacing: -0.02em;
    line-height: 1.32;
}

.rb-bpd__sticky-card dl {
    display: grid;
    gap: 0;
    margin: 0 0 17px;
}

.rb-bpd__sticky-card dl > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid #e5ede8;
}

.rb-bpd__sticky-card dt {
    color: var(--rb-bpd-muted);
    font-size: 0.68rem;
    font-weight: 650;
}

.rb-bpd__sticky-card dd {
    margin: 0;
    color: var(--rb-bpd-ink);
    font-size: 0.75rem;
    font-weight: 780;
    text-align: right;
}

.rb-bpd__sidebar-rebate {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 9px;
    margin-bottom: 14px;
    padding: 12px;
    border-radius: 11px;
    background: var(--rb-bpd-green-deep);
    color: #fff;
}

.rb-bpd__sidebar-rebate > i {
    display: grid;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffdc6e;
    place-items: center;
}

.rb-bpd__sidebar-rebate div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.rb-bpd__sidebar-rebate strong {
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1.35;
}

.rb-bpd__sidebar-rebate span {
    color: #d9eee1;
    font-size: 0.64rem;
    line-height: 1.4;
}

.rb-bpd__quick-links {
    display: grid;
    margin-top: 18px;
    padding-top: 10px;
    border-top: 1px solid #e2ebe5;
}

.rb-bpd__quick-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 2px;
    color: #53685c;
    font-size: 0.7rem;
    font-weight: 680;
    text-decoration: none;
}

.rb-bpd__quick-links a:hover,
.rb-bpd__quick-links a:focus-visible {
    color: var(--rb-bpd-green-dark);
}

.rb-bpd__quick-links i {
    font-size: 0.62rem;
}

.rb-bpd__mobile-actions {
    display: none;
}

@media (max-width: 1199.98px) {
    .rb-bpd__hero-grid {
        grid-template-columns: minmax(0, 1fr) 305px;
        gap: 30px;
    }

    .rb-bpd__identity {
        grid-template-columns: 135px minmax(0, 1fr);
    }

    .rb-bpd__logo-shell {
        width: 135px;
        height: 112px;
    }

    .rb-bpd__logo {
        max-width: 105px;
        max-height: 70px;
    }

    .rb-bpd__layout {
        grid-template-columns: minmax(0, 1fr) 290px;
        gap: 22px;
    }

    .rb-bpd__definition-grid,
    .rb-bpd__facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .rb-bpd__hero-grid {
        grid-template-columns: 1fr;
    }

    .rb-bpd__hero-action {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .rb-bpd__hero-action .rb-bpd__action-message,
    .rb-bpd__hero-action .rb-bpd__secure-note {
        grid-column: 1 / -1;
    }

    .rb-bpd__hero-action .rb-bpd__button + .rb-bpd__button {
        margin-top: 0;
    }

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

    .rb-bpd__metric:nth-child(3) {
        border-left: 0;
        border-top: 1px solid #e3ece6;
    }

    .rb-bpd__metric:nth-child(4) {
        border-top: 1px solid #e3ece6;
    }

    .rb-bpd__layout {
        grid-template-columns: 1fr;
    }

    .rb-bpd__sidebar {
        display: none;
    }

    .rb-bpd__mobile-actions {
        position: fixed;
        z-index: 1035;
        right: 0;
        bottom: 0;
        left: 0;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 10px max(12px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
        border-top: 1px solid #bed7c7;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 -10px 30px rgba(13, 62, 36, 0.13);
        backdrop-filter: blur(10px);
    }

    .rb-bpd__mobile-actions .rb-bpd__button {
        min-height: 48px;
        padding: 9px 11px;
        font-size: 0.77rem;
    }

    .rb-bpd__mobile-actions .rb-bpd__button + .rb-bpd__button {
        margin-top: 0;
    }
}

@media (max-width: 767.98px) {
    .rb-bpd__hero {
        padding: 20px 0 30px;
    }

    .rb-bpd__breadcrumbs {
        margin-bottom: 15px;
    }

    .rb-bpd__identity {
        grid-template-columns: 1fr;
        gap: 18px;
        justify-items: start;
    }

    .rb-bpd__logo-shell {
        width: 130px;
        height: 94px;
        padding: 13px;
    }

    .rb-bpd__logo {
        max-width: 104px;
        max-height: 64px;
    }

    .rb-bpd__identity-copy h1 {
        font-size: clamp(1.75rem, 8vw, 2.4rem);
    }

    .rb-bpd__hero-action {
        grid-template-columns: 1fr;
        padding: 17px;
    }

    .rb-bpd__hero-action .rb-bpd__action-message,
    .rb-bpd__hero-action .rb-bpd__secure-note {
        grid-column: auto;
    }

    .rb-bpd__section {
        padding: 21px 17px;
        border-radius: 15px;
    }

    .rb-bpd__rebate {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 12px;
    }

    .rb-bpd__rebate-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        font-size: 1.08rem;
    }

    .rb-bpd__pros-cons,
    .rb-bpd__detail-columns,
    .rb-bpd__feature-grid {
        grid-template-columns: 1fr;
    }

    .rb-bpd__rating-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .rb-bpd__rating-grid article,
    .rb-bpd__rating-grid article:first-child {
        padding: 3px 0;
    }

    .rb-bpd__rating-grid article + article {
        border-left: 0;
    }
}

@media (max-width: 575.98px) {
    .rb-bpd__metric {
        min-height: 105px;
        grid-template-columns: 30px minmax(0, 1fr);
        column-gap: 8px;
        padding: 16px 11px;
    }

    .rb-bpd__metric > i {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
    }

    .rb-bpd__metric span {
        font-size: 0.59rem;
    }

    .rb-bpd__metric strong {
        font-size: 0.86rem;
    }

    .rb-bpd__layout {
        padding-top: 20px;
        padding-bottom: 84px;
    }

    .rb-bpd__section-heading {
        align-items: flex-start;
    }

    .rb-bpd__section-icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }

    .rb-bpd__definition-grid,
    .rb-bpd__facts {
        grid-template-columns: 1fr;
    }

    .rb-bpd__mobile-actions {
        grid-template-columns: 1fr 1.22fr;
        gap: 6px;
        padding-top: 8px;
    }

    .rb-bpd__mobile-actions .rb-bpd__button {
        font-size: 0.69rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rb-bpd__button {
        transition: none;
    }

    .rb-bpd__button:hover,
    .rb-bpd__button:focus-visible {
        transform: none;
    }
}

