:root {
    --rj-navy: #111d3b;
    --rj-purple: #2f2f80;
    --rj-purple-dark: #242466;
    --rj-mint: #74d8d0;
    --rj-mint-soft: #ebf8f5;
    --rj-bg: #f4f5fa;
    --rj-border: #dce1ed;
    --rj-muted: #6f7890;
    --rj-font: 'Instrument Sans', Arial, sans-serif;
    --rj-display: 'Oswald', 'Arial Narrow', sans-serif;
}

.rj-page { min-height: 100vh; background: radial-gradient(circle at 86% 3%, rgba(47,47,128,.12), transparent 28%), var(--rj-bg); color: var(--rj-navy); font-family: var(--rj-font); }
.rj-page * { box-sizing: border-box; }
.rj-page button, .rj-page input, .rj-page select { font: inherit; }
.rj-topbar { min-height: 82px; display: grid; grid-template-columns: 160px 1fr 160px; align-items: center; gap: 20px; padding: 14px clamp(22px, 4vw, 72px); background: rgba(255,255,255,.94); border-bottom: 1px solid var(--rj-border); }
.rj-brand-link { display: flex; align-items: center; justify-self: start; min-width: 0; }
.rj-topbar .rj-brand-link img { display: block; width: auto; height: auto; max-width: 132px; max-height: 44px; object-fit: contain; }
.rj-exit { justify-self: end; padding: 10px 22px; border: 1px solid #cdd3e1; border-radius: 12px; color: var(--rj-purple); text-decoration: none; font-weight: 700; }
.rj-exit-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.rj-language-switch { color: var(--rj-link, var(--rj-purple)); font-size: 12px; text-underline-offset: 3px; }
.rj-progress { display: flex; align-items: center; justify-content: center; gap: 18px; }
.rj-progress > i { width: min(6vw, 72px); height: 1px; background: #cfd5e2; }
.rj-progress span { display: flex; align-items: center; gap: 8px; color: #8c94a8; font-size: 13px; font-weight: 700; white-space: nowrap; }
.rj-progress b { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid #bec6d7; border-radius: 50%; font-size: 12px; }
.rj-progress .active { color: var(--rj-navy); }
.rj-progress .active b { background: var(--rj-purple); border-color: var(--rj-purple); color: white; box-shadow: 0 7px 18px rgba(47,47,128,.25); }
.rj-progress .complete { color: #348f89; }
.rj-progress .complete b { background: var(--rj-mint-soft); border-color: var(--rj-mint); color: #167f78; }

.rj-shell { width: min(1600px, calc(100% - 48px)); margin: 0 auto; padding: 56px 0 72px; }
.rj-intro { margin-bottom: 32px; }
.rj-intro.centered { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.rj-eyebrow { color: #218c86; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.rj-eyebrow i { margin-right: 8px; font-size: 16px; }
.rj-intro h1 { margin: 10px 0 8px; max-width: 900px; color: var(--rj-navy); font-family: var(--rj-display); font-size: clamp(36px, 4vw, 62px); font-weight: 700; line-height: 1.04; }
.rj-intro h1.compact-title { font-size: clamp(30px, 2.6vw, 38px); }
.rj-intro.centered h1 { max-width: none; }
.rj-intro p { margin: 0; color: var(--rj-muted); font-size: 17px; }

.rj-catalog-layout { display: grid; grid-template-columns: minmax(280px, 355px) minmax(0, 1fr); gap: 24px; align-items: start; }
.rj-catalog-layout > *, .rj-auth-layout > *, .rj-confirm-content > * { min-width: 0; }
.rj-filter-card, .rj-results-card, .rj-selection-summary, .rj-auth-card, .rj-confirm-card { background: white; border: 1px solid var(--rj-border); border-radius: 24px; box-shadow: 0 18px 55px rgba(28,36,68,.07); }
.rj-filter-card { padding: 26px; position: sticky; top: 20px; }
.rj-section-heading, .rj-auth-copy { display: flex; align-items: center; gap: 13px; margin-bottom: 22px; }
.rj-heading-icon { flex: 0 0 48px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: #efefff; color: var(--rj-purple); font-size: 20px; }
.rj-section-heading h2, .rj-auth-copy h2 { margin: 0; font-size: 21px; }
.rj-section-heading p, .rj-auth-copy p { margin: 3px 0 0; color: var(--rj-muted); font-size: 13px; }
.rj-filter-card label, .rj-auth-card > label, .rj-two-columns label { display: block; margin: 15px 0 7px; font-size: 13px; font-weight: 800; }
.rj-select { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 15px; border: 1px solid #cfd6e5; border-radius: 13px; background: #fff; font-size: 14px; }
.rj-select.native { position: relative; padding: 0; overflow: hidden; }
.rj-select.native select { width: 100%; min-height: inherit; padding: 0 42px 0 15px; border: 0; outline: 0; appearance: none; background: transparent; color: var(--rj-navy); cursor: pointer; }
.rj-select.native select:disabled { cursor: not-allowed; color: #9aa2b1; }
.rj-select.native > i { position: absolute; right: 15px; pointer-events: none; color: var(--rj-purple); }
.rj-select.muted { color: #a0a7b7; background: #f7f8fb; }
.rj-select.small { min-height: 44px; }
.rj-filter-card details { margin-top: 21px; }
.rj-filter-card summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; list-style: none; }
.rj-extra-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; padding-top: 4px; }
.rj-clear-filters { width: 100%; min-height: 44px; margin-top: 18px; border: 1px solid #d5d8e5; border-radius: 12px; background: #f7f7fc; color: var(--rj-purple); font-weight: 800; }

.rj-results-card { padding: 28px; }
.rj-results-header { display: flex; justify-content: space-between; gap: 30px; padding-bottom: 22px; border-bottom: 1px solid #e6e9f0; }
.rj-results-header span, .rj-summary-label { color: #218c86; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.rj-results-header h2 { margin: 5px 0 0; font-family: var(--rj-display); font-size: 31px; }
.rj-results-header p { max-width: 450px; margin: 5px 0 0; color: var(--rj-muted); line-height: 1.6; }
.rj-bike-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 24px 0; }
.rj-bike-card { position: relative; min-width: 0; overflow: hidden; padding: 0; border: 1px solid #d7dedf; border-radius: 20px; background: #fbfdfb; color: var(--rj-navy); text-align: left; cursor: pointer; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.rj-bike-card:hover { transform: translateY(-3px); border-color: #91c9c4; box-shadow: 0 12px 28px rgba(26,88,83,.12); }
.rj-bike-card.selected { border: 2px solid var(--rj-purple); box-shadow: 0 0 0 4px rgba(47,47,128,.09), 0 18px 34px rgba(47,47,128,.15); }
.rj-selected-check { position: absolute; z-index: 2; top: 14px; right: 14px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--rj-mint); color: var(--rj-navy); font-size: 20px; }
.rj-bike-type { position: absolute; z-index: 1; top: 16px; left: 14px; max-width: calc(100% - 65px); padding: 8px 12px; border-radius: 999px; background: #102b4a; color: #7ef0e7; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rj-bike-image { height: 225px; display: grid; place-items: center; padding: 44px 14px 8px; background: linear-gradient(rgba(228,240,236,.86),rgba(248,250,247,.75)); }
.rj-bike-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.rj-bike-placeholder { width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: 8px; color: #7d8795; text-align: center; }
.rj-bike-placeholder[hidden] { display: none; }
.rj-bike-placeholder i { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.8); color: var(--rj-purple); font-size: 23px; box-shadow: 0 7px 20px rgba(47,47,128,.08); }
.rj-bike-placeholder small { font-size: 10px; font-weight: 600; letter-spacing: .04em; }
.rj-bike-copy { display: block; padding: 18px; background: white; }
.rj-bike-copy > small { color: #218c86; font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.rj-bike-copy > strong { display: block; min-height: 47px; margin: 7px 0 13px; font-family: var(--rj-display); font-size: 20px; line-height: 1.18; }
.rj-bike-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 13px; border-top: 1px solid #e5e9e6; font-size: 12px; font-weight: 700; }
.rj-bike-meta span { display: grid; }
.rj-bike-meta small { color: #8690a0; font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.rj-manual-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 22px; border: 1px solid #d8e9e5; border-radius: 19px; background: var(--rj-mint-soft); }
.rj-manual-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 15px; background: #419d97; color: white; font-size: 22px; }
.rj-manual-card small { display: block; color: #218c86; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.rj-manual-card strong { display: block; margin-top: 4px; font-family: var(--rj-display); font-size: 23px; }
.rj-manual-card p { margin: 3px 0 0; color: var(--rj-muted); font-size: 13px; }
.rj-manual-card button, .rj-next-panel button, .rj-primary-action, .rj-confirm-actions button { min-height: 50px; padding: 0 22px; border: 0; border-radius: 14px; font-weight: 800; cursor: pointer; }
.rj-manual-card button { background: var(--rj-navy); color: white; }
.rj-results-state { min-height: 330px; display: grid; place-items: center; align-content: center; gap: 9px; text-align: center; color: var(--rj-muted); }
.rj-results-state > i { color: var(--rj-purple); font-size: 38px; }
.rj-results-state strong { color: var(--rj-navy); font-family: var(--rj-display); font-size: 24px; }
.rj-results-state p { margin: 0; }
.rj-results-state button, .rj-load-more button { min-height: 46px; padding: 0 24px; border: 0; border-radius: 12px; background: var(--rj-purple); color: white; font-weight: 800; }
.rj-load-more { display: flex; justify-content: center; margin: 0 0 24px; }
.rj-load-more button:disabled { opacity: .6; }

.rj-next-panel { display: flex; justify-content: space-between; align-items: center; gap: 28px; margin-top: 24px; padding: 26px 30px; border-radius: 22px; background: var(--rj-navy); color: white; }
.rj-next-panel > div { display: flex; align-items: center; gap: 15px; }
.rj-next-icon { width: 55px; height: 55px; display: grid; place-items: center; border-radius: 16px; background: var(--rj-mint); color: var(--rj-navy); font-size: 25px; }
.rj-next-panel small, .rj-next-panel strong { display: block; }
.rj-next-panel small { color: #7fe2da; font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.rj-next-panel strong { margin-top: 5px; font-family: var(--rj-display); font-size: 22px; }
.rj-next-panel button { background: white; color: var(--rj-navy); }
.rj-next-panel button:disabled { opacity: .45; cursor: not-allowed; }

.rj-account-shell { max-width: 1180px; }
.rj-auth-layout { display: grid; grid-template-columns: minmax(280px, .85fr) minmax(400px, 1.15fr); gap: 24px; align-items: stretch; }
.rj-selection-summary { overflow: hidden; padding: 26px; }
.rj-summary-image { height: 260px; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; margin: 18px -26px 22px; padding: 24px; background: linear-gradient(135deg,#e8f3ef,#f8f8f4); }
.rj-summary-image img { width: 100%; height: 100%; min-height: 0; min-width: 0; object-fit: contain; mix-blend-mode: multiply; }
.rj-summary-placeholder { width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: 10px; border: 1px dashed #cbd1df; border-radius: 12px; background: rgba(255,255,255,.55); color: #737d91; text-align: center; }
.rj-summary-placeholder[hidden] { display: none; }
.rj-summary-placeholder i { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: white; color: var(--rj-purple); font-size: 27px; box-shadow: 0 8px 22px rgba(47,47,128,.1); }
.rj-summary-placeholder span { font-size: 13px; font-weight: 700; }
.rj-selection-summary h2 { margin: 0; font-family: var(--rj-display); font-size: 28px; }
.rj-summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin: 22px 0; }
.rj-summary-grid span { display: grid; gap: 3px; padding: 12px; border-radius: 12px; background: #f6f7fa; font-weight: 800; }
.rj-summary-grid small { color: var(--rj-muted); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.rj-selection-summary > a { color: var(--rj-purple); text-decoration: none; font-weight: 800; font-size: 13px; }
.rj-catalog-reference { display: flex; align-items: center; gap: 8px; margin: -8px 0 17px; padding: 10px 12px; border-radius: 10px; background: #f0f0f8; color: var(--rj-purple); font-size: 12px; font-weight: 700; }
.rj-auth-card { padding: 0 36px 30px; overflow: hidden; }
.rj-auth-tabs { display: grid; grid-template-columns: 1fr 1fr; margin: 0 -36px 28px; border-bottom: 1px solid var(--rj-border); }
.rj-auth-tabs button { min-height: 64px; border: 0; border-bottom: 3px solid transparent; background: white; color: var(--rj-muted); font-weight: 800; }
.rj-auth-tabs button.active { border-bottom-color: var(--rj-purple); color: var(--rj-purple); }
.rj-input { min-height: 52px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid #cfd6e5; border-radius: 13px; background: #f8f9fc; color: #7c8496; }
.rj-input input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--rj-navy); }
.rj-auth-options { display: flex; justify-content: space-between; gap: 20px; margin: 15px 0; font-size: 12px; }
.rj-auth-options label, .rj-consent { display: flex !important; align-items: center; gap: 8px; color: var(--rj-muted); font-weight: 500 !important; }
.rj-auth-options a { color: var(--rj-purple); text-decoration: none; }
.rj-primary-action { width: 100%; margin-top: 10px; background: var(--rj-purple); color: white; }
.rj-two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rj-secure-note { display: flex; align-items: center; gap: 11px; margin-top: 20px; padding: 14px; border-radius: 13px; background: var(--rj-mint-soft); color: #4b5b68; font-size: 11px; }
.rj-secure-note i { color: #218c86; font-size: 20px; }
.rj-secure-note span { display: grid; }

.rj-confirm-shell { max-width: 1240px; }
.rj-confirm-card { overflow: hidden; }
.rj-confirm-header { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding: 32px 38px; border-bottom: 1px solid var(--rj-border); background: linear-gradient(100deg,#fff 55%,#f3f1ff); }
.rj-confirm-header > div:first-child { display: flex; align-items: center; gap: 16px; }
.rj-success-icon { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; background: var(--rj-purple); color: white; font-size: 27px; }
.rj-confirm-header small, .rj-report-number small, .rj-detail-grid small, .rj-location-row small { display: block; color: #737d91; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.rj-confirm-header h1 { margin: 4px 0 0; font-family: var(--rj-display); font-size: 37px; }
.rj-report-number { padding: 15px 20px; border-radius: 15px; background: #e8e8f4; }
.rj-report-number strong { display: block; margin-top: 5px; color: var(--rj-purple-dark); font-size: 20px; }
.rj-confirm-content { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; padding: 34px 38px; }
.rj-confirm-details h2 { margin: 0 0 20px; font-family: var(--rj-display); font-size: 29px; }
.rj-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.rj-detail-grid > span { min-height: 83px; display: grid; align-content: center; gap: 5px; padding: 15px; border: 1px solid #e2e5ed; border-radius: 14px; background: #fafafe; }
.rj-status { color: #218c86; }
.rj-location-row { display: flex; align-items: center; gap: 13px; margin-top: 13px; padding: 16px; border-radius: 14px; background: #f2f7f4; }
.rj-location-row > i { color: #218c86; font-size: 21px; }
.rj-location-row strong { display: block; margin-top: 3px; }
.rj-main-photo { height: 280px; padding: 22px; border-radius: 18px; background: #edf4f0; }
.rj-main-photo img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.rj-photo-placeholder { height: 120px; display: grid; place-items: center; align-content: center; gap: 4px; border: 1px dashed #cbd1df; border-radius: 14px; background: #f8f9fc; color: #8a92a4; font-size: 12px; }
.rj-photo-placeholder[hidden] { display: none; }
.rj-photo-placeholder i { color: var(--rj-purple); font-size: 23px; }
.rj-main-photo .rj-photo-placeholder { height: 100%; }
.rj-protection { display: flex; gap: 10px; margin-top: 14px; padding: 14px; border-radius: 13px; background: var(--rj-mint-soft); color: #4c5e65; font-size: 11px; }
.rj-protection i { color: #218c86; font-size: 20px; }
.rj-protection span { display: grid; }
.rj-confirm-actions { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 38px; border-top: 1px solid var(--rj-border); background: #fafbfe; }
.rj-confirm-actions > div:first-child { display: grid; }
.rj-confirm-actions > div:first-child span { margin-top: 3px; color: var(--rj-muted); font-size: 12px; }
.rj-confirm-actions > div:last-child { display: flex; gap: 12px; }
.rj-confirm-actions button.secondary { border: 1px solid var(--rj-purple); background: white; color: var(--rj-purple); }
.rj-confirm-actions button.primary { background: var(--rj-purple); color: white; }
.rj-preview-notice { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; padding: 13px 17px; border: 1px solid #d9d9eb; border-radius: 13px; background: #f1f1f8; color: #555c70; font-size: 12px; }
.rj-preview-notice i { color: var(--rj-purple); font-size: 19px; }
.rj-preview-notice span { display: grid; }

/* Catalogue preview follows the existing ProfessionalSignUp visual language. */
.rj-page.rj-catalog-page { background-color: #ececf5; background-image: url('../images/Product-banner.png'); background-position: center top; background-size: 100% auto; background-repeat: no-repeat; font-family: 'Oswald', sans-serif; }
.rj-catalog-page button, .rj-catalog-page input, .rj-catalog-page select, .rj-catalog-page label, .rj-catalog-page p { font-family: 'Oswald', sans-serif; }
.rj-catalog-page .rj-eyebrow, .rj-catalog-page .rj-results-header span, .rj-catalog-page .rj-summary-label, .rj-catalog-page .rj-bike-copy > small, .rj-catalog-page .rj-manual-card small { color: var(--rj-purple); }
.rj-catalog-page .rj-heading-icon { background: #ececf5; color: var(--rj-purple); }
.rj-catalog-page .rj-filter-card, .rj-catalog-page .rj-results-card { border-radius: 12px; }
.rj-catalog-page .rj-select { border-radius: 6px; background: #ececf5; }
.rj-catalog-page .rj-bike-card { border-radius: 12px; }
.rj-catalog-page .rj-bike-card:hover { border-color: var(--rj-purple); box-shadow: 0 12px 28px rgba(47,47,128,.12); }
.rj-catalog-page .rj-bike-type { background: var(--rj-purple); color: white; }
.rj-catalog-page .rj-selected-check { background: var(--rj-purple); color: white; }
.rj-catalog-page .rj-manual-card { border-color: #d9d9ea; border-radius: 12px; background: #ececf5; }
.rj-catalog-page .rj-manual-icon { border-radius: 8px 0 8px 0; background: var(--rj-purple); }
.rj-catalog-page .rj-manual-card button, .rj-catalog-page .rj-load-more button, .rj-catalog-page .rj-clear-filters, .rj-catalog-page .rj-next-panel button { border-radius: 8px 0 8px 0; }
.rj-catalog-page .rj-next-panel { border-radius: 12px; background: var(--rj-purple); }
.rj-catalog-page .rj-next-icon { border-radius: 8px 0 8px 0; background: white; color: var(--rj-purple); }
.rj-catalog-page .rj-next-panel small { color: #d9d9f4; }
.rj-catalog-page .rj-exit {
    padding: 6px 18px;
    border-color: var(--rj-purple);
    border-radius: 8px 0 8px 0;
    background: transparent;
    color: var(--rj-purple);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
    transition: color .2s ease, background-color .2s ease;
}
.rj-catalog-page .rj-exit:hover {
    background: var(--rj-purple);
    color: white;
}

/* Compact catalogue typography, aligned with the existing CicoPass website. */
.rj-catalog-page .rj-topbar { min-height: 68px; padding-top: 10px; padding-bottom: 10px; }
.rj-catalog-page .rj-progress { gap: 14px; }
.rj-catalog-page .rj-progress span { gap: 6px; font-size: 12px; font-weight: 500; }
.rj-catalog-page .rj-progress b { width: 27px; height: 27px; font-size: 11px; }
.rj-catalog-page .rj-shell { padding-top: 38px; }
.rj-catalog-page .rj-intro { margin-bottom: 32px; text-align: center; }
.rj-catalog-page .rj-eyebrow { font-size: 10px; font-weight: 600; }
.rj-catalog-page .rj-eyebrow i { font-size: 13px; }
.rj-catalog-page .rj-intro h1.compact-title { margin: 10px auto 8px; max-width: 1100px; font-family: 'Oswald', sans-serif; font-size: clamp(30px, 3vw, 40px); font-weight: 700; text-transform: uppercase; line-height: 1.2; }
.rj-catalog-page .rj-filter-card { padding: 20px; }
.rj-catalog-page .rj-section-heading { gap: 10px; margin-bottom: 17px; }
.rj-catalog-page .rj-heading-icon { width: 40px; height: 40px; flex-basis: 40px; border-radius: 10px; font-size: 17px; }
.rj-catalog-page .rj-section-heading h2 { font-size: 18px; font-weight: 600; }
.rj-catalog-page .rj-section-heading p { font-size: 12px; }
.rj-catalog-page .rj-filter-card label { margin-top: 12px; font-size: 12px; font-weight: 500; }
.rj-catalog-page .rj-select { min-height: 44px; font-size: 13px; }
.rj-catalog-page .rj-select.is-filtered { background: #f0edf9; border-color: var(--rj-purple); box-shadow: inset 3px 0 0 var(--rj-purple); }
.rj-catalog-page .rj-select.is-filtered select { color: var(--rj-purple); font-weight: 600; }
.rj-catalog-page .rj-select:focus-within { outline: 2px solid var(--rj-purple); outline-offset: 3px; }
.rj-catalog-page .rj-select select option { background: white; color: var(--rj-navy); }
.rj-catalog-page .rj-select select option:checked { background: var(--rj-purple); color: white; }
.rj-catalog-page .rj-filter-card details { margin-top: 17px; }
.rj-catalog-page .rj-filter-card summary { font-size: 11px; font-weight: 600; }
.rj-catalog-page .rj-clear-filters { min-height: 39px; margin-top: 15px; font-size: 12px; font-weight: 500; }
.rj-catalog-page .rj-results-card { padding: 22px; }
.rj-catalog-page .rj-results-header { gap: 22px; padding-bottom: 17px; }
.rj-catalog-page .rj-results-header span { font-size: 9px; font-weight: 600; }
.rj-catalog-page .rj-results-header h2 { font-size: 25px; font-weight: 600; }
.rj-catalog-page .rj-results-header p { font-size: 12px; line-height: 1.5; }
.rj-catalog-page .rj-bike-grid { gap: 13px; padding: 18px 0; }
.rj-catalog-page .rj-bike-image { height: 190px; }
.rj-catalog-page .rj-bike-copy { padding: 14px; }
.rj-catalog-page .rj-bike-copy > small { font-size: 8px; font-weight: 600; }
.rj-catalog-page .rj-bike-copy > strong { min-height: 38px; margin: 5px 0 10px; font-size: 17px; font-weight: 600; }
.rj-catalog-page .rj-bike-meta { gap: 8px; padding-top: 10px; font-size: 11px; font-weight: 500; }
.rj-catalog-page .rj-bike-meta small { font-size: 7px; }
.rj-catalog-page .rj-bike-type { top: 12px; left: 11px; padding: 6px 10px; font-family: 'Instrument Sans', sans-serif; font-size: 8px; font-weight: 600; }
.rj-catalog-page .rj-selected-check { top: 10px; right: 10px; width: 31px; height: 31px; font-size: 16px; }
.rj-catalog-page .rj-manual-card { gap: 14px; padding: 17px; }
.rj-catalog-page .rj-manual-icon { width: 42px; height: 42px; font-size: 18px; }
.rj-catalog-page .rj-manual-card small { font-size: 9px; font-weight: 600; }
.rj-catalog-page .rj-manual-card strong { font-size: 19px; font-weight: 600; }
.rj-catalog-page .rj-manual-card p { font-size: 12px; }
.rj-catalog-page .rj-manual-card button,
.rj-catalog-page .rj-load-more button,
.rj-catalog-page .rj-next-panel button { min-height: 40px; padding: 0 18px; font-size: 12px; font-weight: 500; }
.rj-catalog-page .rj-next-panel { gap: 20px; padding: 18px 22px; }
.rj-catalog-page .rj-next-panel > div { gap: 12px; }
.rj-catalog-page .rj-next-icon { width: 43px; height: 43px; font-size: 19px; }
.rj-catalog-page .rj-next-panel small { font-size: 8px; font-weight: 600; }
.rj-catalog-page .rj-next-panel strong { margin-top: 3px; font-size: 18px; font-weight: 600; }
.rj-catalog-page.has-selection .rj-shell { padding-bottom: 145px; }
.rj-catalog-page .rj-next-panel.ready {
    position: fixed;
    z-index: 50;
    left: 50%;
    bottom: 18px;
    width: min(720px, calc(100% - 32px));
    margin: 0;
    transform: translateX(-50%);
    border: 1px solid rgba(255,255,255,.28);
    box-shadow: 0 18px 45px rgba(22,22,69,.28);
}
.rj-catalog-page .rj-next-panel.ready > div { min-width: 0; }
.rj-catalog-page .rj-next-panel.ready > div > div { min-width: 0; }
.rj-catalog-page .rj-next-panel.ready strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rj-catalog-page .rj-next-panel.ready button { flex: 0 0 auto; white-space: nowrap; }

/* Selected bicycle and login preview: compact CicoPass typography and controls. */
.rj-page.rj-account-page {
    background-color: #ececf5;
    background-image: url('../images/Product-banner.png');
    background-position: center top;
    background-size: 100% auto;
    background-repeat: no-repeat;
    font-family: 'Instrument Sans', sans-serif;
}
.rj-account-page button,
.rj-account-page input,
.rj-account-page label,
.rj-account-page p,
.rj-account-page a { font-family: 'Instrument Sans', sans-serif; }
.rj-account-page h1,
.rj-account-page h2 { font-family: 'Oswald', sans-serif; }
.rj-account-page .rj-topbar { min-height: 68px; padding-top: 10px; padding-bottom: 10px; }
.rj-account-page .rj-progress { gap: 14px; }
.rj-account-page .rj-progress span { gap: 6px; font-size: 12px; font-weight: 500; }
.rj-account-page .rj-progress b { width: 27px; height: 27px; font-size: 11px; }
.rj-account-page .rj-exit {
    padding: 6px 18px;
    border-color: var(--rj-purple);
    border-radius: 8px 0 8px 0;
    background: transparent;
    color: var(--rj-purple);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
}
.rj-account-page .rj-exit:hover { background: var(--rj-purple); color: white; }
.rj-account-page .rj-account-shell { max-width: 1120px; padding-top: 36px; }
.rj-account-page .rj-intro.centered { margin-bottom: 25px; }
.rj-account-page .rj-eyebrow { color: var(--rj-purple); font-size: 10px; font-weight: 600; }
.rj-account-page .rj-eyebrow i { font-size: 13px; }
.rj-account-page .rj-intro h1 { margin-top: 7px; font-size: clamp(28px, 3vw, 36px); font-weight: 600; }
.rj-account-page .rj-intro p { font-size: 13px; }
.rj-account-page .rj-auth-layout { grid-template-columns: minmax(280px, .78fr) minmax(420px, 1.22fr); gap: 20px; align-items: start; }
.rj-account-page .rj-selection-summary,
.rj-account-page .rj-auth-card { border-radius: 12px; }
.rj-account-page .rj-selection-summary { padding: 20px; }
.rj-account-page .rj-summary-label { color: var(--rj-purple); font-size: 9px; font-weight: 600; }
.rj-account-page .rj-summary-image { height: 205px; margin: 15px -20px 17px; padding: 18px; }
.rj-account-page .rj-summary-placeholder i { width: 48px; height: 48px; font-size: 22px; }
.rj-account-page .rj-summary-placeholder span { font-size: 11px; font-weight: 500; }
.rj-account-page .rj-selection-summary h2 { font-size: 21px; font-weight: 600; }
.rj-account-page .rj-summary-grid { gap: 9px; margin: 16px 0; }
.rj-account-page .rj-summary-grid span { gap: 2px; padding: 10px; border-radius: 8px; font-size: 12px; font-weight: 600; }
.rj-account-page .rj-summary-grid small { font-size: 8px; }
.rj-account-page .rj-catalog-reference { margin-bottom: 13px; padding: 8px 10px; border-radius: 7px; font-size: 10px; font-weight: 500; }
.rj-account-page .rj-selection-summary > a { font-size: 11px; font-weight: 600; }
.rj-account-page .rj-auth-card { padding: 0 28px 24px; }
.rj-account-page .rj-auth-tabs { margin: 0 -28px 22px; }
.rj-account-page .rj-auth-tabs button { min-height: 52px; font-size: 13px; font-weight: 600; }
.rj-account-page .rj-auth-form { display: block; }
.rj-account-page .rj-auth-copy { gap: 10px; margin-bottom: 16px; }
.rj-account-page .rj-heading-icon { width: 40px; height: 40px; flex-basis: 40px; border-radius: 10px; background: #ececf5; color: var(--rj-purple); font-size: 17px; }
.rj-account-page .rj-auth-copy h2 { font-size: 18px; font-weight: 600; }
.rj-account-page .rj-auth-copy p { font-size: 11px; }
.rj-account-page .rj-auth-card > label,
.rj-account-page .rj-two-columns label { margin: 12px 0 6px; font-size: 11px; font-weight: 600; }
.rj-account-page .rj-input { min-height: 44px; padding: 0 12px; border-radius: 6px; background: #ececf5; font-size: 12px; }
.rj-account-page .rj-input:focus-within { border-color: var(--rj-purple); box-shadow: 0 0 0 3px rgba(47,47,128,.08); }
.rj-account-page .rj-input input:disabled { cursor: wait; opacity: .72; }
.rj-account-page .validation-message { display: block; margin-top: 4px; color: #b42318; font-family: 'Instrument Sans', sans-serif; font-size: 10px; }
.rj-account-page .rj-auth-options { margin: 12px 0; font-size: 11px; }
.rj-account-page .rj-auth-options label,
.rj-account-page .rj-consent { font-size: 11px; }
.rj-account-page .rj-consent {
    display: flex !important;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 8px;
    margin: 12px 0 0 !important;
}
.rj-account-page input[type="checkbox"] {
    width: 14px !important;
    min-width: 14px !important;
    height: 14px !important;
    flex: 0 0 14px !important;
}
.rj-account-page .rj-consent input { margin-top: 2px; }
.rj-account-page .rj-consent span { line-height: 1.45; }
.rj-account-page .rj-consent a { color: var(--rj-purple); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.rj-account-page .rj-auth-message { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; padding: 10px 12px; border-radius: 7px; font-size: 11px; line-height: 1.45; }
.rj-account-page .rj-auth-message.error { border: 1px solid #f2c7c2; background: #fff3f1; color: #9f2d22; }
.rj-account-page .rj-auth-message i { margin-top: 1px; }
.rj-account-page .rj-primary-action { min-height: 42px; border-radius: 8px 0 8px 0; font-size: 12px; font-weight: 600; }
.rj-account-page .rj-primary-action:disabled { cursor: not-allowed; opacity: .58; }
.rj-account-page .rj-secure-note { margin-top: 15px; padding: 11px; border-radius: 8px; font-size: 10px; }
.rj-account-page .rj-secure-note i { font-size: 17px; }

/* Confirmation actions use the same compact button language as the website. */
.rj-confirm-page .rj-exit {
    padding: 6px 18px;
    border-color: var(--rj-purple);
    border-radius: 8px 0 8px 0;
    background: transparent;
    color: var(--rj-purple);
    font-family: 'Instrument Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
}
.rj-confirm-page .rj-exit:hover { background: var(--rj-purple); color: white; }
.rj-confirm-page .rj-confirm-actions button {
    min-height: 42px;
    padding: 0 18px;
    border-radius: 8px 0 8px 0;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}
.rj-confirm-page .rj-confirm-actions button.secondary:hover { background: var(--rj-purple); color: white; }
.rj-confirm-page .rj-confirm-actions button.primary:hover { background: var(--rj-purple-dark); }
.rj-confirm-page .rj-confirm-actions button:disabled { cursor: wait; opacity: .65; }
.rj-confirm-page .rj-save-error { margin-top: 5px !important; color: #b42318 !important; }

@media (max-width: 1180px) {
    .rj-bike-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
    .rj-topbar { grid-template-columns: 1fr auto; min-height: 70px; }
    .rj-topbar .rj-brand-link img { max-width: 110px; max-height: 36px; }
    .rj-progress { grid-column: 1 / -1; grid-row: 2; padding-top: 8px; }
    .rj-page .rj-progress { gap: 8px; }
    .rj-page .rj-progress span { flex-direction: column; gap: 4px; font-size: 10px; white-space: normal; text-align: center; }
    .rj-progress b { font-size: 11px; }
    .rj-progress > i { width: 34px; }
    .rj-shell { width: min(calc(100% - 28px), 720px); padding-top: 38px; }
    .rj-catalog-layout, .rj-auth-layout, .rj-account-page .rj-auth-layout, .rj-confirm-content { grid-template-columns: minmax(0, 1fr); }
    .rj-filter-card { position: static; }
    .rj-results-header, .rj-confirm-header, .rj-confirm-actions { align-items: flex-start; flex-direction: column; }
    .rj-results-header p { max-width: none; }
    .rj-confirm-actions > div:last-child { width: 100%; }
    .rj-confirm-actions button { flex: 1; }
}

@media (max-width: 560px) {
    .rj-topbar { padding: 12px 16px; }
    .rj-exit { padding: 8px 13px; }
    .rj-intro h1 { font-size: 38px; }
    .rj-intro p { font-size: 14px; }
    .rj-results-card, .rj-filter-card, .rj-selection-summary, .rj-auth-card { padding-left: 18px; padding-right: 18px; border-radius: 18px; }
    .rj-bike-grid { grid-template-columns: 1fr; }
    .rj-results-header h2 { font-size: 27px; }
    .rj-manual-card { grid-template-columns: auto 1fr; }
    .rj-manual-card button { grid-column: 1 / -1; width: 100%; }
    .rj-next-panel { align-items: stretch; flex-direction: column; padding: 22px; }
    .rj-next-panel button { width: 100%; }
    .rj-catalog-page .rj-next-panel.ready { right: 12px; bottom: 12px; left: 12px; width: auto; padding: 14px; transform: none; gap: 10px; }
    .rj-catalog-page.has-selection .rj-shell { padding-bottom: 175px; }
    .rj-auth-tabs { margin-left: -18px; margin-right: -18px; }
    .rj-account-page .rj-auth-card, .rj-account-page .rj-selection-summary { padding-left: 18px; padding-right: 18px; }
    .rj-account-page .rj-auth-tabs { margin-left: -18px; margin-right: -18px; }
    .rj-account-page .rj-summary-image { margin-left: -18px; margin-right: -18px; }
    .rj-account-page .rj-input input { font-size: 16px; }
    .rj-page .rj-intro, .rj-page .rj-selection-summary h2, .rj-page .rj-summary-grid > span { overflow-wrap: anywhere; }
    .rj-two-columns, .rj-detail-grid { grid-template-columns: 1fr; }
    .rj-confirm-header, .rj-confirm-content, .rj-confirm-actions { padding: 24px 20px; }
    .rj-confirm-header h1 { font-size: 30px; }
    .rj-report-number { width: 100%; }
    .rj-confirm-actions > div:last-child { flex-direction: column; }
}

@media print {
    .rj-topbar, .rj-confirm-actions button { display: none !important; }
    .rj-page, .rj-shell { background: white; padding: 0; }
    .rj-confirm-card { border: 0; box-shadow: none; }
}
.rj-photo-picker { margin-top: 14px; border-block: 1px solid #e2e4ef; font-family: 'Instrument Sans', sans-serif; }
.rj-photo-stage { position: relative; height: 255px; background: #f2f6f5; overflow: hidden; }
.rj-photo-stage > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.rj-photo-empty { display: grid; place-content: center; gap: 12px; height: 100%; text-align: center; color: #2f2f80; font-size: 14px; }
.rj-photo-empty i { font-size: 32px; }
.rj-photo-counter { position: absolute; top: 12px; left: 12px; padding: 5px 9px; background: #ffffffeb; border-radius: 20px; font-size: 11px; color: #2f2f80; }
.rj-photo-stage button { position: absolute; width: 34px; height: 34px; padding: 0; border: 1px solid #dedfec; border-radius: 50%; background: white; color: #2f2f80; font: 24px 'Instrument Sans', sans-serif; }
.rj-photo-remove { top: 12px; right: 12px; }
.rj-photo-prev { top: 48%; left: 12px; }
.rj-photo-next { top: 48%; right: 12px; }
.rj-photo-controls { padding: 18px; }
.rj-page .rj-photo-picker div, .rj-page .rj-photo-picker span, .rj-page .rj-photo-picker strong, .rj-page .rj-photo-picker small { font-family: 'Instrument Sans', sans-serif; }
.rj-photo-controls > div:first-child { display: flex; justify-content: space-between; font-size: 13px; color: #2f2f80; }
.rj-photo-controls p, .rj-photo-explanation { font: 12px/1.6 'Instrument Sans', sans-serif; color: #64748b; margin: 10px 0; }
.rj-photo-controls small { display: block; margin-top: 10px; font-size: 10px; line-height: 1.5; color: #64748b; }
.rj-photo-upload-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.rj-photo-upload { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 10px 12px; border: 1px solid #2f2f80; border-radius: 8px; color: #2f2f80; font-size: 12px; cursor: pointer; overflow: hidden; }
.rj-photo-upload input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.rj-photo-upload:focus-within { outline: 2px solid #2f2f80; outline-offset: 3px; }
.rj-photo-upload:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.rj-review-photo-nav { display: flex; align-items: center; justify-content: center; gap: 15px; margin-top: 12px; font: 12px 'Instrument Sans', sans-serif; color: #2f2f80; }
.rj-review-photo-nav button { width: 32px; height: 32px; border: 1px solid #d8dbea; border-radius: 50%; background: white; color: #2f2f80; }
@media (max-width: 820px) { .rj-photo-stage { height: 240px; } }
.rj-catalog-page .rj-select input[type="date"] { width: 100%; min-height: 44px; padding: 10px 14px; border: 1px solid #d9dced; border-radius: 8px; background: #efeff7; color: #2f2f80; font: 14px 'Instrument Sans', sans-serif; }
#registration-photos { scroll-margin-top: 90px; }

/* Preserve readable labels when a BMS brand uses a bright primary colour. */
.rj-page .rj-primary-action, .rj-page .rj-progress .active b,
.rj-page .rj-success-icon, .rj-page .rj-confirm-actions button.primary,
.rj-page .rj-results-state button, .rj-page .rj-load-more button,
.rj-catalog-page .rj-bike-type, .rj-catalog-page .rj-selected-check,
.rj-catalog-page .rj-manual-icon { color: var(--rj-on-primary, white); }
.rj-page .rj-exit, .rj-page .rj-selection-summary > a,
.rj-page .rj-auth-tabs button.active, .rj-page .rj-auth-options a,
.rj-page .rj-catalog-reference, .rj-page .rj-clear-filters { color: var(--rj-link, var(--rj-purple)); }
.rj-page .rj-photo-upload { border-color: var(--rj-purple); color: var(--rj-link, var(--rj-purple)); }
