:root {
    --rx-ink: #13231d;
    --rx-muted: #61716a;
    --rx-line: #dfe8e3;
    --rx-soft: #f4f8f6;
    --rx-green: #127447;
    --rx-green-dark: #0b5534;
    --rx-green-soft: #e8f6ee;
    --rx-gold: #d6a837;
    --rx-danger: #b42318;
    --rx-shadow: 0 18px 46px rgba(18, 58, 40, 0.10);
}

.rx-one-page,
.rx-one-page * {
    box-sizing: border-box;
}

.rx-one-page {
    margin: 0;
    color: var(--rx-ink);
    background: #f7faf8;
    font-family: Inter, Arial, sans-serif !important;
}

.rx-one-page input,
.rx-one-page select,
.rx-one-page button {
    font: inherit;
}

.rx-one-main {
    width: min(1220px, calc(100% - 32px));
    margin: 14px auto 70px;
}

.rx-one-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 26px;
    align-items: start;
}

.rx-one-form-column {
    display: grid;
    gap: 18px;
}

.rx-section {
    padding: 26px;
    border: 1px solid var(--rx-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(18, 58, 40, .055);
}

.rx-section-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
}

.rx-section-number {
    flex: 0 0 36px;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: #fff;
    border-radius: 11px;
    background: linear-gradient(145deg, var(--rx-green), var(--rx-green-dark));
    font-weight: 800;
    box-shadow: 0 8px 16px rgba(18, 116, 71, .18);
}

.rx-section-head h2 {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -.025em;
}

.rx-section-head p {
    margin: 5px 0 0;
    color: var(--rx-muted);
    font-size: 13px;
    line-height: 1.45;
}

.rx-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.rx-contact-grid .rx-field {
    margin: 0;
}

.rx-field {
    display: grid;
    gap: 7px;
}

.rx-field + .rx-field,
.rx-question + .rx-question,
.rx-field + .rx-question,
.rx-question + .rx-field {
    margin-top: 21px;
}

.rx-field label,
.rx-question-title {
    color: #263b31;
    font-size: 13px;
    font-weight: 750;
}

.rx-field label small {
    color: #819087;
    font-weight: 500;
}

.rx-field input,
.rx-field select,
.rx-rx-row input {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    color: var(--rx-ink);
    border: 1px solid #cfdcd5;
    border-radius: 11px;
    outline: none;
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.rx-field input:focus,
.rx-field select:focus,
.rx-rx-row input:focus {
    border-color: var(--rx-green);
    box-shadow: 0 0 0 4px rgba(18, 116, 71, .11);
}

.rx-field input.rx-invalid,
.rx-field select.rx-invalid {
    border-color: var(--rx-danger);
    background: #fff8f7;
}

.rx-field-error {
    display: block;
    min-height: 2px;
    color: var(--rx-danger);
    font-size: 12px;
    font-weight: 650;
}

.rx-choice-grid {
    display: grid;
    gap: 12px;
    margin-top: 10px;
}

.rx-choice-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rx-choice-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rx-image-choice,
.rx-lens-choice,
.rx-material-choice,
.rx-coating-choice,
.rx-service-choice,
.rx-toggle-card {
    position: relative;
    display: block;
    margin: 0;
    cursor: pointer;
}

.rx-image-choice > input,
.rx-lens-choice > input,
.rx-material-choice > input,
.rx-service-choice > input,
.rx-toggle-card > input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.rx-image-choice-box {
    position: relative;
    display: flex;
    min-height: 92px;
    align-items: center;
    gap: 14px;
    padding: 13px 42px 13px 14px;
    border: 1px solid #d7e2dc;
    border-radius: 15px;
    background: #fff;
    transition: .18s ease;
}

.rx-image-choice-box img {
    flex: 0 0 72px;
    width: 72px !important;
    max-width: 72px !important;
    height: 48px !important;
    margin: 0 !important;
    object-fit: contain;
    border-radius: 8px;
    background: #f6f8f7;
}

.rx-image-choice-small .rx-image-choice-box {
    display: grid;
    min-height: 112px;
    justify-items: center;
    align-content: center;
    gap: 8px;
    padding: 12px 30px 12px 12px;
    text-align: center;
}

.rx-image-choice-small .rx-image-choice-box img {
    width: 74px !important;
    max-width: 74px !important;
    height: 46px !important;
}

.rx-image-choice-box strong,
.rx-lens-copy strong {
    display: block;
    color: #1b3428;
    font-size: 14px;
    line-height: 1.3;
}

.rx-image-choice-box small,
.rx-lens-copy small {
    display: block;
    margin-top: 3px;
    color: var(--rx-muted);
    font-size: 11px;
    line-height: 1.4;
}

.rx-image-choice-box i,
.rx-lens-choice-box i,
.rx-material-choice-box i {
    position: absolute;
    top: 10px;
    right: 10px;
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    color: transparent;
    border: 1px solid #c8d5ce;
    border-radius: 50%;
    background: #fff;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
}

.rx-image-choice:hover .rx-image-choice-box,
.rx-lens-choice:hover .rx-lens-choice-box,
.rx-material-choice:hover .rx-material-choice-box {
    border-color: #9bc8b0;
    transform: translateY(-1px);
}

.rx-image-choice > input:checked + .rx-image-choice-box,
.rx-lens-choice > input:checked + .rx-lens-choice-box,
.rx-material-choice > input:checked + .rx-material-choice-box {
    border-color: var(--rx-green);
    background: var(--rx-green-soft);
    box-shadow: 0 0 0 3px rgba(18, 116, 71, .08);
}

.rx-image-choice > input:checked + .rx-image-choice-box i,
.rx-lens-choice > input:checked + .rx-lens-choice-box i,
.rx-material-choice > input:checked + .rx-material-choice-box i {
    color: #fff;
    border-color: var(--rx-green);
    background: var(--rx-green);
}

.rx-lens-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
}

.rx-lens-choice-box {
    position: relative;
    display: flex;
    min-height: 100px;
    align-items: center;
    gap: 13px;
    padding: 13px 40px 13px 13px;
    border: 1px solid #d7e2dc;
    border-radius: 15px;
    background: #fff;
    transition: .18s ease;
}

