/* Real customer-app fragments. All colour and type comes from existing site tokens. */
.bpp-product .bpp-app-reward {
    width: 100%; min-height: 250px; padding: 18px 8px;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    position: relative; gap: 0; font-family: var(--font-body, inherit);
}
.bpp-product :is(.bpp-app-stamp-panel, .bpp-app-membership, .bpp-app-cashback-fragment, .bpp-app-benefit) {
    box-sizing: border-box; min-width: 0;
    box-shadow: 0 3px 4px color-mix(in srgb, var(--title-dark) 3%, transparent),
                0 12px 28px color-mix(in srgb, var(--title-dark) 7%, transparent);
}
.bpp-product .bpp-app-reward > .bpp-app-stamp-panel { width: 100%; max-width: 340px; transform: rotate(-3deg); }
.bpp-product .bpp-app-stamp-panel {
    width: 100%; background: var(--bg-light-4); color: var(--primary);
    border: 1px solid var(--border); border-radius: 22px; padding: clamp(12px, 4.5cqi, 19px);
}
.bpp-product .bpp-app-stamp-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.bpp-product .bpp-app-stamp-heading > strong { font-size: 13px; line-height: 1.3; text-transform: uppercase; }
.bpp-product .bpp-app-stamp-heading > span { color: var(--text-dark); font-size: 13px; white-space: nowrap; }
.bpp-product .bpp-app-stamp-row { display: flex; align-items: stretch; gap: clamp(7px, 3cqi, 12px); }
.bpp-product .bpp-app-stamp-grid { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-content: center; gap: clamp(4px, 1.6cqi, 7px); }
.bpp-product .bpp-app-stamp-grid > span { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; background: var(--title-light); color: var(--primary); }
.bpp-product .bpp-app-stamp-grid > .is-filled { background: var(--accent); }
.bpp-product .bpp-app-stamp-grid .bpp-icon { width: 58%; height: 58%; max-width: 25px; max-height: 25px; stroke-width: 1.7; }
.bpp-product .bpp-app-reward-capsule {
    width: 25%; flex: none; padding: 10px 5px; border-radius: 25px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px;
    background: var(--primary); color: var(--title-light); text-align: center;
}
.bpp-product .bpp-app-reward-capsule > .bpp-icon { width: 24px; height: 24px; }
.bpp-product .bpp-app-reward-capsule > strong { font-size: clamp(10px, 3.6cqi, 12px); line-height: 1.2; }
.bpp-product .bpp-app-stamp-panel .bpp-app-stamp-note { margin: 13px 0 0; color: var(--text-dark); font-size: 11px; line-height: 1.4; }
/* The native membership header and balance tiles are also reused in the branding preview. */
.bpp-product .bpp-app-membership { width: 100%; max-width: 340px; padding: clamp(14px, 5cqi, 20px); background: var(--primary); border-radius: 24px; transform: rotate(3deg); }
.bpp-product .bpp-app-member { display: flex; align-items: center; min-width: 0; gap: 10px; color: var(--title-light); }
.bpp-product .bpp-app-avatar { width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--accent); color: var(--primary); display: grid; place-items: center; overflow: hidden; }
.bpp-product .bpp-app-avatar > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bpp-product .bpp-app-avatar > .bpp-icon { width: 25px; height: 25px; }
.bpp-product .bpp-app-member-copy { min-width: 0; flex: 1; }
.bpp-product .bpp-app-member-copy > small { display: block; font-size: 10px; line-height: 1.35; color: var(--accent); text-transform: uppercase; font-weight: 600; }
.bpp-product .bpp-app-member-copy > strong { display: block; margin-top: 3px; font-size: 15px; line-height: 1.25; color: var(--title-light); text-transform: uppercase; }
.bpp-product .bpp-app-member > .bpp-icon { width: 20px; height: 20px; margin-inline-start: auto; }
.bpp-product .bpp-app-balances { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(5px, 2.4cqi, 9px); margin-top: 19px; }
.bpp-product .bpp-app-balances > div { min-width: 0; min-height: 76px; padding: 10px 4px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 7px; border-radius: 17px; background: var(--bg-light-4); }
.bpp-product .bpp-app-balances strong { color: var(--primary); font-size: clamp(21px, 8cqi, 28px); line-height: 1.05; }
.bpp-product .bpp-app-balances span { color: var(--text-dark); text-transform: uppercase; text-align: center; font-size: 10px; line-height: 1.2; font-weight: 500; }
.bpp-product .bpp-app-annotation { max-width: 88%; padding: 9px 13px; border-radius: 99px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; background: var(--accent); color: var(--title-dark); font-size: 12px; line-height: 1.3; transform: rotate(-3deg); margin-top: -4px; align-self: flex-end; position: relative; z-index: 1; box-shadow: 0 4px 12px color-mix(in srgb, var(--title-dark) 5%, transparent); }
.bpp-product .bpp-app-annotation .bpp-icon { width: 16px; height: 16px; color: var(--primary); }
.bpp-product .bpp-app-reward--visits .bpp-app-membership { transform: rotate(-3deg); }
.bpp-product .bpp-app-reward--visits .bpp-app-annotation { transform: rotate(2deg); }
/* Cashback retains the real app's compact balance row and outlined membership tier. */
.bpp-product .bpp-app-cashback-fragment { width: 100%; max-width: 340px; background: var(--primary); padding: clamp(15px, 5.5cqi, 22px) clamp(10px, 3.5cqi, 15px); border-radius: 25px; transform: rotate(-3deg); }
.bpp-product .bpp-app-cashback { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; background: var(--bg-light-4); color: var(--primary); border: 1px solid var(--border); border-radius: 20px; padding: 15px 11px; }
.bpp-product .bpp-app-cashback-copy { min-width: 0; flex: 1; }
.bpp-product .bpp-app-cashback-copy > small { display: block; color: var(--text-dark); font-size: 10px; line-height: 1.3; margin-bottom: 9px; font-weight: 500; }
.bpp-product .bpp-app-cashback-copy > strong { display: flex; align-items: center; gap: 6px; color: var(--title-dark); }
.bpp-product .bpp-app-cashback-copy > strong > span { min-width: 0; font-size: clamp(17px, 6.8cqi, 23px); line-height: 1.15; letter-spacing: -.02em; }
.bpp-product .bpp-app-cashback-copy > strong > .bpp-icon { width: 19px; height: 19px; color: var(--primary); }
.bpp-product .bpp-app-cashback-copy > strong > .bpp-icon:last-child { width: 14px; height: 14px; }
.bpp-product .bpp-app-tier { max-width: 35%; border: 1px solid var(--primary); border-radius: 99px; padding: 6px 8px; color: var(--primary); text-align: center; font-size: 10px; line-height: 1.2; }
.bpp-product .bpp-app-reward--cashback .bpp-app-annotation { transform: rotate(3deg); margin-top: 9px; }
/* A completed card leads to the same perforated benefit ticket seen in the app. */
.bpp-product .bpp-app-reward--progress { min-height: 280px; }
.bpp-product .bpp-app-completed { width: 100%; max-width: 340px; }
.bpp-product .bpp-app-completed > .bpp-app-stamp-panel { transform: rotate(-2deg); }
.bpp-product .bpp-app-completed > .bpp-app-benefit { position: relative; transform: rotate(2deg); margin-top: 11px; }
.bpp-product .bpp-app-benefit { width: 100%; display: flex; align-items: stretch; padding: 12px 13px 12px 8px; border: 1px solid var(--primary); background: var(--bg-light-4); border-radius: 21px; color: var(--title-dark); position: relative; }
.bpp-product .bpp-app-benefit-art { flex: 0 0 25%; display: grid; place-items: center; border-right: 2px dotted var(--border); padding-inline-end: 8px; color: var(--primary); }
.bpp-product .bpp-app-benefit-art > span { width: min(100%, 48px); aspect-ratio: 1; border-radius: 50%; background: var(--accent); display: grid; place-items: center; transform: rotate(-8deg); }
.bpp-product .bpp-app-benefit-art .bpp-icon { width: 71%; height: 71%; stroke-width: 1.8; }
.bpp-product .bpp-app-benefit-copy { flex: 1; min-width: 0; padding-inline-start: 12px; }
.bpp-product .bpp-app-benefit-copy > small { color: var(--primary); font-size: 10px; line-height: 1.3; text-transform: uppercase; }
.bpp-product .bpp-app-benefit-copy > strong { display: block; color: var(--title-dark); margin-top: 5px; font-size: 15px; line-height: 1.2; }
.bpp-product .bpp-app-benefit-copy > p { margin: 6px 0 0; color: var(--text-dark); font-size: 11px; line-height: 1.35; }
@container (max-width: 260px) {
    .bpp-product .bpp-app-reward { padding-inline: 6px; }
    .bpp-product .bpp-app-member { gap: 7px; }
    .bpp-product .bpp-app-avatar { width: 31px; height: 31px; }
    .bpp-product .bpp-app-avatar > .bpp-icon { width: 21px; height: 21px; }
    .bpp-product .bpp-app-member-copy > strong { font-size: 13px; }
    .bpp-product .bpp-app-member-copy > small { font-size: 9px; }
    .bpp-product .bpp-app-balances > div { min-height: 69px; border-radius: 14px; }
    .bpp-product .bpp-app-balances span { font-size: 9px; }
    .bpp-product .bpp-app-cashback { padding: 12px 9px; gap: 5px; }
    .bpp-product .bpp-app-cashback-copy > strong { gap: 4px; }
    .bpp-product .bpp-app-cashback-copy > strong > .bpp-icon { width: 16px; height: 16px; }
    .bpp-product .bpp-app-tier { font-size: 9px; padding: 5px 6px; }
    .bpp-product .bpp-app-cashback-copy > small { font-size: 9px; }
    .bpp-product .bpp-app-benefit-copy { padding-inline-start: 9px; }
    .bpp-product .bpp-app-benefit-copy > strong { font-size: 14px; }
}
