/* Standalone E-Commerce and NPO package pages. */
body.rw-specialist-package-page {
    --rw-specialist-canvas: #f4f7fb;
    --rw-specialist-surface: rgba(255, 255, 255, 0.94);
    --rw-specialist-surface-soft: rgba(241, 245, 249, 0.84);
    --rw-specialist-ink: #0f172a;
    --rw-specialist-copy: #526176;
    --rw-specialist-muted: #718096;
    --rw-specialist-line: rgba(15, 23, 42, 0.11);
    --rw-specialist-shadow: 0 24px 64px rgba(15, 23, 42, 0.13);
    min-height: 100vh;
    min-height: 100svh;
    color: var(--rw-specialist-ink);
    background: var(--rw-specialist-canvas) !important;
    background-image: none !important;
    overflow-x: hidden;
}

body.rw-specialist-package-page [data-rw-specialist-page] {
    --rw-specialist-accent: #7c3aed;
    --rw-specialist-accent-2: #6d28d9;
    --rw-specialist-accent-deep: #2e1065;
    --rw-specialist-accent-rgb: 124, 58, 237;
    color: var(--rw-specialist-ink);
    background: transparent;
}

body.rw-specialist-package-page [data-rw-specialist-page][data-package="npo"] {
    --rw-specialist-accent: #16a34a;
    --rw-specialist-accent-2: #15803d;
    --rw-specialist-accent-deep: #064e3b;
    --rw-specialist-accent-rgb: 22, 163, 74;
}

body.rw-specialist-package-page [data-rw-specialist-page][data-package="ecommerce"] {
    --rw-specialist-accent: #7c3aed;
    --rw-specialist-accent-2: #6d28d9;
    --rw-specialist-accent-deep: #2e1065;
    --rw-specialist-accent-rgb: 124, 58, 237;
}

body.rw-specialist-package-page .rw-route-content,
body.rw-specialist-package-page [data-rw-specialist-page],
body.rw-specialist-package-page .rw-specialist-stage {
    background: transparent !important;
    background-image: none !important;
}

.rw-specialist-stage {
    position: relative;
    isolation: isolate;
    min-height: calc(100vh - 84px);
    min-height: calc(100svh - 84px);
    display: grid;
    align-items: center;
    padding: clamp(22px, 3.6vh, 42px) 0 clamp(30px, 4.5vh, 54px);
    overflow: clip;
}

.rw-specialist-stage::before,
.rw-specialist-stage::after {
    position: absolute;
    z-index: -1;
    width: min(38vw, 540px);
    aspect-ratio: 1;
    content: "";
    border-radius: 50%;
    pointer-events: none;
    filter: blur(2px);
}

.rw-specialist-stage::before {
    top: -30%;
    right: -12%;
    background: radial-gradient(circle, rgba(var(--rw-specialist-accent-rgb), 0.12), transparent 69%);
}

.rw-specialist-stage::after {
    bottom: -45%;
    left: -17%;
    background: radial-gradient(circle, rgba(8, 125, 241, 0.08), transparent 70%);
}

.rw-specialist-layout {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1.16fr) minmax(350px, 0.74fr);
    align-items: start;
    gap: clamp(38px, 6vw, 82px);
}

.rw-specialist-copy {
    min-width: 0;
    padding: 8px 0;
}