.rx-lens-choice-box img {
    flex: 0 0 66px;
    width: 66px !important;
    max-width: 66px !important;
    height: 50px !important;
    margin: 0 !important;
    object-fit: contain;
    border-radius: 8px;
    background: #f7f9f8;
}

.rx-empty-state {
    padding: 18px;
    color: #718078;
    text-align: center;
    border: 1px dashed #cddbd3;
    border-radius: 13px;
    background: #f8fbf9;
    font-size: 13px;
}

.rx-inline-notice {
    display: grid;
    gap: 4px;
    padding: 15px 16px;
    color: #315a45;
    border: 1px solid #cbe3d5;
    border-radius: 13px;
    background: #eff9f3;
}

.rx-inline-notice strong {
    font-size: 14px;
}

.rx-inline-notice span {
    font-size: 12px;
    line-height: 1.55;
}

.rx-field-narrow {
    max-width: 380px;
}

.rx-prescription-mode {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 17px;
}

.rx-toggle-card > span {
    display: grid;
    gap: 3px;
    min-height: 72px;
    padding: 13px 14px;
    border: 1px solid #d6e1db;
    border-radius: 13px;
    background: #fff;
}

.rx-toggle-card strong {
    font-size: 13px;
}

.rx-toggle-card small {
    color: var(--rx-muted);
    font-size: 11px;
    line-height: 1.4;
}

.rx-toggle-card > input:checked + span {
    border-color: var(--rx-green);
    background: var(--rx-green-soft);
    box-shadow: 0 0 0 3px rgba(18, 116, 71, .07);
}

.rx-rx-table {
    overflow: hidden;
    border: 1px solid #d9e3de;
    border-radius: 14px;
}

.rx-rx-head,
.rx-rx-row {
    display: grid;
    grid-template-columns: 90px repeat(4, minmax(0, 1fr));
    gap: 8px;
    align-items: center;
    padding: 10px;
}

.rx-rx-head {
    color: #53665c;
    background: #f1f6f3;
    font-size: 11px;
    font-weight: 750;
    text-align: center;
}

.rx-rx-row + .rx-rx-row {
    border-top: 1px solid #e1e9e5;
}

.rx-rx-row strong {
    display: grid;
    color: #234231;
    font-size: 13px;
}

.rx-rx-row strong small {
    color: #87958e;
    font-size: 10px;
    font-weight: 500;
}

.rx-rx-row input {
    min-height: 42px;
    padding: 8px 9px;
    text-align: center;
}

.rx-pd-field {
    margin-top: 14px;
}

.rx-help-details {
    margin-top: 14px;
    border: 1px solid #dce6e1;
    border-radius: 12px;
    background: #fbfdfc;
}

.rx-help-details summary {
    padding: 13px 15px;
    color: #315342;
    cursor: pointer;
    font-size: 14px;
    font-weight: 750;
}

.rx-help-details p {
    margin: 0;
    padding: 0 15px 14px;
    color: var(--rx-muted);
    font-size: 14px;
    line-height: 1.65;
}

.rx-help-details a {
    color: #087443;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.rx-help-details a:hover,
.rx-help-details a:focus {
    color: #064f31;
    text-decoration-thickness: 2px;
}

.rx-material-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.rx-material-choice-box {
    position: relative;
    display: grid;
    gap: 6px;
    min-height: 95px;
    padding: 13px 42px 13px 14px;
    border: 1px solid #d8e3dd;
    border-radius: 14px;
    background: #fff;
    transition: .18s ease;
}

.rx-material-title-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: flex-start;
}

.rx-material-title-row strong {
    color: #1d382b;
    font-size: 12px;
    line-height: 1.35;
}

.rx-material-price {
    color: var(--rx-green-dark);
    font-size: 13px;
    white-space: nowrap;
}

.rx-material-choice-box small {
    color: var(--rx-muted);
    font-size: 10px;
    line-height: 1.45;
}

.rx-coating-groups {
    display: grid;
    gap: 10px;
}

.rx-coating-group {
    overflow: hidden;
    border: 1px solid #d9e4de;
    border-radius: 14px;
    background: #fff;
}

.rx-coating-group > summary {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 15px 16px;
    color: #244232;
    cursor: pointer;
    list-style: none;
    background: #f7faf8;
    font-size: 13px;
    font-weight: 780;
}

.rx-coating-group > summary::-webkit-details-marker {
    display: none;
}

.rx-coating-group > summary small {
    color: #7c8c84;
    font-size: 10px;
    font-weight: 600;
}

.rx-coating-summary-meta {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
}

.rx-coating-expand-icon {
    position: relative;
    display: inline-grid;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid #cbd9d1;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 3px 8px rgba(18, 58, 40, .06);
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.rx-coating-expand-icon::before,
.rx-coating-expand-icon::after {
    position: absolute;
    width: 10px;
    height: 2px;
    border-radius: 2px;
    background: var(--rx-green-dark);
    content: '';
    transition: transform .18s ease, opacity .18s ease;
}

.rx-coating-expand-icon::after {
    transform: rotate(90deg);
}

.rx-coating-group[open] .rx-coating-expand-icon {
    border-color: #9fc9b2;
    background: var(--rx-green-soft);
}

.rx-coating-group[open] .rx-coating-expand-icon::after {
    opacity: 0;
    transform: rotate(90deg) scaleX(0);
}

.rx-coating-group > summary:hover .rx-coating-expand-icon,
.rx-coating-group > summary:focus-visible .rx-coating-expand-icon {
    border-color: var(--rx-green);
    transform: scale(1.04);
}

.rx-coating-group > summary:focus-visible {
    outline: 3px solid rgba(18, 116, 71, .14);
    outline-offset: -3px;
}

.rx-coating-list {
    display: grid;
}

.rx-coating-choice {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    gap: 11px;
    align-items: center;
    padding: 12px 15px;
    border-top: 1px solid #edf1ef;
}

.rx-coating-choice:hover {
    background: #fbfdfc;
}

.rx-coating-choice input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.rx-coating-check {
    display: grid;
    width: 21px;
    height: 21px;
    place-items: center;
    color: transparent;
    border: 1px solid #bdcbc4;
    border-radius: 6px;
    background: #fff;
    font-size: 11px;
    font-weight: 900;
}

.rx-coating-choice input:checked + .rx-coating-check {
    color: #fff;
    border-color: var(--rx-green);
    background: var(--rx-green);
}

.rx-coating-copy {
    display: grid;
    gap: 2px;
}

.rx-coating-copy strong {
    color: #263e32;
    font-size: 12px;
}

.rx-coating-copy small {
    color: #73827a;
    font-size: 10px;
    line-height: 1.45;
}

.rx-coating-choice > b {
    color: #274d3a;
    font-size: 12px;
}

.rx-address-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.rx-address-grid .rx-field + .rx-field {
    margin-top: 0;
}

.rx-span-two {
    grid-column: 1 / -1;
}

.rx-service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
    margin-top: 20px;
}

