:root {
    --rj-blue: #1769ff;
    --rj-blue-dark: #0a4fd8;
    --rj-blue-soft: #f1f6ff;
    --rj-text: #111318;
    --rj-muted: #68707d;
    --rj-border: #dfe3e8;
    --rj-bg: #ffffff;
    --rj-soft: #f6f7f9;
    --rj-error: #c9252d;
    --rj-yellow: #ffc72c;
    --rj-shadow: 0 20px 70px rgba(18, 28, 45, .10);
}

body.rj-order-page,
body:has(.rj-order-app) {
    overflow: hidden !important;
    background: #fff !important;
}

body.rj-order-page #header,
body.rj-order-page #footer,
body.rj-order-page #socket,
body.rj-order-page #scroll-top-link,
body.rj-order-page .title_container,
body.rj-order-page .av-submenu-container,
body:has(.rj-order-app) #header,
body:has(.rj-order-app) #footer,
body:has(.rj-order-app) #socket,
body:has(.rj-order-app) #scroll-top-link,
body:has(.rj-order-app) .title_container,
body:has(.rj-order-app) .av-submenu-container {
    display: none !important;
}

body.rj-order-page #main,
body.rj-order-page .main_color,
body.rj-order-page .container_wrap,
body.rj-order-page .container,
body.rj-order-page .content,
body.rj-order-page .post-entry,
body.rj-order-page .entry-content-wrapper,
body.rj-order-page .avia_codeblock_section,
body.rj-order-page .avia_codeblock,
body:has(.rj-order-app) #main,
body:has(.rj-order-app) .main_color,
body:has(.rj-order-app) .container_wrap,
body:has(.rj-order-app) .container,
body:has(.rj-order-app) .content,
body:has(.rj-order-app) .post-entry,
body:has(.rj-order-app) .entry-content-wrapper,
body:has(.rj-order-app) .avia_codeblock_section,
body:has(.rj-order-app) .avia_codeblock {
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.rj-order-app,
.rj-order-app * {
    box-sizing: border-box;
}

.rj-order-app {
    width: 100%;
    height: 100svh;
    min-height: 560px;
    overflow: hidden;
    background: var(--rj-bg);
    color: var(--rj-text);
    font-family: inherit, Tahoma, Arial, sans-serif;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

.rj-order-app button,
.rj-order-app input,
.rj-order-app textarea {
    font: inherit;
}

.rj-order-shell {
    width: min(920px, calc(100% - 28px));
    height: 100%;
    margin: 0 auto;
    padding: clamp(10px, 2.2vh, 24px) 0;
}

.rj-order-form {
    height: 100%;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: clamp(8px, 1.4vh, 14px);
}

.rj-wizard-bar {
    min-height: 38px;
    display: grid;
    grid-template-columns: 100px 1fr 100px;
    align-items: center;
    gap: 14px;
}

.rj-back-button {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: transparent;
    color: #333842;
    padding: 7px 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
}

.rj-back-button[hidden] { visibility: hidden; display: inline-flex !important; }
.rj-back-button span:first-child { font-size: 18px; transform: rotate(180deg); }

.rj-progress {
    justify-self: center;
    display: flex;
    align-items: center;
    direction: ltr;
    gap: 8px;
}

.rj-progress span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #d8dde5;
    transition: width .24s ease, background .24s ease;
}

.rj-progress span.is-active {
    width: 26px;
    background: var(--rj-blue);
}

.rj-progress span.is-done { background: #8db3ff; }
.rj-step-status { justify-self: end; color: var(--rj-muted); font-size: 13px; font-weight: 700; }

.rj-stage-frame {
    position: relative;
    min-height: 0;
    height: 100%;
    border: 1px solid var(--rj-border);
    border-radius: clamp(22px, 3vw, 32px);
    background: #fff;
    box-shadow: var(--rj-shadow);
    overflow: hidden;
}

.rj-stage {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: clamp(18px, 3.6vh, 34px) clamp(18px, 4vw, 42px);
    opacity: 0;
    transform: translateX(-18px);
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
    overflow: hidden;
}

.rj-stage[hidden] { display: flex !important; }
.rj-stage.is-active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    z-index: 2;
}

.rj-stage.is-leaving { transform: translateX(18px); }

.rj-stage-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex: 0 0 auto;
    margin-bottom: clamp(18px, 3.4vh, 32px);
}