.rw-specialist-title-badge {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    margin: 0 0 16px;
    padding: 8px 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--rw-specialist-accent), var(--rw-specialist-accent-2));
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    box-shadow: 0 10px 25px rgba(var(--rw-specialist-accent-rgb), 0.22);
    font-size: 13px;
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.rw-specialist-copy h1 {
    max-width: 14ch;
    margin: 0 0 14px;
    color: var(--rw-specialist-ink);
    font-size: clamp(36px, 4.35vw, 58px);
    font-weight: 900;
    line-height: 0.99;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.rw-specialist-copy > p {
    max-width: 660px;
    margin: 0 0 20px;
    color: var(--rw-specialist-copy);
    font-size: clamp(14px, 1.22vw, 17px);
    line-height: 1.6;
}

.rw-specialist-copy > .rw-specialist-note {
    max-width: 650px;
    margin: 18px 0 0;
    padding: 11px 14px;
    color: var(--rw-specialist-copy);
    background: rgba(var(--rw-specialist-accent-rgb), 0.07);
    border-left: 3px solid var(--rw-specialist-accent);
    border-radius: 0 11px 11px 0;
    font-size: 12.5px;
    line-height: 1.5;
}

.rw-specialist-copy > .rw-specialist-note strong {
    color: var(--rw-specialist-ink);
}

.rw-specialist-copy a:not(.trg-btn) {
    color: var(--rw-specialist-accent);
    font-weight: 750;
    text-underline-offset: 3px;
}

.rw-specialist-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 24px;
    margin: 0;
    padding: 0;
    color: var(--rw-specialist-copy);
    list-style: none;
}

.rw-specialist-features > * {
    position: relative;
    min-width: 0;
    margin: 0;
    padding: 2px 0 2px 24px;
    font-size: 13.5px;
    line-height: 1.42;
}

.rw-specialist-features > *::before {
    position: absolute;
    top: 3px;
    left: 0;
    width: 17px;
    height: 17px;
    display: grid;
    place-items: center;
    content: "\2713";
    color: #fff;
    background: linear-gradient(135deg, var(--rw-specialist-accent), var(--rw-specialist-accent-2));
    border-radius: 50%;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(var(--rw-specialist-accent-rgb), 0.2);
}

.rw-specialist-copy label[for="npoPageSlider"] {
    width: fit-content;
    display: block;
    margin: 0;
    color: var(--rw-specialist-ink);
    font-size: 13px;
    font-weight: 800;
}

.rw-specialist-page-selector {
    width: min(100%, 540px);
    margin: 19px 0 22px;
    padding: 15px 17px 13px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(var(--rw-specialist-accent-rgb), 0.16);
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.rw-specialist-page-selector-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.rw-specialist-page-selector-heading > div {
    display: flex;
    align-items: baseline;
    gap: 8px;
    color: var(--rw-specialist-muted);
    font-size: 10.5px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.055em;
}

.rw-specialist-copy #npoPageCount {
    min-width: 34px;
    display: inline-grid;
    place-items: center;
    padding: 5px 9px;
    color: #fff;
    background: linear-gradient(135deg, var(--rw-specialist-accent-deep), var(--rw-specialist-accent));
    border-radius: 999px;
    box-shadow: 0 6px 15px rgba(var(--rw-specialist-accent-rgb), 0.2);
    font-size: 17px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.rw-specialist-copy #npoPageSlider {
    --rw-slider-progress: 0%;
    width: min(100%, 510px);
    height: 7px;
    display: block;
    margin: 15px 0 10px;
    appearance: none;
    -webkit-appearance: none;
    background: linear-gradient(
        to right,
        var(--rw-specialist-accent) 0,
        var(--rw-specialist-accent) var(--rw-slider-progress),
        #d9e1eb var(--rw-slider-progress),
        #d9e1eb 100%
    );
    border: 0;
    border-radius: 999px;
    cursor: pointer;
}

.rw-specialist-page-selector-scale {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--rw-specialist-muted);
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1.3;
}

.rw-specialist-copy #npoPageSlider::-webkit-slider-thumb {
    width: 23px;
    height: 23px;
    appearance: none;
    -webkit-appearance: none;
    background: #fff;
    border: 6px solid var(--rw-specialist-accent);
    border-radius: 50%;
    box-shadow: 0 4px 13px rgba(var(--rw-specialist-accent-rgb), 0.28);
}

.rw-specialist-copy #npoPageSlider::-moz-range-thumb {
    width: 23px;
    height: 23px;
    background: #fff;
    border: 6px solid var(--rw-specialist-accent);
    border-radius: 50%;
    box-shadow: 0 4px 13px rgba(var(--rw-specialist-accent-rgb), 0.28);
}