.rx-service-choice > span {
    display: grid;
    min-height: 96px;
    align-content: center;
    gap: 3px;
    padding: 14px;
    border: 1px solid #d7e2dc;
    border-radius: 14px;
    background: #fff;
}

.rx-service-choice strong {
    color: #213d2f;
    font-size: 13px;
}

.rx-service-choice small {
    color: var(--rx-muted);
    font-size: 10px;
}

.rx-service-choice b {
    margin-top: 4px;
    color: var(--rx-green-dark);
    font-size: 12px;
}

.rx-service-choice > input:checked + span {
    border-color: var(--rx-green);
    background: var(--rx-green-soft);
    box-shadow: 0 0 0 3px rgba(18, 116, 71, .07);
}

.rx-summary-column {
    /* The site top bar and navigation are fixed. Keep the order card below them. */
    --rx-summary-sticky-top: calc(var(--vsc-topbar-height, 35px) + 92px);
    position: -webkit-sticky !important;
    position: sticky !important;
    top: var(--rx-summary-sticky-top) !important;
    z-index: 20;
    align-self: start !important;
    height: max-content;
    max-height: calc(100vh - var(--rx-summary-sticky-top) - 16px);
}

/* Keep the changing order total visible while the desktop form scrolls. */
.rx-summary-card {
    max-height: calc(100vh - var(--rx-summary-sticky-top) - 16px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

.rx-summary-card {
    border: 1px solid #d9e5de;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--rx-shadow);
}

.rx-summary-head {
    display: grid;
    gap: 3px;
    padding: 18px 19px;
    color: #fff;
    background: linear-gradient(145deg, var(--rx-green), var(--rx-green-dark));
}

.rx-summary-head span {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.rx-summary-head small {
    font-size: 10px;
    opacity: .78;
}

.rx-summary-selection,
.rx-summary-prices {
    display: grid;
    gap: 12px;
    padding: 18px 19px;
}

.rx-summary-selection {
    border-bottom: 1px solid #e5ece8;
}

.rx-summary-selection div,
.rx-summary-prices div,
.rx-summary-total {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: flex-start;
}

.rx-summary-selection span,
.rx-summary-prices span {
    flex: 0 0 84px;
    color: #7b8a82;
    font-size: 10px;
}

.rx-summary-selection strong {
    color: #263e32;
    text-align: right;
    font-size: 10px;
    line-height: 1.45;
}

.rx-summary-prices {
    gap: 9px;
}

.rx-summary-prices b {
    color: #2c493a;
    font-size: 11px;
}

.rx-summary-total {
    margin: 0 19px;
    padding: 16px 0;
    border-top: 1px solid #dde6e1;
}

.rx-summary-total span {
    color: #3c5448;
    font-size: 12px;
    font-weight: 700;
}

.rx-summary-total strong {
    color: var(--rx-green-dark);
    font-size: 24px;
    letter-spacing: -.04em;
}

.rx-summary-help {
    display: grid;
    gap: 3px;
    margin: 0 12px 12px;
    padding: 13px 14px;
    color: #385747;
    border-radius: 12px;
    background: #f0f7f3;
}

.rx-summary-help strong {
    font-size: 11px;
}

.rx-summary-help span {
    font-size: 12px;
    font-weight: 750;
}

.rx-submit-button {
    display: flex;
    width: 100%;
    min-height: 58px;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: #fff;
    border: 0;
    border-radius: 15px;
    background: linear-gradient(145deg, var(--rx-green), var(--rx-green-dark));
    box-shadow: 0 14px 28px rgba(18, 116, 71, .22);
    cursor: pointer;
    font-weight: 800;
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.rx-submit-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 17px 32px rgba(18, 116, 71, .27);
}

.rx-submit-button:disabled {
    cursor: wait;
    opacity: .7;
}

.rx-submit-button b {
    font-size: 21px;
}

.rx-submit-note {
    margin: -6px 0 0;
    color: #7b8982;
    text-align: center;
    font-size: 10px;
}

.rx-mobile-total {
    display: none;
}

.rx-saving-overlay {
    position: fixed;
    z-index: 999999;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(9, 31, 21, .58);
    backdrop-filter: blur(5px);
}

.rx-saving-overlay[hidden] {
    display: none;
}

.rx-saving-box {
    display: grid;
    min-width: min(330px, 92vw);
    justify-items: center;
    gap: 7px;
    padding: 30px;
    color: #173326;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 25px 70px rgba(0, 0, 0, .26);
}

.rx-saving-box strong {
    margin-top: 4px;
    font-size: 17px;
}

.rx-saving-box small {
    color: #75847c;
    font-size: 11px;
}

.rx-spinner {
    width: 35px;
    height: 35px;
    border: 4px solid #dcebe3;
    border-top-color: var(--rx-green);
    border-radius: 50%;
    animation: rx-spin .75s linear infinite;
}

@keyframes rx-spin {
    to { transform: rotate(360deg); }
}

[hidden] {
    display: none !important;
}

@media (max-width: 980px) {
    .rx-one-layout {
        grid-template-columns: minmax(0, 1fr) 290px;
        gap: 18px;
    }

    .rx-section {
        padding: 21px;
    }

    .rx-lens-grid,
    .rx-material-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .rx-one-main {
        width: min(100% - 20px, 660px);
        margin-bottom: 40px;
    }

    .rx-one-layout {
        display: block;
    }

    .rx-summary-column {
        display: none;
        position: static !important;
        max-height: none;
    }

    .rx-section {
        padding: 18px 14px;
        border-radius: 17px;
    }

    .rx-section-head {
        gap: 11px;
        margin-bottom: 17px;
    }

    .rx-section-number {
        flex-basis: 32px;
        width: 32px;
        height: 32px;
        border-radius: 9px;
        font-size: 12px;
    }

    .rx-section-head h2 {
        font-size: 18px;
    }

    .rx-section-head p {
        font-size: 11px;
    }

    .rx-choice-grid-two,
    .rx-choice-grid-three,
    .rx-lens-grid,
    .rx-material-grid,
    .rx-prescription-mode,
    .rx-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rx-image-choice-box,
    .rx-lens-choice-box {
        display: grid;
        min-height: 126px;
        justify-items: center;
        align-content: center;
        gap: 8px;
        padding: 13px 25px 12px 12px;
        text-align: center;
    }

    .rx-image-choice-box img,
    .rx-image-choice-small .rx-image-choice-box img {
        width: 58px !important;
        max-width: 58px !important;
        height: 38px !important;
    }

    .rx-lens-choice-box img {
        width: 56px !important;
        max-width: 56px !important;
        height: 42px !important;
    }

    .rx-image-choice-box small {
        display: none;
    }

    .rx-lens-copy small {
        font-size: 9px;
        line-height: 1.35;
    }

    .rx-image-choice-box strong,
    .rx-lens-copy strong {
        font-size: 12px;
    }

    .rx-material-choice-box {
        min-height: 112px;
        padding: 12px 28px 12px 12px;
    }

    .rx-material-title-row {
        display: grid;
        gap: 4px;
    }

    .rx-material-choice-box small {
        font-size: 9px;
    }

    .rx-rx-table {
        overflow-x: auto;
    }

    .rx-rx-head,
    .rx-rx-row {
        min-width: 600px;
    }

    .rx-address-grid {
        grid-template-columns: 1fr;
    }

    .rx-span-two {
        grid-column: auto;
    }

    .rx-coating-choice {
        grid-template-columns: 21px minmax(0, 1fr) auto;
        gap: 9px;
        padding: 12px;
    }

    .rx-coating-group > summary {
        min-height: 62px;
        padding: 13px 14px;
        font-size: 14px;
    }

    .rx-coating-summary-meta {
        gap: 9px;
    }

    .rx-coating-expand-icon {
        flex-basis: 30px;
        width: 30px;
        height: 30px;
    }

    .rx-mobile-total {
        position: sticky;
        z-index: 50;
        bottom: 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 4px;
        padding: 13px 15px;
        color: #fff;
        border-radius: 14px;
        background: rgba(11, 67, 42, .96);
        box-shadow: 0 12px 34px rgba(8, 54, 33, .28);
        backdrop-filter: blur(8px);
    }

    .rx-mobile-total span {
        font-size: 11px;
        font-weight: 650;
    }

    .rx-mobile-total strong {
        font-size: 18px;
    }

    .rx-submit-button {
        min-height: 55px;
        font-size: 13px;
    }
}

@media (max-width: 390px) {
    .rx-choice-grid-two,
    .rx-choice-grid-three,
    .rx-lens-grid,
    .rx-material-grid,
    .rx-prescription-mode,
    .rx-service-grid {
        grid-template-columns: 1fr;
    }

    .rx-image-choice-box,
    .rx-lens-choice-box,
    .rx-image-choice-small .rx-image-choice-box {
        display: flex;
        min-height: 83px;
        justify-items: initial;
        align-content: initial;
        text-align: left;
    }
}

.rx-section-rx {
    font-size: 11px;
    letter-spacing: -.04em;
}

@media (max-width: 680px) {
    .rx-contact-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

/* One-page header accessibility and spacing fixes */
.rx-one-page a.action.skip.contentarea {
    position: fixed !important;
    top: 10px !important;
    left: -10000px !important;
    z-index: 1000000 !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    padding: 10px 14px !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    background: #0b5534 !important;
    text-decoration: none !important;
    clip: auto !important;
}

.rx-one-page a.action.skip.contentarea:focus,
.rx-one-page a.action.skip.contentarea:focus-visible {
    left: 12px !important;
}

#contentarea {
    scroll-margin-top: 16px;
}

/* The first card should read like the start of the order, not another banner. */
#section-frame .rx-section-head h2 {
    font-size: clamp(21px, 2vw, 25px);
}

#section-frame .rx-section-head p {
    max-width: 650px;
    font-size: 13px;
}

/* Hidden summary rows remain out of the layout until service is selected. */
#summaryServiceSelectionRow[hidden],
#summaryServicePriceRow[hidden] {
    display: none !important;
}