.rj-stage-head-compact { margin-bottom: clamp(12px, 2vh, 20px); }

.rj-stage-number {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    background: var(--rj-blue);
    font-size: 21px;
    font-weight: 900;
    box-shadow: 0 9px 22px rgba(23, 105, 255, .22);
}

.rj-stage h1,
.rj-stage h2 {
    margin: 0;
    color: var(--rj-text) !important;
    font-size: clamp(25px, 4vw, 38px);
    line-height: 1.2;
    letter-spacing: -.035em;
    font-weight: 900;
}

.rj-stage-head-compact h2 { font-size: clamp(22px, 3.2vw, 31px); }
.rj-stage-head p { margin: 5px 0 0; color: var(--rj-muted) !important; font-size: clamp(13px, 1.6vw, 16px); }

.rj-type-grid {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(12px, 2vw, 20px);
    align-items: start;
}

.rj-type-button {
    position: relative;
    min-width: 0;
    border: 2px solid var(--rj-border);
    border-radius: 24px;
    background: #fff;
    color: var(--rj-text) !important;
    padding: clamp(20px, 4vh, 34px) 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.rj-type-button:hover { border-color: #9cbcff; transform: translateY(-2px); }
.rj-type-button:focus-visible { outline: 3px solid rgba(23, 105, 255, .22); outline-offset: 3px; }
.rj-type-button.is-active { border-color: var(--rj-blue); background: var(--rj-blue-soft); box-shadow: 0 12px 30px rgba(23, 105, 255, .10); }

.rj-line-icon {
    width: clamp(54px, 8vh, 72px);
    height: clamp(54px, 8vh, 72px);
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: var(--rj-soft);
    color: #7b8491;
}

.rj-type-button.is-active .rj-line-icon { color: var(--rj-blue); background: #fff; }
.rj-line-icon svg { width: 58%; height: 58%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rj-type-button strong { display: block; color: var(--rj-text) !important; font-size: clamp(20px, 3vw, 29px); font-weight: 900; }
.rj-type-button small { display: block; color: var(--rj-muted) !important; font-size: clamp(12px, 1.5vw, 15px); }
.rj-choice-dot { position: absolute; top: 16px; left: 16px; width: 24px; height: 24px; border: 2px solid #c9cfd7; border-radius: 50%; background: #fff; }
.rj-type-button.is-active .rj-choice-dot { border: 7px solid var(--rj-blue); }

.rj-package-panel {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.rj-package-panel[hidden] { display: none !important; }

.rj-package-grid {
    flex: 1;
    min-height: 0;
    display: grid;
    gap: 10px;
}

.rj-photography-groups {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rj-package-group {
    border: 1px solid #edf0f4;
    border-radius: 20px;
    padding: 12px;
    background: #fbfcfe;
}

.rj-package-group-head { margin-bottom: 10px; }
.rj-package-group-head strong { display: block; color: var(--rj-text); font-size: 15px; font-weight: 900; }
.rj-package-group-head span { display: block; margin-top: 3px; color: var(--rj-muted); font-size: 11px; }

.rj-base-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rj-portrait-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rj-purchase-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.rj-package-card {
    position: relative;
    min-width: 0;
    min-height: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "badge copy check" "badge price check";
    align-items: center;
    column-gap: 12px;
    row-gap: 2px;
    padding: 12px 14px;
    border: 1.5px solid var(--rj-border);
    border-radius: 18px;
    background: #fff;
    cursor: pointer;
    overflow: hidden;
    transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.rj-package-card:hover { border-color: #a8c2f8; }
.rj-package-card:has(input:checked) { border-color: var(--rj-blue); background: var(--rj-blue-soft); box-shadow: inset 0 0 0 1px var(--rj-blue); }
.rj-package-card input { position: absolute; opacity: 0; pointer-events: none; }
.rj-package-badge { grid-area: badge; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--rj-soft); color: #3b4654; font-size: 14px; font-weight: 900; }
.rj-package-card:has(input:checked) .rj-package-badge { color: var(--rj-blue); background: #fff; }
.rj-package-copy { grid-area: copy; min-width: 0; }
.rj-package-copy strong { display: block; color: var(--rj-text) !important; font-size: 16px; line-height: 1.35; font-weight: 900; }
.rj-package-copy small { display: block; margin-top: 2px; color: var(--rj-muted) !important; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rj-package-price { grid-area: price; color: #343b46; font-size: 13px; font-weight: 900; }
.rj-package-price em { font-style: normal; font-size: 10px; color: var(--rj-muted); font-weight: 700; }
.rj-package-check { grid-area: check; width: 24px; height: 24px; display: grid; place-items: center; border: 2px solid #cbd1d9; border-radius: 50%; color: transparent; background: #fff; font-size: 13px; font-weight: 900; }
.rj-package-card:has(input:checked) .rj-package-check { border-color: var(--rj-blue); color: #fff; background: var(--rj-blue); }
.rj-popular-tag { position: absolute; top: 7px; left: 7px; padding: 2px 7px; border-radius: 999px; background: #e7efff; color: var(--rj-blue-dark); font-size: 9px; font-weight: 900; }
.rj-delivery-note { flex: 0 0 auto; margin: 7px 2px 0; color: var(--rj-muted) !important; text-align: center; font-size: 11px; }

.rj-extra-hours {
    margin-top: 10px;
    border: 1px solid #e4e9f1;
    border-radius: 16px;
    padding: 11px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: #fff;
}

.rj-extra-hours-copy strong { display: block; color: var(--rj-text); font-size: 14px; font-weight: 900; }
.rj-extra-hours-copy small { display: block; margin-top: 3px; color: var(--rj-muted); font-size: 11px; }

.rj-hours-stepper { display: inline-flex; align-items: center; gap: 8px; }
.rj-stepper-button { width: 36px; height: 36px; border: 1px solid #d8dee6; border-radius: 12px; background: #fff; color: var(--rj-text); font-size: 22px; line-height: 1; font-weight: 700; cursor: pointer; }
.rj-stepper-button:hover { border-color: #a8c2f8; }
.rj-stepper-value { min-width: 34px; text-align: center; color: var(--rj-text); font-size: 16px; font-weight: 900; }

.rj-stage-actions {
    flex: 0 0 auto;
    margin-top: clamp(9px, 1.6vh, 16px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.rj-stage-actions-end { justify-content: flex-end; }
.rj-inline-total { display: flex; align-items: baseline; gap: 10px; color: var(--rj-muted); font-size: 12px; }
.rj-inline-total strong { color: var(--rj-text) !important; font-size: 18px; font-weight: 900; }

.rj-primary-button {
    min-width: 168px;
    min-height: 48px;
    border: 0;
    border-radius: 14px;
    padding: 11px 24px;
    color: #fff !important;
    background: var(--rj-blue);
    box-shadow: 0 10px 24px rgba(23, 105, 255, .22);
    cursor: pointer;
    font-weight: 900;
    transition: background .16s ease, transform .16s ease, opacity .16s ease;
}

.rj-primary-button:hover:not(:disabled) { background: var(--rj-blue-dark); transform: translateY(-1px); }
.rj-primary-button:focus-visible { outline: 3px solid rgba(23, 105, 255, .22); outline-offset: 3px; }
.rj-primary-button:disabled { opacity: .38; cursor: not-allowed; box-shadow: none; }

.rj-field-grid {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: center;
    gap: clamp(11px, 2vh, 16px);
}

.rj-field-wide { grid-column: 1 / -1; }
.rj-field label { display: block; margin-bottom: 6px; color: #272c34 !important; font-size: 13px; font-weight: 900; }
.rj-field label span { color: var(--rj-error); }
.rj-field input,
.rj-field textarea {
    width: 100%;
    border: 1.5px solid var(--rj-border) !important;
    border-radius: 13px !important;
    background: #fff !important;
    color: var(--rj-text) !important;
    padding: 11px 13px !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color .16s ease, box-shadow .16s ease;
}
.rj-field input { height: 46px; }
.rj-field textarea { height: clamp(74px, 12vh, 98px); min-height: 74px; max-height: 100px; resize: none; }
.rj-field input::placeholder,
.rj-field textarea::placeholder { color: #9aa1ab !important; opacity: 1; }
.rj-field input:focus,
.rj-field textarea:focus { border-color: var(--rj-blue) !important; box-shadow: 0 0 0 3px rgba(23, 105, 255, .10) !important; }
.rj-field input.rj-invalid,
.rj-field textarea.rj-invalid,
.rj-file-drop.rj-invalid { border-color: var(--rj-error) !important; box-shadow: 0 0 0 3px rgba(201, 37, 45, .08) !important; }

.rj-payment-grid {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: clamp(12px, 2.4vw, 22px);
    align-items: start;
}

.rj-bank-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-self: start;
    min-height: 250px;
    aspect-ratio: 1.6 / 1;
    border-radius: 22px;
    background: var(--rj-yellow);
    color: #111 !important;
    padding: clamp(17px, 3vh, 25px);
    box-shadow: 0 16px 34px rgba(151, 108, 0, .18);
    cursor: pointer;
}

.rj-bank-card-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.rj-bank-card-top span { font-size: 12px; font-weight: 800; }
.rj-bank-card-top strong { color: #111 !important; font-size: clamp(17px, 2.4vw, 23px); font-weight: 950; }
.rj-card-number { width: 100%; border: 0; background: rgba(255,255,255,.28); color: #111 !important; padding: 14px 12px; border-radius: 14px; cursor: pointer; text-align: center; direction: ltr; }
.rj-card-number-groups { display: flex; align-items: center; justify-content: center; gap: 9px; white-space: nowrap; direction: ltr; }
.rj-card-number-group, .rj-card-sep { display: inline-block; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: clamp(16px, 2vw, 22px); font-weight: 900; line-height: 1.2; }
.rj-card-sep { opacity: .72; }
.rj-card-number small { display: block; margin-top: 8px; color: rgba(0,0,0,.82) !important; font-size: 14px; font-weight: 900; line-height: 1.5; }
.rj-card-holder { display: flex; align-items: baseline; gap: 8px; }
.rj-card-holder span { font-size: 11px; opacity: .68; }
.rj-card-holder strong { color: #111 !important; font-size: 15px; font-weight: 900; }
.rj-blu-mark { position: absolute; left: 18px; bottom: 13px; font-family: Arial, sans-serif; font-size: 21px; font-weight: 900; letter-spacing: -.08em; }
.rj-bank-card.is-not-configured { background: #f0f1f3; box-shadow: none; }

.rj-proof-box {
    min-width: 0;
    border: 1px solid var(--rj-border);
    border-radius: 22px;
    padding: clamp(14px, 2.4vh, 20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}
.rj-proof-title { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.rj-proof-title strong { color: var(--rj-text) !important; font-size: 17px; font-weight: 900; }
.rj-proof-title span { color: var(--rj-muted); font-size: 10px; }
.rj-or { display: flex; align-items: center; gap: 9px; margin: 7px 0; color: #a0a6ae; font-size: 10px; }
.rj-or::before, .rj-or::after { content: ""; height: 1px; flex: 1; background: #e6e8eb; }
.rj-file-drop {
    min-height: 78px;
    border: 1.5px dashed #bcc3cc;
    border-radius: 14px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "icon text" "icon small";
    align-items: center;
    column-gap: 11px;
    padding: 11px 13px;
    cursor: pointer;
    background: #fafbfc;
}
.rj-file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.rj-upload-icon { grid-area: icon; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #edf2ff; color: var(--rj-blue); font-size: 21px; font-weight: 900; }
.rj-file-text { grid-area: text; color: #272c34; font-size: 13px; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rj-file-drop small { grid-area: small; color: var(--rj-muted); font-size: 10px; }

.rj-submit-button { min-width: 260px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.rj-spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: rj-spin .7s linear infinite; }
.rj-submit-button.is-loading .rj-spinner { display: block; }
@keyframes rj-spin { to { transform: rotate(360deg); } }

.rj-form-message {
    position: absolute;
    right: 50%;
    bottom: 10px;
    z-index: 5;
    transform: translateX(50%) translateY(10px);
    max-width: calc(100% - 32px);
    padding: 8px 13px;
    border-radius: 999px;
    background: #fff;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 8px 22px rgba(0,0,0,.12);
    transition: opacity .18s ease, transform .18s ease;
    font-size: 11px;
    font-weight: 800;
}
.rj-form-message.is-error { color: #a4141b; opacity: 1; transform: translateX(50%) translateY(0); }

.rj-order-success {
    width: min(520px, 100%);
    margin: auto;
    text-align: center;
}
.rj-success-icon { width: 68px; height: 68px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; background: #eaf7ef; color: #168448; font-size: 36px; font-weight: 900; }
.rj-order-success h3 { margin: 0 0 8px; color: var(--rj-text) !important; font-size: 30px; font-weight: 900; }
.rj-order-success p { margin: 0; color: var(--rj-muted) !important; }
.rj-order-code { display: inline-block; margin-top: 18px; border-radius: 12px; background: var(--rj-soft); padding: 9px 16px; direction: ltr; font-family: ui-monospace, monospace; font-weight: 900; }

.rj-toast {
    position: fixed;
    left: 50%;
    bottom: 22px;
    z-index: 100000;
    transform: translate(-50%, 18px);
    padding: 10px 15px;
    border-radius: 12px;
    background: #111318;
    color: #fff;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    font-size: 12px;
    font-weight: 800;
}
.rj-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.rj-honeypot { position: absolute !important; left: -99999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }

@media (max-width: 700px) {
    .rj-order-app { min-height: 520px; }
    .rj-order-shell { width: min(100% - 16px, 920px); padding: 8px 0; }
    .rj-wizard-bar { grid-template-columns: 72px 1fr 72px; min-height: 32px; gap: 7px; }
    .rj-back-button { font-size: 11px; }
    .rj-back-button span:first-child { font-size: 15px; }
    .rj-step-status { font-size: 10px; }
    .rj-progress { gap: 6px; }
    .rj-stage-frame { border-radius: 22px; }
    .rj-stage { padding: clamp(13px, 2.5vh, 20px) 13px; }
    .rj-stage-head { gap: 10px; margin-bottom: clamp(10px, 2vh, 17px); }
    .rj-stage-number { width: 38px; height: 38px; flex-basis: 38px; border-radius: 12px; font-size: 18px; }
    .rj-stage h1, .rj-stage h2 { font-size: clamp(21px, 7vw, 28px); }
    .rj-stage-head p { margin-top: 3px; font-size: 12px; }
    /* در موبایل ردیف‌های Grid نباید فضای آزاد ارتفاع صفحه را بین خود تقسیم کنند. */
    .rj-type-grid {
        flex: 0 0 auto;
        grid-template-columns: 1fr;
        grid-auto-rows: max-content;
        align-content: start;
        align-items: start;
        gap: 10px;
    }
    .rj-type-button { width: 100%; padding: 12px 14px; min-height: 0; display: grid; grid-template-columns: 54px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 13px; text-align: right; align-content: center; }
    .rj-line-icon { grid-row: 1 / 3; width: 52px; height: 52px; border-radius: 15px; }
    .rj-type-button strong { font-size: 20px; align-self: end; }
    .rj-type-button small { font-size: 11px; align-self: start; }
    .rj-choice-dot { top: 12px; left: 12px; width: 21px; height: 21px; }
    .rj-type-button.is-active .rj-choice-dot { border-width: 6px; }

    .rj-package-grid { gap: 7px; }
    .rj-base-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .rj-portrait-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rj-purchase-grid { grid-template-columns: 1fr; grid-template-rows: repeat(3, minmax(0, 1fr)); }
    .rj-package-card { grid-template-columns: 39px minmax(0, 1fr) 21px; column-gap: 8px; padding: 8px 9px; border-radius: 14px; }
    .rj-photography-groups { gap: 6px; }
    .rj-photography-groups .rj-package-card {
        grid-template-columns: minmax(0, 1fr) 20px;
        grid-template-areas: "badge check" "copy copy" "price price";
        align-content: center;
        justify-items: center;
        text-align: center;
        row-gap: 3px;
        padding: 6px;
    }
    .rj-photography-groups .rj-package-badge { width: 34px; height: 34px; border-radius: 10px; font-size: 9px; }
    .rj-photography-groups .rj-package-copy strong { font-size: 11px; white-space: nowrap; }
    .rj-photography-groups .rj-package-copy small { font-size: 7px; max-width: 100%; }
    .rj-photography-groups .rj-package-price { font-size: 9px; }
    .rj-photography-groups .rj-package-price em { font-size: 7px; }
    .rj-photography-groups .rj-package-check { width: 20px; height: 20px; font-size: 9px; }
    .rj-package-badge { width: 39px; height: 39px; border-radius: 11px; font-size: 11px; }
    .rj-package-copy strong { font-size: 13px; }
    .rj-package-copy small { font-size: 9px; }
    .rj-package-price { font-size: 11px; }
    .rj-package-check { width: 21px; height: 21px; font-size: 11px; }
    .rj-popular-tag { top: 4px; left: 4px; font-size: 7px; }
    .rj-delivery-note { font-size: 7.5px; line-height: 1.5; margin-top: 3px; }
    .rj-stage-actions { margin-top: 7px; }
    .rj-inline-total { gap: 5px; font-size: 10px; }
    .rj-inline-total strong { font-size: 14px; }
    .rj-primary-button { min-width: 132px; min-height: 42px; padding: 9px 16px; border-radius: 12px; font-size: 13px; }

    .rj-field-grid { gap: 8px; align-content: start; }
    .rj-field label { margin-bottom: 3px; font-size: 11px; }
    .rj-field input { height: 40px; }
    .rj-field input, .rj-field textarea { padding: 8px 10px !important; border-radius: 11px !important; font-size: 12px; }
    .rj-field textarea { height: clamp(62px, 10vh, 78px); min-height: 62px; }

    .rj-payment-grid { grid-template-columns: 1fr; grid-template-rows: minmax(0, .9fr) minmax(0, 1.1fr); gap: 8px; }
    .rj-bank-card { border-radius: 16px; padding: 12px; }
    .rj-bank-card-top span { font-size: 9px; }
    .rj-bank-card-top strong { font-size: 15px; }
    .rj-card-number { padding: 8px; border-radius: 10px; }
    .rj-card-number-groups { gap: 5px; }
    .rj-card-number-group, .rj-card-sep { font-size: clamp(13px, 4vw, 17px); }
    .rj-card-number small { font-size: 10px; margin-top: 6px; }
    .rj-card-holder span { font-size: 9px; }
    .rj-card-holder strong { font-size: 12px; }
    .rj-blu-mark { left: 13px; bottom: 8px; font-size: 17px; }
    .rj-proof-box { border-radius: 16px; padding: 10px; }
    .rj-package-group { padding: 7px; border-radius: 14px; }
    .rj-package-group-head { margin-bottom: 5px; }
    .rj-package-group-head strong { font-size: 11px; }
    .rj-package-group-head span { margin-top: 1px; font-size: 7px; line-height: 1.45; }
    .rj-extra-hours { margin-top: 5px; padding: 6px 7px; border-radius: 11px; flex-direction: row; align-items: center; gap: 6px; }
    .rj-extra-hours-copy strong { font-size: 10px; }
    .rj-extra-hours-copy small { margin-top: 1px; font-size: 7px; }
    .rj-hours-stepper { justify-content: center; gap: 4px; }
    .rj-stepper-button { width: 27px; height: 27px; border-radius: 8px; font-size: 17px; }
    .rj-stepper-value { min-width: 24px; font-size: 12px; }
    .rj-proof-title { margin-bottom: 6px; }
    .rj-proof-title strong { font-size: 14px; }
    .rj-proof-title span { font-size: 8px; }
    .rj-proof-box .rj-field label { display: none; }
    .rj-proof-box .rj-field input { height: 37px; }
    .rj-or { margin: 3px 0; }
    .rj-file-drop { min-height: 54px; padding: 6px 9px; border-radius: 11px; }
    .rj-upload-icon { width: 31px; height: 31px; border-radius: 9px; font-size: 17px; }
    .rj-file-text { font-size: 11px; }
    .rj-file-drop small { font-size: 8px; }
    .rj-submit-button { min-width: 100%; }
}

@media (max-width: 430px) {
    .rj-field-grid { grid-template-columns: 1fr; }
    .rj-field-wide { grid-column: auto; }
    .rj-stage[data-step="3"] .rj-stage-head { margin-bottom: 8px; }
    .rj-stage[data-step="3"] .rj-field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rj-stage[data-step="3"] .rj-field-wide { grid-column: 1 / -1; }
}

@media (max-height: 620px) {
    .rj-stage { overflow-y: auto; scrollbar-width: none; }
    .rj-stage::-webkit-scrollbar { display: none; }
    .rj-stage-head { margin-bottom: 8px; }
    .rj-stage-number { width: 34px; height: 34px; flex-basis: 34px; }
    .rj-stage h1, .rj-stage h2 { font-size: 21px; }
    .rj-type-button { padding-top: 8px; padding-bottom: 8px; }
}

/* Discount codes */
.rj-discount-entry {
    flex: 0 0 auto;
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid var(--rj-border);
    border-radius: 16px;
    background: #fafbfc;
}
.rj-discount-entry > label {
    display: block;
    margin-bottom: 7px;
    color: var(--rj-text);
    font-size: 12px;
    font-weight: 900;
}
.rj-discount-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}
.rj-discount-row input {
    width: 100%;
    height: 42px;
    min-width: 0;
    margin: 0 !important;
    padding: 8px 12px !important;
    border: 1px solid var(--rj-border) !important;
    border-radius: 11px !important;
    background: #fff !important;
    color: var(--rj-text) !important;
    direction: ltr;
    text-align: left;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
    font-size: 13px !important;
    font-weight: 800;
    box-shadow: none !important;
}
.rj-discount-row input:focus {
    border-color: var(--rj-blue) !important;
    outline: 3px solid rgba(23, 105, 255, .12) !important;
}
.rj-discount-apply {
    min-width: 92px;
    height: 42px;
    border: 0;
    border-radius: 11px;
    background: #111318;
    color: #fff;
    padding: 0 14px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
}
.rj-discount-apply:disabled { opacity: .58; cursor: wait; }
.rj-discount-message {
    min-height: 18px;
    margin-top: 5px;
    color: var(--rj-muted);
    font-size: 10px;
    font-weight: 700;
}
.rj-discount-message.is-success { color: #158447; }
.rj-discount-message.is-error { color: var(--rj-error); }
.rj-package-price {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}
.rj-price-original.is-struck {
    color: #8a919c;
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
}
.rj-price-discounted {
    color: #168447;
    font-weight: 950;
}
.rj-package-card.has-discount {
    border-color: #a7d9bc;
    background: #fbfffc;
}
.rj-free-order-note {
    display: none;
    min-height: 100%;
    place-content: center;
    text-align: center;
    border: 1px solid #b9dfc8;
    border-radius: 22px;
    background: #f3fbf6;
    padding: 22px;
}
.rj-free-order-note strong {
    display: block;
    color: #157642;
    font-size: 22px;
    font-weight: 950;
}
.rj-free-order-note span {
    display: block;
    max-width: 380px;
    margin: 8px auto 0;
    color: #4b6657;
    font-size: 13px;
}
.rj-order-app.is-free-order .rj-bank-card,
.rj-order-app.is-free-order .rj-proof-box { display: none; }
.rj-order-app.is-free-order .rj-free-order-note { display: grid; grid-column: 1 / -1; }

@media (max-width: 700px) {
    .rj-stage[data-step="1"] .rj-stage-head { margin-bottom: 9px; }
    .rj-stage[data-step="1"] .rj-type-grid { gap: 8px; }
    .rj-discount-entry { margin-top: 8px; padding: 8px 10px; border-radius: 13px; }
    .rj-discount-entry > label { margin-bottom: 4px; font-size: 10px; }
    .rj-discount-row { gap: 6px; }
    .rj-discount-row input, .rj-discount-apply { height: 36px; }
    .rj-discount-row input { font-size: 11px !important; }
    .rj-discount-apply { min-width: 76px; padding: 0 10px; font-size: 10px; }
    .rj-discount-message { min-height: 14px; margin-top: 3px; font-size: 8px; }
    .rj-price-discounted, .rj-price-original { white-space: nowrap; }
    .rj-free-order-note { border-radius: 16px; padding: 15px; }
    .rj-free-order-note strong { font-size: 18px; }
    .rj-free-order-note span { font-size: 10px; }
}
.rj-free-instruction { display:none; }
.rj-order-app.is-free-order .rj-paid-instruction { display:none; }
.rj-order-app.is-free-order .rj-free-instruction { display:inline; color:#157642; font-weight:800; }

/* 1.4.4 — isolated /o/ viewport. These rules only affect the standalone order route. */
html.rj-order-document,
html.rj-order-document body.rj-order-standalone {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 100% !important;
    min-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    background: #fff !important;
    position: static !important;
    transform: none !important;
    zoom: 1 !important;
}

html.rj-order-document body.rj-order-standalone .rj-order-app {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

@supports (height: 100dvh) {
    html.rj-order-document body.rj-order-standalone .rj-order-app {
        height: 100dvh;
    }
}

@media (max-width: 700px) {
    html.rj-order-document,
    html.rj-order-document body.rj-order-standalone {
        width: 100vw !important;
        max-width: 100vw !important;
        min-width: 0 !important;
    }

    html.rj-order-document body.rj-order-standalone .rj-order-app {
        width: 100vw !important;
        max-width: 100vw !important;
        min-width: 0 !important;
    }

    html.rj-order-document body.rj-order-standalone .rj-order-shell {
        width: calc(100vw - 16px) !important;
        max-width: none !important;
        min-width: 0 !important;
        margin-inline: auto !important;
    }

    html.rj-order-document body.rj-order-standalone .rj-stage-frame,
    html.rj-order-document body.rj-order-standalone .rj-stage,
    html.rj-order-document body.rj-order-standalone .rj-type-grid,
    html.rj-order-document body.rj-order-standalone .rj-type-button,
    html.rj-order-document body.rj-order-standalone .rj-discount-entry {
        min-width: 0 !important;
        max-width: 100% !important;
    }
}