.rw-specialist-copy #npoPageSlider:focus-visible {
    outline: 3px solid rgba(var(--rw-specialist-accent-rgb), 0.24);
    outline-offset: 7px;
}

.rw-specialist-purchase-card {
    position: relative;
    isolation: isolate;
    width: 100%;
    max-width: 470px;
    min-width: 0;
    justify-self: end;
    padding: 0;
    color: var(--rw-specialist-ink);
    background:
        linear-gradient(var(--rw-specialist-surface), var(--rw-specialist-surface)) padding-box,
        linear-gradient(145deg, rgba(var(--rw-specialist-accent-rgb), 0.5), rgba(255, 255, 255, 0.82), rgba(var(--rw-specialist-accent-rgb), 0.22)) border-box;
    border: 1px solid transparent;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(15, 23, 42, 0.16), 0 10px 28px rgba(var(--rw-specialist-accent-rgb), 0.08);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.rw-specialist-total {
    min-height: 148px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 26px;
    color: #fff;
    background:
        radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.19), transparent 32%),
        linear-gradient(140deg, var(--rw-specialist-accent-deep), var(--rw-specialist-accent) 66%, var(--rw-specialist-accent-2));
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 27px 27px 0 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 14px 30px rgba(var(--rw-specialist-accent-rgb), 0.18);
}

.rw-specialist-total :is(p, small) {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.35;
}

.rw-specialist-total > span:first-child,
.rw-specialist-total > p:first-child {
    margin-bottom: 7px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 11.5px;
    font-weight: 850;
    letter-spacing: 0.085em;
    text-transform: uppercase;
}

.rw-specialist-total :is(strong, .rw-specialist-total-amount) {
    display: block;
    margin: 0 0 9px;
    color: #fff;
    font-size: clamp(46px, 4.4vw, 61px);
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    letter-spacing: -0.045em;
}