/* Keep the real desktop Tawk launcher clear of the form and page edge. */
@media (min-width: 768px) {
    iframe[title*="chat widget" i],
    iframe[src*="tawk.to"] {
        max-width: calc(100vw - 24px) !important;
    }
}



/* 2026-07-31: Reliable floating order summary.
   The shared header sets body overflow, which breaks native position:sticky.
   JavaScript fixes the card to the viewport while this column preserves its space. */
@media (min-width: 761px) {
    body.rx-one-page {
        overflow-y: visible !important;
    }

    .rx-one-page .rx-summary-column {
        position: relative !important;
        top: auto !important;
        z-index: 20;
        align-self: stretch !important;
        height: auto !important;
        max-height: none !important;
    }

    .rx-one-page .rx-summary-card {
        width: 100%;
        max-height: none;
        overflow-x: hidden;
        overflow-y: visible;
    }

    .rx-one-page .rx-summary-card.rx-summary-floating {
        position: fixed !important;
        z-index: 9990 !important;
        margin: 0 !important;
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: thin;
        will-change: top, left;
    }
}


/* 2026-07-31 v9: Make the exact missing choice group visibly obvious. */
.rx-invalid-group {
    outline: 2px solid var(--rx-danger);
    outline-offset: 5px;
    border-radius: 14px;
    background: rgba(180, 35, 24, .035);
    scroll-margin-top: 170px;
}

.rx-invalid-group .rx-image-choice-box,
.rx-invalid-group .rx-lens-choice-box,
.rx-invalid-group .rx-material-choice-box,
.rx-invalid-group .rx-service-choice > span,
.rx-invalid-group .rx-toggle-card > span {
    border-color: rgba(180, 35, 24, .55);
}

@media (max-width: 760px) {
    .rx-invalid-group {
        outline-offset: 3px;
        scroll-margin-top: 210px;
    }
}


/* 2026-07-31 v10: mobile overflow and text-scaling correction.
   iOS/Android browsers were enlarging text after the dynamic material grid opened,
   and the two-column material layout could extend beyond the phone viewport. */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body.rx-one-page {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.rx-one-main,
.rx-one-layout,
.rx-one-form-column,
.rx-section,
.rx-section-head,
.rx-section-head > div,
.rx-choice-grid,
.rx-lens-grid,
.rx-material-grid,
.rx-material-choice,
.rx-material-choice-box,
.rx-coating-groups,
.rx-coating-group,
.rx-coating-group > summary,
.rx-coating-list,
.rx-coating-choice,
.rx-coating-copy,
.rx-address-grid {
    min-width: 0;
    max-width: 100%;
}

.rx-material-choice,
.rx-material-choice-box,
.rx-coating-group,
.rx-coating-group > summary,
.rx-coating-choice {
    width: 100%;
}

.rx-section-head p,
.rx-material-title-row strong,
.rx-material-choice-box small,
.rx-coating-copy strong,
.rx-coating-copy small {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
}

@media (max-width: 760px) {
    .rx-one-main {
        width: calc(100% - 20px) !important;
        max-width: 660px !important;
        margin-right: auto !important;
        margin-left: auto !important;
        overflow: visible;
    }

    .rx-one-layout,
    .rx-one-form-column,
    .rx-section {
        width: 100% !important;
    }

    .rx-section {
        overflow: hidden;
    }

    /* Material names and descriptions need the full phone width. */
    .rx-one-page .rx-material-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 10px !important;
    }

    .rx-one-page .rx-material-choice-box {
        min-height: 0 !important;
        padding: 15px 46px 15px 15px !important;
    }

    .rx-one-page .rx-material-title-row {
        display: flex !important;
        min-width: 0;
        justify-content: space-between;
        align-items: flex-start;
        gap: 12px;
    }

    .rx-one-page .rx-material-title-row strong {
        min-width: 0;
        font-size: 15px !important;
        line-height: 1.35 !important;
    }

    .rx-one-page .rx-material-price {
        flex: 0 0 auto;
        font-size: 15px !important;
        line-height: 1.35 !important;
        white-space: nowrap !important;
    }

    .rx-one-page .rx-material-choice-box small {
        font-size: 12px !important;
        line-height: 1.5 !important;
    }

    .rx-one-page .rx-coating-group > summary {
        box-sizing: border-box !important;
        font-size: 15px !important;
        line-height: 1.3 !important;
    }

    .rx-one-page .rx-coating-summary-meta small {
        font-size: 11px !important;
        white-space: nowrap !important;
    }

    .rx-one-page .rx-coating-choice {
        box-sizing: border-box !important;
        grid-template-columns: 22px minmax(0, 1fr) max-content !important;
        align-items: start !important;
        gap: 10px !important;
        padding: 14px 13px !important;
    }

    .rx-one-page .rx-coating-check {
        margin-top: 2px;
    }

    .rx-one-page .rx-coating-copy strong {
        font-size: 14px !important;
        line-height: 1.35 !important;
    }

    .rx-one-page .rx-coating-copy small {
        font-size: 12px !important;
        line-height: 1.45 !important;
    }

    .rx-one-page .rx-coating-choice > b {
        align-self: center;
        font-size: 13px !important;
        line-height: 1.3 !important;
        white-space: nowrap !important;
    }

    .rx-one-page #section-coatings .rx-section-head p {
        max-width: 100% !important;
        font-size: 12px !important;
        line-height: 1.45 !important;
    }
}

/* Two columns are comfortable again on larger phones and small tablets. */
@media (min-width: 560px) and (max-width: 760px) {
    .rx-one-page .rx-material-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}