.rw-specialist-payment-subcard {
    margin: 0;
    padding: 16px 20px 12px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.rw-specialist-payment-subcard > :is(h2, h3, h4) {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 2px 2px 9px;
    color: var(--rw-specialist-ink);
    font-size: 13.5px;
    font-weight: 850;
    line-height: 1.25;
}

.rw-specialist-payment-subcard > :is(h2, h3, h4)::before {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    flex: 0 0 22px;
    content: "\2713";
    color: #fff;
    background: linear-gradient(135deg, var(--rw-specialist-accent-deep), var(--rw-specialist-accent));
    border-radius: 50%;
    font-size: 11px;
    font-weight: 900;
}

.rw-specialist-payment-action {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 4px 12px;
    padding: 13px 2px;
    background: transparent;
    border: 0;
}

.rw-specialist-payment-action + .rw-specialist-payment-action {
    border-top: 1px solid var(--rw-specialist-line);
}

.rw-specialist-payment-action > div:first-child {
    grid-column: 1 / -1;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.rw-specialist-payment-action > :is(h3, h4, h5),
.rw-specialist-payment-action > div:first-child > :is(h3, h4, h5) {
    margin: 0;
    color: var(--rw-specialist-ink);
    font-size: 13.5px;
    font-weight: 800;
    line-height: 1.25;
}

.rw-specialist-payment-action > :is(strong, .rw-specialist-payment-amount),
.rw-specialist-payment-action > div:first-child > :is(strong, .rw-specialist-payment-amount) {
    margin: 0;
    color: var(--rw-specialist-ink);
    padding: 5px 9px;
    background: rgba(var(--rw-specialist-accent-rgb), 0.08);
    border: 1px solid rgba(var(--rw-specialist-accent-rgb), 0.12);
    border-radius: 999px;
    font-size: 16px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    white-space: nowrap;
}

.rw-specialist-payment-action > p {
    grid-column: 1 / -1;
    display: block;
    margin: -1px 0 5px;
    color: var(--rw-specialist-muted);
    font-size: 10.5px;
    line-height: 1.35;
}

.rw-specialist-payment-action > form {
    grid-column: 1 / -1;
    width: 100%;
    margin: 0;
}

.rw-specialist-payment-action :is(.payfast-button, button[type="submit"]) {
    width: 100% !important;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 10px 13px !important;
    color: #fff !important;
    background: linear-gradient(135deg, var(--rw-specialist-accent), var(--rw-specialist-accent-2)) !important;
    border: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 13px !important;
    box-shadow: 0 9px 20px rgba(var(--rw-specialist-accent-rgb), 0.16) !important;
    font-family: inherit;
    font-size: 13.5px !important;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: transform 170ms ease, filter 170ms ease, box-shadow 170ms ease;
}

.rw-specialist-payment-action[data-payment-kind="balance"] :is(.payfast-button, button[type="submit"]) {
    background: linear-gradient(135deg, #334155, #0f172a) !important;
    box-shadow: 0 9px 20px rgba(15, 23, 42, 0.16) !important;
}

.rw-specialist-payment-action[data-payment-kind="full"] :is(.payfast-button, button[type="submit"]) {
    background: linear-gradient(135deg, var(--rw-specialist-accent-deep), var(--rw-specialist-accent)) !important;
    box-shadow: 0 9px 22px rgba(var(--rw-specialist-accent-rgb), 0.22) !important;
}

.rw-specialist-payment-action :is(.payfast-button, button[type="submit"]):hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14) !important;
}

.rw-specialist-payment-action :is(.payfast-button, button[type="submit"]):active {
    transform: translateY(0);
}

.rw-specialist-payment-action :is(.payfast-button, button[type="submit"]):focus-visible {
    outline: 3px solid rgba(var(--rw-specialist-accent-rgb), 0.25);
    outline-offset: 3px;
}

.rw-specialist-discuss {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 20px 18px;
    padding: 11px 15px;
    color: var(--rw-specialist-accent);
    background: rgba(var(--rw-specialist-accent-rgb), 0.08);
    border: 1px solid rgba(var(--rw-specialist-accent-rgb), 0.24);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: color 170ms ease, background 170ms ease, border-color 170ms ease, transform 170ms ease;
}

.rw-specialist-discuss:hover,
.rw-specialist-discuss:focus-visible {
    color: #fff;
    background: linear-gradient(135deg, var(--rw-specialist-accent), var(--rw-specialist-accent-2));
    border-color: transparent;
    outline: none;
    transform: translateY(-1px);
}

.rw-specialist-discuss:focus-visible {
    box-shadow: 0 0 0 4px rgba(var(--rw-specialist-accent-rgb), 0.19);
}

.rw-specialist-purchase-note {
    margin: 11px 2px 1px;
    color: var(--rw-specialist-muted);
    font-size: 11.5px;
    line-height: 1.45;
    text-align: left;
}

.rw-specialist-learn-more {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 0 0 clamp(46px, 7vw, 82px);
    color: var(--rw-specialist-copy);
}

.rw-specialist-learn-more > summary {
    width: fit-content;
    min-width: 164px;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-inline: auto;
    padding: 11px 20px;
    color: var(--rw-specialist-accent);
    background: rgba(var(--rw-specialist-accent-rgb), 0.08);
    border: 1px solid rgba(var(--rw-specialist-accent-rgb), 0.22);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.2;
    list-style: none;
    cursor: pointer;
    user-select: none;
    transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.rw-specialist-learn-more > summary::-webkit-details-marker {
    display: none;
}

.rw-specialist-learn-more > summary::after {
    content: "+";
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    transition: transform 180ms ease;
}

.rw-specialist-learn-more > summary:hover,
.rw-specialist-learn-more > summary:focus-visible {
    color: #fff;
    background: linear-gradient(135deg, var(--rw-specialist-accent), var(--rw-specialist-accent-2));
    border-color: transparent;
    outline: none;
    transform: translateY(-1px);
}

.rw-specialist-learn-more > summary:focus-visible {
    box-shadow: 0 0 0 4px rgba(var(--rw-specialist-accent-rgb), 0.2);
}

.rw-specialist-learn-more[open] {
    width: 100%;
    margin-bottom: clamp(32px, 5vw, 64px);
    padding: clamp(18px, 3vw, 34px) 0 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.rw-specialist-learn-more[open] > summary {
    margin-bottom: clamp(24px, 3vw, 38px);
}

.rw-specialist-learn-more[open] > summary::after {
    content: "\2212";
    transform: rotate(180deg);
}

.rw-specialist-learn-more > :not(summary) {
    color: var(--rw-specialist-copy);
}

.rw-specialist-learn-more-content {
    width: 100%;
}

.rw-specialist-learn-more :is(h2, h3, h4) {
    color: var(--rw-specialist-ink);
}

.rw-specialist-learn-more .rw-service-hero h2 {
    max-width: 780px;
    margin: 20px 0 22px;
    color: var(--rw-specialist-ink);
    font-size: clamp(38px, 5.4vw, 68px);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1.02;
}

.rw-specialist-learn-more :is(.rw-service-main, .rw-service-section, .rw-service-hero, .rw-service-proof, .rw-service-cta) {
    background: transparent !important;
    background-image: none !important;
}

.rw-specialist-learn-more .rw-service-main {
    padding: 0;
}

html[data-theme="dark"] body.rw-specialist-package-page {
    --rw-specialist-canvas: #0f1624;
    --rw-specialist-surface: rgba(21, 31, 50, 0.95);
    --rw-specialist-surface-soft: rgba(30, 41, 59, 0.78);
    --rw-specialist-ink: #f1f5f9;
    --rw-specialist-copy: #b4c0d2;
    --rw-specialist-muted: #91a0b7;
    --rw-specialist-line: rgba(148, 163, 184, 0.18);
    --rw-specialist-shadow: 0 26px 66px rgba(0, 0, 0, 0.35);
    background: var(--rw-specialist-canvas) !important;
    background-image: none !important;
}

html[data-theme="dark"] .rw-specialist-copy #npoPageSlider {
    background: linear-gradient(
        to right,
        var(--rw-specialist-accent) 0,
        var(--rw-specialist-accent) var(--rw-slider-progress),
        #354158 var(--rw-slider-progress),
        #354158 100%
    );
}

html[data-theme="dark"] .rw-specialist-page-selector {
    background: rgba(21, 31, 50, 0.82);
    border-color: rgba(var(--rw-specialist-accent-rgb), 0.25);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

html[data-theme="dark"] .rw-specialist-copy #npoPageSlider::-webkit-slider-thumb,
html[data-theme="dark"] .rw-specialist-copy #npoPageSlider::-moz-range-thumb {
    background: #172238;
}

html[data-theme="dark"] .rw-specialist-learn-more > summary {
    color: #ddd6fe;
    background: rgba(var(--rw-specialist-accent-rgb), 0.14);
    border-color: rgba(var(--rw-specialist-accent-rgb), 0.32);
}

html[data-theme="dark"] [data-package="npo"] .rw-specialist-learn-more > summary {
    color: #bbf7d0;
}

html[data-theme="dark"] .rw-specialist-learn-more > summary:hover,
html[data-theme="dark"] .rw-specialist-learn-more > summary:focus-visible,
html[data-theme="dark"] [data-package="npo"] .rw-specialist-learn-more > summary:hover,
html[data-theme="dark"] [data-package="npo"] .rw-specialist-learn-more > summary:focus-visible {
    color: #fff;
    background: linear-gradient(135deg, var(--rw-specialist-accent), var(--rw-specialist-accent-2));
    border-color: transparent;
}

@media (min-width: 900px) and (orientation: landscape) and (max-height: 720px) {
    .rw-specialist-stage {
        padding-top: 17px;
        padding-bottom: 25px;
    }

    .rw-specialist-layout {
        gap: clamp(30px, 4.5vw, 60px);
    }

    .rw-specialist-title-badge {
        min-height: 32px;
        margin-bottom: 11px;
        padding-block: 6px;
    }

    .rw-specialist-copy h1 {
        margin-bottom: 10px;
        font-size: clamp(34px, 4vw, 49px);
    }

    .rw-specialist-copy > p {
        margin-bottom: 14px;
        font-size: 14px;
    }

    .rw-specialist-features {
        gap-block: 6px;
    }

    .rw-specialist-features > * {
        font-size: 12.5px;
    }

    .rw-specialist-purchase-card {
        padding: 0;
    }

    .rw-specialist-total {
        min-height: 108px;
        padding: 16px 19px;
    }

    .rw-specialist-payment-action {
        padding-block: 8px;
    }
}

@media (max-width: 899px), (orientation: portrait) {
    .rw-specialist-stage {
        min-height: auto;
        padding: clamp(24px, 5vw, 46px) 0 34px;
        overflow: hidden;
    }

    .rw-specialist-layout {
        width: min(720px, calc(100% - 36px));
        grid-template-columns: minmax(0, 1fr);
        gap: 25px;
    }

    .rw-specialist-copy {
        padding: 0;
    }

    .rw-specialist-copy h1 {
        max-width: 16ch;
        font-size: clamp(34px, 8vw, 52px);
    }

    .rw-specialist-purchase-card {
        max-width: 620px;
        justify-self: stretch;
    }

    .rw-specialist-learn-more {
        width: min(720px, calc(100% - 36px));
        padding-bottom: 58px;
    }
}

@media (max-width: 560px) {
    .rw-specialist-stage {
        padding-top: 21px;
    }

    .rw-specialist-layout,
    .rw-specialist-learn-more {
        width: min(720px, calc(100% - 28px));
    }

    .rw-specialist-title-badge {
        min-height: 32px;
        margin-bottom: 12px;
        padding: 7px 13px;
        font-size: 11px;
    }

    .rw-specialist-copy h1 {
        margin-bottom: 12px;
        font-size: clamp(32px, 10.5vw, 44px);
        line-height: 1.02;
    }

    .rw-specialist-copy > p {
        margin-bottom: 17px;
        font-size: 14px;
        line-height: 1.55;
    }

    .rw-specialist-features {
        grid-template-columns: minmax(0, 1fr);
        gap: 7px;
    }

    .rw-specialist-features > * {
        font-size: 13px;
    }

    .rw-specialist-purchase-card {
        padding: 12px;
        border-radius: 20px;
    }

    .rw-specialist-total {
        min-height: 112px;
        padding: 18px;
        border-radius: 15px;
    }

    .rw-specialist-total :is(strong, .rw-specialist-total-amount) {
        font-size: 42px;
    }

    .rw-specialist-payment-subcard {
        margin-top: 0;
        padding: 14px 16px 10px;
        border-radius: 0;
    }

    .rw-specialist-payment-action {
        gap-inline: 8px;
        padding-block: 9px;
    }

    .rw-specialist-payment-action > :is(h3, h4, h5),
    .rw-specialist-payment-action > div:first-child > :is(h3, h4, h5) {
        font-size: 12px;
    }

    .rw-specialist-payment-action > :is(strong, .rw-specialist-payment-amount),
    .rw-specialist-payment-action > div:first-child > :is(strong, .rw-specialist-payment-amount) {
        font-size: 15px;
    }

    .rw-specialist-learn-more[open] {
        padding: 16px 0 0;
        border-radius: 0;
    }

    .rw-specialist-page-selector {
        margin-block: 16px 20px;
        padding: 13px 14px 12px;
    }

    .rw-specialist-page-selector-heading > div > span {
        display: none;
    }

    .rw-specialist-discuss {
        margin: 0 16px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rw-specialist-payment-action :is(.payfast-button, button[type="submit"]),
    .rw-specialist-discuss,
    .rw-specialist-learn-more > summary,
    .rw-specialist-learn-more > summary::after {
        transition: none;
    }
}