/* v11: "Not sure" assisted-selection path */
.rx-lens-help-icon {
    display: grid;
    flex: 0 0 66px;
    width: 66px;
    height: 50px;
    place-items: center;
    color: #0f7047;
    border: 1px solid #cfe4d8;
    border-radius: 10px;
    background: linear-gradient(145deg, #f6fbf8, #e8f5ed);
    font-size: 27px;
    line-height: 1;
    font-weight: 800;
}

.rx-lens-choice-assist .rx-lens-choice-box {
    border-style: dashed;
    border-color: #9fcab3;
    background: #fbfefc;
}

.rx-lens-choice-assist > input:checked + .rx-lens-choice-box {
    border-style: solid;
}

.rx-consultation-panel {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 17px;
    color: #173f2d;
    border: 1px solid #b9dac8;
    border-radius: 14px;
    background: linear-gradient(135deg, #f1faf5, #fbfefc);
}

.rx-consultation-icon {
    display: grid;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    place-items: center;
    color: #fff;
    border-radius: 50%;
    background: #117447;
    font-size: 15px;
    font-weight: 800;
}

.rx-consultation-panel strong {
    display: block;
    margin: 1px 0 4px;
    font-size: 15px;
    line-height: 1.35;
}

.rx-consultation-panel p {
    margin: 0;
    color: #567064;
    font-size: 13px;
    line-height: 1.55;
}

.rx-summary-total strong {
    white-space: nowrap;
}

@media (max-width: 760px) {
    .rx-lens-help-icon {
        flex-basis: 56px;
        width: 56px;
        height: 42px;
        font-size: 23px;
    }

    .rx-lens-choice-assist .rx-lens-choice-box {
        min-height: 126px;
    }

    .rx-consultation-panel {
        padding: 15px 14px;
    }

    .rx-consultation-panel strong {
        font-size: 14px;
    }

    .rx-consultation-panel p {
        font-size: 12px;
    }
}

/* v14: restore the larger, readable one-page form typography.
   Deliberately scoped under .rx-one-main so the existing site header/footer
   remain completely unchanged. */
.rx-one-page .rx-one-main .rx-section-head h2 {
    font-size: 24px !important;
}

.rx-one-page .rx-one-main .rx-section-head p,
.rx-one-page .rx-one-main .rx-field label,
.rx-one-page .rx-one-main .rx-question-title {
    font-size: 15px !important;
}

.rx-one-page .rx-one-main .rx-field input,
.rx-one-page .rx-one-main .rx-field select,
.rx-one-page .rx-one-main .rx-rx-row input {
    font-size: 15px !important;
}

.rx-one-page .rx-one-main .rx-field-error {
    font-size: 14px !important;
}

.rx-one-page .rx-one-main .rx-image-choice-box strong,
.rx-one-page .rx-one-main .rx-lens-copy strong,
.rx-one-page .rx-one-main .rx-inline-notice strong {
    font-size: 16px !important;
}

.rx-one-page .rx-one-main .rx-image-choice-box small,
.rx-one-page .rx-one-main .rx-lens-copy small,
.rx-one-page .rx-one-main .rx-inline-notice span,
.rx-one-page .rx-one-main .rx-toggle-card small {
    font-size: 13px !important;
}

.rx-one-page .rx-one-main .rx-empty-state,
.rx-one-page .rx-one-main .rx-toggle-card strong,
.rx-one-page .rx-one-main .rx-rx-head {
    font-size: 15px !important;
}

.rx-one-page .rx-one-main .rx-rx-row strong {
    font-size: 15px !important;
}

.rx-one-page .rx-one-main .rx-rx-row strong small {
    font-size: 12px !important;
}

.rx-one-page .rx-one-main .rx-help-details summary,
.rx-one-page .rx-one-main .rx-help-details p {
    font-size: 16px !important;
}

.rx-one-page .rx-one-main .rx-material-title-row strong {
    font-size: 14px !important;
}

.rx-one-page .rx-one-main .rx-material-price {
    font-size: 15px !important;
}

.rx-one-page .rx-one-main .rx-material-choice-box small {
    font-size: 12px !important;
}

.rx-one-page .rx-one-main .rx-coating-group > summary {
    font-size: 15px !important;
}

.rx-one-page .rx-one-main .rx-coating-group > summary small {
    font-size: 12px !important;
}

.rx-one-page .rx-one-main .rx-coating-copy strong,
.rx-one-page .rx-one-main .rx-coating-choice > b {
    font-size: 14px !important;
}

.rx-one-page .rx-one-main .rx-coating-copy small {
    font-size: 12px !important;
}

.rx-one-page .rx-one-main .rx-service-choice strong {
    font-size: 15px !important;
}

.rx-one-page .rx-one-main .rx-service-choice small {
    font-size: 12px !important;
}

.rx-one-page .rx-one-main .rx-service-choice b {
    font-size: 14px !important;
}

.rx-one-page .rx-one-main .rx-summary-head span {
    font-size: 20px !important;
}

.rx-one-page .rx-one-main .rx-summary-head small,
.rx-one-page .rx-one-main .rx-summary-selection span,
.rx-one-page .rx-one-main .rx-summary-selection strong {
    font-size: 12px !important;
}

.rx-one-page .rx-one-main .rx-summary-prices span,
.rx-one-page .rx-one-main .rx-summary-prices b,
.rx-one-page .rx-one-main .rx-summary-help strong {
    font-size: 13px !important;
}

.rx-one-page .rx-one-main .rx-summary-total span,
.rx-one-page .rx-one-main .rx-summary-help span {
    font-size: 14px !important;
}

.rx-one-page .rx-one-main .rx-summary-total strong {
    font-size: 26px !important;
}

.rx-one-page .rx-one-main .rx-submit-button {
    font-size: 15px !important;
}

.rx-one-page .rx-one-main .rx-submit-button b {
    font-size: 23px !important;
}

.rx-one-page .rx-one-main .rx-submit-note {
    font-size: 12px !important;
}

.rx-one-page .rx-one-main .rx-consultation-panel strong {
    font-size: 17px !important;
}

.rx-one-page .rx-one-main .rx-consultation-panel p {
    font-size: 15px !important;
}

@media (max-width: 760px) {
    .rx-one-page .rx-one-main .rx-section-head h2 {
        font-size: 20px !important;
    }

    .rx-one-page .rx-one-main .rx-section-head p {
        font-size: 13px !important;
        line-height: 1.5 !important;
    }

    .rx-one-page .rx-one-main .rx-field input,
    .rx-one-page .rx-one-main .rx-field select,
    .rx-one-page .rx-one-main .rx-rx-row input {
        font-size: 16px !important;
    }

    .rx-one-page .rx-one-main .rx-image-choice-box strong,
    .rx-one-page .rx-one-main .rx-lens-copy strong {
        font-size: 14px !important;
    }

    .rx-one-page .rx-one-main .rx-lens-copy small {
        font-size: 11px !important;
    }

    .rx-one-page .rx-one-main .rx-material-title-row strong,
    .rx-one-page .rx-one-main .rx-material-price {
        font-size: 16px !important;
    }

    .rx-one-page .rx-one-main .rx-material-choice-box small {
        font-size: 13px !important;
    }

    .rx-one-page .rx-one-main .rx-coating-group > summary {
        font-size: 16px !important;
    }

    .rx-one-page .rx-one-main .rx-coating-summary-meta small {
        font-size: 12px !important;
    }

    .rx-one-page .rx-one-main .rx-coating-copy strong {
        font-size: 15px !important;
    }

    .rx-one-page .rx-one-main .rx-coating-copy small {
        font-size: 13px !important;
    }

    .rx-one-page .rx-one-main .rx-coating-choice > b {
        font-size: 14px !important;
    }

    .rx-one-page .rx-one-main #section-coatings .rx-section-head p {
        font-size: 13px !important;
    }

    .rx-one-page .rx-one-main .rx-mobile-total span {
        font-size: 13px !important;
    }

    .rx-one-page .rx-one-main .rx-mobile-total strong {
        font-size: 20px !important;
    }

    .rx-one-page .rx-one-main .rx-submit-button {
        font-size: 15px !important;
    }

    .rx-one-page .rx-one-main .rx-consultation-panel strong {
        font-size: 16px !important;
    }

    .rx-one-page .rx-one-main .rx-consultation-panel p {
        font-size: 14px !important;
    }
}

/* V17 targeted font-size increase: keep all prior fixes, only make the one-page form more readable */
.rx-one-page {
    font-size: 17px;
}

.rx-section-head h2 {
    font-size: 26px;
}

.rx-section-head p,
.rx-field label,
.rx-question-title,
.rx-empty-state,
.rx-inline-notice strong,
.rx-help-details summary,
.rx-help-details p,
.rx-service-choice strong,
.rx-service-choice b,
.rx-summary-head small,
.rx-summary-help span,
.rx-summary-help strong,
.rx-submit-note {
    font-size: 15px;
}

.rx-field input,
.rx-field select,
.rx-rx-row input {
    font-size: 17px;
}

.rx-image-choice-box strong,
.rx-lens-copy strong,
.rx-toggle-card strong,
.rx-rx-row strong,
.rx-material-title-row strong,
.rx-coating-copy strong,
.rx-coating-choice > b,
.rx-summary-selection strong,
.rx-summary-prices b {
    font-size: 16px;
}

.rx-image-choice-box small,
.rx-lens-copy small,
.rx-toggle-card small,
.rx-rx-head,
.rx-rx-row strong small,
.rx-material-choice-box small,
.rx-coating-group > summary small,
.rx-coating-copy small,
.rx-service-choice small,
.rx-summary-selection span,
.rx-summary-prices span,
.rx-submit-button,
.rx-inline-notice span {
    font-size: 14px;
}

.rx-material-price,
.rx-summary-total span,
.rx-summary-help,
.rx-field-error {
    font-size: 16px;
}

.rx-summary-head span {
    font-size: 30px;
}

.rx-summary-total strong {
    font-size: 32px;
}

@media (max-width: 760px) {
    .rx-section-head h2 {
        font-size: 24px;
    }

    .rx-section-head p,
    .rx-field label,
    .rx-question-title,
    .rx-image-choice-box strong,
    .rx-lens-copy strong,
    .rx-material-title-row strong,
    .rx-coating-copy strong,
    .rx-service-choice strong,
    .rx-summary-head small,
    .rx-mobile-total span,
    .rx-submit-button,
    .rx-submit-note,
    .rx-lens-copy small,
    .rx-material-choice-box small,
    .rx-coating-choice > b,
    .rx-coating-group > summary,
    .rx-help-details summary,
    .rx-help-details p {
        font-size: 15px;
    }

    .rx-field input,
    .rx-field select,
    .rx-rx-row input {
        font-size: 17px;
    }

    .rx-mobile-total strong {
        font-size: 22px;
    }
}


/* ============================================================
   Two-step lens replacement flow — isolated from the existing one-step page
   ============================================================ */
.rx-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.rx-two-step-page .rx-one-main{margin-top:20px}
.rx-two-step-page .rx-flow-progress{grid-column:1/-1;display:grid;grid-template-columns:auto minmax(80px,1fr) auto;align-items:center;gap:16px;width:min(900px,100%);margin:0 auto 18px;padding:14px 18px;background:#fff;border:1px solid var(--rx-line);border-radius:18px;box-shadow:0 8px 24px rgba(18,58,40,.05)}
.rx-flow-step{display:flex;align-items:center;gap:10px;color:#819087;min-width:0}
.rx-flow-step>span{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;border:2px solid #d9e5df;background:#fff;font-weight:800;color:#687a71;flex:0 0 36px}
.rx-flow-step div{display:grid;gap:1px}.rx-flow-step strong{font-size:15px;line-height:1.2}.rx-flow-step small{font-size:12px;white-space:nowrap}
.rx-flow-step.is-active,.rx-flow-step.is-complete{color:var(--rx-green-dark)}
.rx-flow-step.is-active>span{color:#fff;border-color:var(--rx-green);background:var(--rx-green);box-shadow:0 6px 15px rgba(18,116,71,.2)}
.rx-flow-step.is-complete>span{color:#fff;border-color:var(--rx-green-dark);background:var(--rx-green-dark)}
.rx-flow-line{height:4px;border-radius:99px;background:#e6eee9;overflow:hidden}.rx-flow-line i{display:block;width:0;height:100%;background:var(--rx-green);transition:width .25s ease}
.rx-flow-progress.is-step2 .rx-flow-line i{width:100%}

.rx-contact-step{grid-column:1/-1;width:min(900px,100%);margin:0 auto;display:grid;gap:16px}
.rx-contact-hero{text-align:center;padding:16px 24px 4px}.rx-step-kicker{display:inline-flex;padding:6px 11px;border-radius:999px;background:var(--rx-green-soft);color:var(--rx-green-dark);font-size:13px;font-weight:800;letter-spacing:.02em;text-transform:uppercase}
.rx-contact-hero h1{margin:12px 0 8px;font-size:clamp(30px,4vw,46px)!important;line-height:1.08!important;letter-spacing:-.04em;color:#10271d}.rx-contact-hero p{max-width:720px;margin:0 auto;color:var(--rx-muted);font-size:17px;line-height:1.6}
.rx-contact-card{padding:28px;border:1px solid #dbe7e1;border-radius:24px;background:#fff;box-shadow:0 18px 46px rgba(18,58,40,.08)}
.rx-contact-card-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid #edf2ef}.rx-contact-card-head>div:first-child{display:grid;gap:3px}.rx-contact-card-head strong{font-size:20px}.rx-contact-card-head span{color:var(--rx-muted);font-size:13px}
.rx-save-state{flex:0 0 auto;padding:7px 11px;border-radius:999px;background:#f1f5f3;color:#61716a;font-size:12px!important;font-weight:800}.rx-save-state.is-saving{background:#fff7df;color:#8a6400}.rx-save-state.is-saved{background:#e8f6ee;color:#0b6a3f}.rx-save-state.is-error{background:#fff0ee;color:#a22118}
.rx-contact-step-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.rx-contact-step-grid .rx-span-two{grid-column:1/-1}.rx-contact-step-grid .rx-field{margin:0}.rx-contact-step-grid .rx-field label{font-size:16px!important}.rx-contact-step-grid .rx-field input{min-height:56px;font-size:17px!important;border-radius:13px}
.rx-contact-continue{display:flex;width:100%;min-height:58px;margin-top:20px;align-items:center;justify-content:center;gap:12px;border:0;border-radius:14px;background:linear-gradient(135deg,var(--rx-green),var(--rx-green-dark));color:#fff;font-weight:800;font-size:17px;cursor:pointer;box-shadow:0 12px 24px rgba(18,116,71,.2);transition:transform .15s ease,box-shadow .15s ease}.rx-contact-continue:hover{transform:translateY(-1px);box-shadow:0 15px 28px rgba(18,116,71,.24)}.rx-contact-continue:disabled{opacity:.6;cursor:wait;transform:none}
.rx-contact-note{display:flex;gap:8px;align-items:flex-start;margin-top:13px;color:#6b7b73;font-size:12px;line-height:1.45}.rx-contact-note span{color:var(--rx-green);font-weight:900}
.rx-contact-reassurance{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.rx-contact-reassurance>div{display:flex;gap:8px;align-items:flex-start;padding:12px 14px;border:1px solid #e3ece7;border-radius:13px;background:#f8fbf9;color:#52655b;font-size:13px;line-height:1.4}.rx-contact-reassurance strong{color:var(--rx-green-dark)}

.rx-step2-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:4px 2px 2px}.rx-step2-toolbar>div{display:grid;text-align:right}.rx-step2-toolbar strong{font-size:14px;color:var(--rx-green-dark)}.rx-step2-toolbar span{font-size:12px;color:var(--rx-muted)}
.rx-back-button{padding:10px 13px;border:1px solid #d5e2db;border-radius:11px;background:#fff;color:#274238;font-weight:750;cursor:pointer}.rx-back-button:hover{border-color:#a9c8b8;background:#f6faf8}
.rx-two-step-page [hidden]{display:none!important}

/* On Step 1, make the form grid behave as a full-width shell. */
.rx-two-step-page .rx-one-layout:has(#rxContactStep:not([hidden])){grid-template-columns:1fr}

@media(max-width:760px){
  .rx-two-step-page .rx-one-main{width:min(100% - 20px,1220px);margin-top:10px}
  .rx-two-step-page .rx-flow-progress{grid-template-columns:auto 38px auto;gap:8px;padding:10px 12px;border-radius:14px}.rx-flow-step>span{width:32px;height:32px;flex-basis:32px}.rx-flow-step small{display:none}.rx-flow-step strong{font-size:13px}.rx-flow-line{height:3px}
  .rx-contact-hero{padding:10px 8px 2px}.rx-contact-hero h1{font-size:31px!important}.rx-contact-hero p{font-size:15px;line-height:1.5}
  .rx-contact-card{padding:18px;border-radius:18px}.rx-contact-card-head{align-items:flex-start}.rx-contact-card-head strong{font-size:18px}
  .rx-contact-step-grid{grid-template-columns:1fr}.rx-contact-step-grid .rx-span-two{grid-column:auto}
  .rx-contact-reassurance{grid-template-columns:1fr}.rx-step2-toolbar{align-items:flex-start}.rx-step2-toolbar>div{display:none}.rx-back-button{width:100%;text-align:left}
}


/* Step 1 frame-first flow */
.rx-frame-first-card .rx-contact-card-head{margin-bottom:22px}
.rx-step1-question{margin:0}
.rx-step1-question + .rx-step1-question{margin-top:24px;padding-top:22px;border-top:1px solid #edf2ef}
.rx-rim-type-block{animation:rx-step1-reveal .2s ease-out}
.rx-step1-sequence{display:flex;align-items:center;gap:9px;margin:0 0 10px;color:var(--rx-green-dark);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.045em}
.rx-step1-sequence span{display:block;width:24px;height:2px;border-radius:99px;background:var(--rx-green)}
.rx-details-card{scroll-margin-top:130px}
.rx-frame-first-card .rx-choice-grid-three .rx-image-choice-box{min-height:132px}
@keyframes rx-step1-reveal{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}
@media(max-width:760px){
  .rx-frame-first-card .rx-choice-grid-two{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .rx-frame-first-card .rx-choice-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
  .rx-frame-first-card .rx-image-choice-box{padding:14px 9px!important;min-height:142px!important}
  .rx-frame-first-card .rx-image-choice-small .rx-image-choice-box{min-height:116px!important;padding:11px 6px!important}
  .rx-frame-first-card .rx-image-choice-box img,.rx-frame-first-card .rx-image-choice-small .rx-image-choice-box img{width:72px!important;height:46px!important;object-fit:contain!important}
  .rx-frame-first-card .rx-image-choice-small .rx-image-choice-box img{width:58px!important;height:38px!important}
  .rx-frame-first-card .rx-image-choice-box strong{font-size:16px!important}
  .rx-frame-first-card .rx-image-choice-small .rx-image-choice-box strong{font-size:13px!important;line-height:1.2!important;text-align:center}
  .rx-frame-first-card .rx-image-choice-box small{font-size:12px!important;line-height:1.25!important;text-align:center}
}

/* 2026-08-21: production-safe inline save failure state. */
.rx-order-save-error {
    margin: 0 0 14px;
    padding: 12px 14px;
    border: 1px solid #e6b8b8;
    border-radius: 12px;
    background: #fff7f7;
    color: #8f1d1d;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}
.rx-order-save-error[hidden] { display: none !important; }
