body.rpth-post-checkout-active.woocommerce-checkout .woocommerce-billing-fields {
    padding: 1.5rem 1.5rem 0.5rem;
    margin-bottom: 1rem;
}

body.rpth-post-checkout-active.woocommerce-checkout .woocommerce-billing-fields > h3,
body.rpth-post-checkout-active.woocommerce-checkout #rpth-post-checkout-fields[data-rpth-post-root="1"] > h3,
body.rpth-post-checkout-active.woocommerce-checkout .rpth-order-review-card-heading > h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 1.25rem;
    color: #0f172a;
    font-size: 1.25rem;
    line-height: 1.25;
}

body.rpth-post-checkout-active.woocommerce-checkout #rpth-post-checkout-fields[data-rpth-post-root="1"] > h3::before,
body.rpth-post-checkout-active.woocommerce-checkout .woocommerce-billing-fields > h3::before,
body.rpth-post-checkout-active.woocommerce-checkout .rpth-order-review-card-heading > h3::before {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: #f97316;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    flex: 0 0 auto;
}

body.rpth-post-checkout-active.woocommerce-checkout #rpth-post-checkout-fields[data-rpth-post-root="1"] > h3::before {
    content: "1";
}

body.rpth-post-checkout-active.woocommerce-checkout .woocommerce-billing-fields > h3::before {
    content: "2";
}

body.rpth-post-checkout-active.woocommerce-checkout .rpth-order-review-card-heading > h3::before {
    content: "3";
}

body.rpth-post-checkout-active.woocommerce-checkout .rpth-order-review-card-heading {
    padding: 1.5rem 1.25rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
}

body.rpth-post-checkout-active.woocommerce-checkout .rpth-order-review-card-heading > h3 {
    margin-bottom: 0;
}

body.rpth-post-checkout-active.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
    display: grid;
    gap: 1rem 1.25rem;
}

body.rpth-post-checkout-active.woocommerce-checkout .woocommerce-billing-fields .form-row[id^="billing_"] {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    width: 100% !important;
    margin-bottom: 1rem !important;
}

body.rpth-post-checkout-active.woocommerce-checkout .woocommerce-billing-fields .form-row[id^="billing_"] label {
    margin-bottom: 0.5rem !important;
    color: #334155;
    font-weight: 600;
}

body.rpth-post-checkout-active.woocommerce-checkout .woocommerce-billing-fields .form-row[id^="billing_"] .woocommerce-input-wrapper {
    display: block;
    width: 100%;
    flex: 1 1 auto;
}

body.rpth-post-checkout-active.woocommerce-checkout .woocommerce-billing-fields .form-row[id^="billing_"] .input-text,
body.rpth-post-checkout-active.woocommerce-checkout .woocommerce-billing-fields .form-row[id^="billing_"] input[type="text"],
body.rpth-post-checkout-active.woocommerce-checkout .woocommerce-billing-fields .form-row[id^="billing_"] input[type="email"],
body.rpth-post-checkout-active.woocommerce-checkout .woocommerce-billing-fields .form-row[id^="billing_"] input[type="tel"] {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    min-height: 3rem;
    border-color: #cbd5e1;
    border-radius: 0.875rem;
    background: #ffffff;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

body.rpth-post-checkout-active.woocommerce-checkout .woocommerce-billing-fields .form-row:not([id^="billing_"]) {
    display: block !important;
    width: 100% !important;
    margin-bottom: 1rem !important;
}

body.rpth-post-checkout-active.woocommerce-checkout .woocommerce-billing-fields .form-row:not([id^="billing_"]) label {
    display: block;
    margin-bottom: 0.5rem !important;
}

body.rpth-post-checkout-active.woocommerce-checkout .woocommerce-billing-fields .form-row:not([id^="billing_"]) .woocommerce-input-wrapper {
    display: block;
    width: 100%;
}

body.rpth-post-checkout-active.woocommerce-checkout .woocommerce-billing-fields .form-row:not([id^="billing_"]) .input-text,
body.rpth-post-checkout-active.woocommerce-checkout .woocommerce-billing-fields .form-row:not([id^="billing_"]) input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]):not([type="submit"]):not([type="button"]),
body.rpth-post-checkout-active.woocommerce-checkout .woocommerce-billing-fields .form-row:not([id^="billing_"]) select,
body.rpth-post-checkout-active.woocommerce-checkout .woocommerce-billing-fields .form-row:not([id^="billing_"]) textarea {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

body.rpth-post-checkout-active.woocommerce-checkout .rpth-checkout-sidebar {
    display: grid;
    gap: 0.875rem;
    margin: 0 0 1rem;
}

body.rpth-post-checkout-active.woocommerce-checkout .rpth-checkout-tips {
    padding: 1rem 1.05rem;
    border: 1px solid #e6edf3;
    border-radius: 1.15rem;
    background: #f7f9fb;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

body.rpth-post-checkout-active.woocommerce-checkout .rpth-checkout-tips-title {
    margin: 0 0 0.55rem;
    color: #637887;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1.3;
    text-transform: uppercase;
}

body.rpth-post-checkout-active.woocommerce-checkout .rpth-checkout-tips-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.15rem;
}

body.rpth-post-checkout-active.woocommerce-checkout .rpth-checkout-tips-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    gap: 0.85rem;
    padding: 0.95rem 0;
    border-bottom: 1px solid #e6edf3;
}

body.rpth-post-checkout-active.woocommerce-checkout .rpth-checkout-tips-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

body.rpth-post-checkout-active.woocommerce-checkout .rpth-checkout-tips-number {
    color: #6b7f8d;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
}

body.rpth-post-checkout-active.woocommerce-checkout .rpth-checkout-tips-copy {
    color: #324752;
    font-size: 0.95rem;
    line-height: 1.5;
}

body.rpth-post-checkout-active.woocommerce-checkout .rpth-checkout-tips-chevron {
    color: #7f909c;
    font-size: 1rem;
    line-height: 1;
    transform: translateY(0.15rem);
}

body.rpth-post-checkout-active.woocommerce-checkout .rpth-native-coupon-hidden {
    display: none !important;
}

body.rpth-post-checkout-active.woocommerce-checkout .rpth-coupon-slot {
    padding: 1rem 1.25rem 1.125rem;
    border-top: 1px solid #e5e7eb;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.85) 0%, rgba(255, 255, 255, 1) 100%);
}

body.rpth-post-checkout-active.woocommerce-checkout .rpth-coupon-slot-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: #0f172a;
    text-align: left;
    cursor: pointer;
}

body.rpth-post-checkout-active.woocommerce-checkout .rpth-coupon-slot-copy {
    font-size: 0.95rem;
    font-weight: 600;
}

body.rpth-post-checkout-active.woocommerce-checkout .rpth-coupon-slot-action {
    color: #f97316;
    font-size: 0.875rem;
    font-weight: 700;
}

body.rpth-post-checkout-active.woocommerce-checkout .rpth-coupon-panel[hidden] {
    display: none !important;
}

body.rpth-post-checkout-active.woocommerce-checkout .rpth-coupon-panel {
    margin-top: 0.875rem;
}

body.rpth-post-checkout-active.woocommerce-checkout .rpth-coupon-panel-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
}

body.rpth-post-checkout-active.woocommerce-checkout .rpth-coupon-input {
    display: block;
    width: 100% !important;
    min-height: 2.875rem;
    padding: 0.7rem 0.9rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.875rem;
    background: #ffffff;
    box-sizing: border-box;
}

body.rpth-post-checkout-active.woocommerce-checkout .rpth-coupon-apply {
    min-height: 2.875rem;
    padding: 0.75rem 1rem;
    border-radius: 0.875rem;
    white-space: nowrap;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] {
    --rpth-compose-ink: #1a1a1b;
    --rpth-compose-muted: #576f76;
    --rpth-compose-border: #d9e2ea;
    --rpth-compose-border-strong: #b7c8d8;
    --rpth-compose-surface: #ffffff;
    --rpth-compose-surface-soft: #f5f8fb;
    --rpth-compose-surface-subtle: #f8fafc;
    --rpth-compose-accent: #2563eb;
    --rpth-compose-accent-soft: #dbeafe;
    --rpth-compose-shadow: 0 24px 48px rgba(15, 23, 42, 0.06);
    margin-top: 0;
    padding: 1.35rem;
    border-top: 0;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 28%, #ffffff 100%);
    font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .form-row {
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 1rem !important;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .form-row label {
    display: block;
    width: auto !important;
    margin: 0 0 0.45rem !important;
    line-height: 1.45;
    color: var(--rpth-compose-muted);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .woocommerce-input-wrapper {
    display: block;
    width: 100%;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] input[type="text"],
#rpth-post-checkout-fields[data-rpth-post-root="1"] input[type="datetime-local"],
#rpth-post-checkout-fields[data-rpth-post-root="1"] textarea,
#rpth-post-checkout-fields[data-rpth-post-root="1"] .input-text {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    min-height: 3rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--rpth-compose-border);
    border-radius: 1rem;
    background: var(--rpth-compose-surface);
    color: var(--rpth-compose-ink);
    box-shadow: none;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] input::placeholder,
#rpth-post-checkout-fields[data-rpth-post-root="1"] textarea::placeholder {
    color: #8b98a5;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] textarea {
    min-height: 9rem;
    resize: vertical;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-compose-main {
    min-width: 0;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-compose-card {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-compose-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    margin: 0 0 1.15rem;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-compose-kicker {
    margin: 0;
    flex: 0 0 auto;
    color: var(--rpth-compose-ink);
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.15;
    white-space: nowrap;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-compose-kicker-note {
    margin: 0;
    color: #5f7480;
    font-size: 0.8rem;
    line-height: 1.4;
    max-width: 42rem;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-compose-heading {
    margin: 0;
    color: #667985;
    font-size: 0.96rem;
    font-weight: 500;
    line-height: 1.5;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-compose-status {
    flex: 0 0 auto;
    padding: 0.42rem 0.72rem;
    border: 1px solid var(--rpth-compose-border);
    border-radius: 999px;
    background: #f7f9fb;
    color: #556a75;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-compose-community-row {
    margin-bottom: 1.2rem;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-compose-community-shell,
#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-compose-title-shell {
    display: grid;
    grid-template-columns: minmax(96px, 112px) minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-compose-community-shell {
    margin-bottom: 0.55rem;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-compose-side-label {
    color: #2a3a45;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    flex: 0 0 auto;
    white-space: nowrap;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-compose-community-field::after {
    content: "\203A";
    position: absolute;
    top: 50%;
    right: 1rem;
    color: #5d7480;
    font-size: 1.2rem;
    transform: translateY(-55%);
    pointer-events: none;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-compose-community-field .input-text,
#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-compose-community-field input[type="text"] {
    min-height: 3.3rem;
    padding-left: 1.15rem;
    padding-right: 2.35rem;
    border-color: var(--rpth-compose-border-strong);
    border-radius: 999px;
    background: #eef5fb;
    font-size: 1rem;
    font-weight: 600;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-compose-community-field .input-text::placeholder,
#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-compose-community-field input[type="text"]::placeholder {
    font-weight: 500;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-compose-community-field.is-invalid .input-text,
#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-compose-community-field.is-invalid input[type="text"] {
    border-color: #d55d56;
    background: #fff8f7;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-compose-community-note {
    grid-column: 2;
    margin: 0.35rem 0 0;
    color: #ba3f38;
    font-size: 0.78rem;
    line-height: 1.45;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-compose-community-hint {
    margin: 0;
    color: #708590;
    font-size: 0.9rem;
    line-height: 1.5;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-compose-community-field,
#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-compose-title-field {
    position: relative;
    margin-bottom: 0 !important;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-compose-title-shell {
    margin: 0 0 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #e5ebf0;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-compose-title-field {
    margin-bottom: 0 !important;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-compose-title-field label {
    display: none;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-compose-title-field .input-text,
#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-compose-title-field input[type="text"] {
    min-height: 4rem;
    padding: 1rem 1.15rem;
    border-color: var(--rpth-compose-border);
    border-radius: 1.15rem;
    font-size: 1.65rem;
    font-weight: 650;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-post-body-composer {
    margin: 0 0 1rem;
    padding: 1rem 1rem 1.1rem;
    border: 1px solid var(--rpth-compose-border);
    border-radius: 1.15rem;
    background: var(--rpth-compose-surface);
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-editor-heading {
    margin: 0 0 0.85rem;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-editor-heading-copy label {
    display: block;
    margin: 0;
    color: var(--rpth-compose-ink);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-editor-heading-copy p {
    margin: 0.28rem 0 0;
    color: #708590;
    font-size: 0.92rem;
    line-height: 1.5;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-editor-toolbar,
#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-post-body-editor {
    display: none;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-post-body-composer.is-enhanced .rpth-editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    padding: 0 0 0.75rem;
    border-bottom: 1px solid #e5ebf0;
    background: transparent;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-post-body-composer.is-enhanced .rpth-editor-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    min-height: 2.25rem;
    padding: 0.35rem;
    border: 0;
    border-radius: 0.7rem;
    background: transparent;
    line-height: 1;
    box-shadow: none;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-post-body-composer.is-enhanced .rpth-editor-button:hover,
#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-post-body-composer.is-enhanced .rpth-editor-button:focus {
    background: #eef4fb;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-editor-button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.2rem;
    height: 1.2rem;
    color: #445965;
    font-size: 0.95rem;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-editor-button-icon-heading {
    width: auto;
    min-width: 1.15rem;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-editor-button-icon-bold {
    font-weight: 800;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-editor-button-icon-italic {
    font-style: italic;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-editor-button-icon-strike {
    text-decoration: line-through;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-editor-button-icon-link svg {
    display: block;
    width: 1.05rem;
    height: 1.05rem;
    fill: currentColor;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-post-body-composer.is-enhanced .rpth-post-body-editor {
    display: block;
    min-height: 13.5rem;
    padding: 0.95rem 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--rpth-compose-ink);
    font-size: 1rem;
    line-height: 1.75;
    overflow-wrap: anywhere;
    box-shadow: none;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-post-body-composer.is-enhanced .rpth-post-body-editor:empty::before {
    content: attr(data-placeholder);
    color: #8b98a5;
    pointer-events: none;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-post-body-composer.is-enhanced .rpth-post-body-editor:focus {
    outline: 0;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-post-body-composer.is-enhanced .rpth-post-body-editor h2,
#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-post-body-composer.is-enhanced .rpth-post-body-editor h3,
#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-post-body-composer.is-enhanced .rpth-post-body-editor p {
    margin: 0 0 0.85rem;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-post-body-composer.is-enhanced .rpth-post-body-textarea-wrap {
    display: none;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-post-body-textarea-row {
    margin-bottom: 0;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-post-meta-row {
    display: grid;
    gap: 0.85rem;
    margin: 0 0 1rem;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-post-meta-row .form-row {
    margin: 0 !important;
    padding: 0.95rem 1rem 0.9rem;
    border: 1px solid var(--rpth-compose-border);
    border-radius: 1rem;
    background: var(--rpth-compose-surface-soft);
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-post-meta-row .input-text,
#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-post-meta-row input[type="datetime-local"],
#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-post-meta-row input[type="text"] {
    min-height: 2.6rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-upvotes-card {
    margin: 0 0 1rem;
    padding: 1.15rem 1.1rem;
    border: 1px solid #d7e6f3;
    border-radius: 1.1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.06);
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-upvotes-card.is-active {
    border-color: #90bdee;
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.12);
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-upvotes-card-header {
    margin-bottom: 0;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-upvotes-card-title {
    margin: 0;
    color: var(--rpth-compose-ink);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-upvotes-card-optional {
    color: #708590;
    font-size: 0.88rem;
    font-weight: 500;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-upvotes-card-copy {
    margin: 0;
    color: #5f7480;
    font-size: 0.92rem;
    line-height: 1.55;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-upvotes-toggle {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    cursor: pointer;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-upvotes-toggle input[type="checkbox"] {
    width: 1.05rem;
    height: 1.05rem;
    margin: 0;
    accent-color: var(--rpth-compose-accent);
    flex: 0 0 auto;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-upvotes-toggle-copy {
    display: grid;
    gap: 0.15rem;
    min-width: 0;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-upvotes-card-body {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-upvotes-card-body[hidden] {
    display: none !important;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-upvotes-grid {
    display: grid;
    gap: 0.9rem;
    margin-bottom: 1rem;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-upvotes-field {
    margin: 0 !important;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-upvotes-field > label,
#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-upvotes-delay-field > label {
    display: block;
    margin: 0 0 0.45rem !important;
    color: #5b6e79;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-upvotes-field input,
#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-upvotes-field select,
#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-upvotes-delay-controls input,
#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-upvotes-delay-controls select {
    width: 100% !important;
    min-height: 3rem;
    border: 1px solid var(--rpth-compose-border);
    border-radius: 0.95rem;
    background: var(--rpth-compose-surface);
    box-sizing: border-box;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-upvotes-delay-controls {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 0.7rem;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-upvotes-delay-value-field,
#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-upvotes-delay-unit-field {
    margin: 0 !important;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-upvotes-field-note {
    margin: 0.45rem 0 0;
    color: #708590;
    font-size: 0.82rem;
    line-height: 1.5;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-upvotes-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    padding: 0.95rem 1rem;
    border: 1px solid #d7e6f3;
    border-radius: 0.95rem;
    background: #ffffff;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-upvotes-total-copy {
    display: grid;
    gap: 0.2rem;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-upvotes-total-label {
    color: var(--rpth-compose-ink);
    font-size: 0.92rem;
    font-weight: 700;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-upvotes-total-meta {
    color: #708590;
    font-size: 0.82rem;
    line-height: 1.5;
}

#rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-upvotes-total-value {
    color: var(--rpth-compose-accent);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

body.rpth-post-checkout-active.woocommerce-checkout .rpth-post-preview {
    padding: 1.05rem 1.1rem 1rem;
    border: 1px solid #e4ebf1;
    border-radius: 1.1rem;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

body.rpth-post-checkout-active.woocommerce-checkout .rpth-post-preview-label {
    margin: 0 0 0.85rem;
    color: #697d8a;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.rpth-post-checkout-active.woocommerce-checkout .rpth-post-preview-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.95rem;
}

body.rpth-post-checkout-active.woocommerce-checkout .rpth-post-preview-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #e2eef9 0%, #cfdef0 100%);
    color: #12344a;
    font-size: 1rem;
    font-weight: 700;
    text-transform: lowercase;
}

body.rpth-post-checkout-active.woocommerce-checkout .rpth-post-preview-meta {
    min-width: 0;
}

body.rpth-post-checkout-active.woocommerce-checkout .rpth-post-preview-meta-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    color: #647a86;
    font-size: 0.9rem;
    line-height: 1.35;
}

body.rpth-post-checkout-active.woocommerce-checkout .rpth-post-preview-subreddit {
    color: var(--rpth-compose-ink);
    font-weight: 700;
}

body.rpth-post-checkout-active.woocommerce-checkout .rpth-post-preview-username {
    margin-top: 0.1rem;
    color: #7c8f9a;
    font-size: 0.88rem;
    line-height: 1.35;
}

body.rpth-post-checkout-active.woocommerce-checkout .rpth-post-preview-content {
    min-width: 0;
}

body.rpth-post-checkout-active.woocommerce-checkout .rpth-post-preview-flair {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    margin: 0 0 0.7rem;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    background: #eaf0f6;
    color: #445965;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

body.rpth-post-checkout-active.woocommerce-checkout .rpth-post-preview-flair[hidden] {
    display: none !important;
}

body.rpth-post-checkout-active.woocommerce-checkout .rpth-post-preview-title {
    margin: 0 0 0.85rem;
    color: var(--rpth-compose-ink);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

body.rpth-post-checkout-active.woocommerce-checkout .rpth-post-preview-skeleton {
    display: grid;
    gap: 0.55rem;
}

body.rpth-post-checkout-active.woocommerce-checkout .rpth-post-preview-skeleton-line {
    display: block;
    height: 0.8rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #ecf1f5 0%, #dce5ec 48%, #ecf1f5 100%);
}

body.rpth-post-checkout-active.woocommerce-checkout .rpth-post-preview-skeleton-line-primary {
    width: 92%;
}

body.rpth-post-checkout-active.woocommerce-checkout .rpth-post-preview-skeleton-line-secondary {
    width: 34%;
}

@media (max-width: 767px) {
    body.rpth-post-checkout-active.woocommerce-checkout .woocommerce-billing-fields {
        padding: 1.25rem 1rem 0.25rem;
    }

    #rpth-post-checkout-fields[data-rpth-post-root="1"] {
        padding: 1.1rem;
    }

    body.rpth-post-checkout-active.woocommerce-checkout .rpth-coupon-slot {
        padding: 0.875rem 1rem 1rem;
    }

    body.rpth-post-checkout-active.woocommerce-checkout .rpth-coupon-panel-row {
        grid-template-columns: 1fr;
    }

    #rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-compose-card {
        padding: 1.1rem;
    }

    #rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-compose-header {
        align-items: flex-start;
    }

    #rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-compose-kicker {
        font-size: 1.35rem;
    }

    #rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-compose-title-field .input-text,
    #rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-compose-title-field input[type="text"] {
        font-size: 1.35rem;
    }

    #rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-post-body-composer {
        padding: 0.95rem;
    }

    body.rpth-post-checkout-active.woocommerce-checkout .rpth-post-preview {
        padding: 0.95rem 0.95rem 0.9rem;
    }

    body.rpth-post-checkout-active.woocommerce-checkout .rpth-post-preview-title {
        font-size: 1.25rem;
    }

    #rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-upvotes-total {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (min-width: 768px) {
    body.rpth-post-checkout-active.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        column-gap: 1rem !important;
        row-gap: 1rem !important;
        align-items: start;
    }

    body.rpth-post-checkout-active.woocommerce-checkout #billing_first_name_field,
    body.rpth-post-checkout-active.woocommerce-checkout #billing_last_name_field {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        clear: none !important;
        margin: 0 !important;
    }

    body.rpth-post-checkout-active.woocommerce-checkout #billing_first_name_field {
        grid-column: 1;
    }

    body.rpth-post-checkout-active.woocommerce-checkout #billing_last_name_field {
        grid-column: 2;
    }

    body.rpth-post-checkout-active.woocommerce-checkout .woocommerce-billing-fields .form-row[id^="billing_"]:not(#billing_first_name_field):not(#billing_last_name_field) {
        grid-column: 1 / -1;
    }

    body.rpth-post-checkout-active.woocommerce-checkout .woocommerce-billing-fields .form-row:not([id^="billing_"]) {
        grid-column: 1 / -1;
    }

    body.rpth-post-checkout-active.woocommerce-checkout .col2-set#customer_details .col-2 {
        display: flex;
        flex-direction: column;
    }

    body.rpth-post-checkout-active.woocommerce-checkout .col2-set#customer_details .col-2 .woocommerce-additional-fields {
        flex: 1 1 auto;
    }

    body.rpth-post-checkout-active.woocommerce-checkout .woocommerce-billing-fields {
        margin-bottom: 0;
    }

    body.rpth-post-checkout-active.woocommerce-checkout .woocommerce-billing-fields .form-row[id^="billing_"] {
        display: grid !important;
        grid-template-columns: minmax(96px, 112px) minmax(0, 1fr);
        column-gap: 0.875rem;
        row-gap: 0.35rem;
        align-items: center;
    }

    body.rpth-post-checkout-active.woocommerce-checkout .woocommerce-billing-fields .form-row[id^="billing_"] label {
        margin-bottom: 0 !important;
        grid-column: 1;
        justify-self: start;
    }

    body.rpth-post-checkout-active.woocommerce-checkout .woocommerce-billing-fields .form-row[id^="billing_"] .woocommerce-input-wrapper {
        grid-column: 2;
        min-width: 0;
        width: 100%;
    }

    #rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-post-meta-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    #rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-upvotes-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.rpth-post-checkout-active.woocommerce-checkout #rpth-post-checkout-fields[data-rpth-post-root="1"] {
        min-height: 100%;
    }

    body.rpth-post-checkout-active.woocommerce-checkout #rpth-post-checkout-fields[data-rpth-post-root="1"] .rpth-post-body-composer.is-enhanced .rpth-post-body-editor {
        min-height: 16rem;
    }
}

body.rpth-post-checkout-active.woocommerce-order-received .entry-header,
body.rpth-post-checkout-active.woocommerce-order-received .page-header {
    display: none !important;
}

body.rpth-post-checkout-active.woocommerce-order-received .entry-content {
    margin-top: 0 !important;
}

body.rpth-post-checkout-active.woocommerce-order-received .woocommerce-order {
    display: grid;
    gap: 1.25rem;
}

body.rpth-post-checkout-active.woocommerce-order-received .must-read-thank-you,
body.rpth-post-checkout-active.woocommerce-order-received .woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received,
body.rpth-post-checkout-active.woocommerce-order-received .woocommerce-order-overview.order_details,
body.rpth-post-checkout-active.woocommerce-order-received .woocommerce-order-details,
body.rpth-post-checkout-active.woocommerce-order-received .woocommerce-customer-details {
    display: none !important;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-panel {
    --rpth-thankyou-ink: #141414;
    --rpth-thankyou-muted: #5f5f5f;
    --rpth-thankyou-border: #e5e7eb;
    --rpth-thankyou-surface: #ffffff;
    --rpth-thankyou-surface-soft: #faf7f5;
    --rpth-thankyou-accent: #da4b20;
    --rpth-thankyou-accent-strong: #b93a14;
    --rpth-thankyou-accent-soft: rgba(218, 75, 32, 0.08);
    position: relative;
    overflow: hidden;
    margin: 0 0 1.25rem;
    padding: 1.5rem;
    border: 1px solid var(--rpth-thankyou-border);
    border-radius: 1.5rem;
    background: var(--rpth-thankyou-surface);
    box-shadow: 0 20px 44px rgba(15, 15, 15, 0.06);
    color: var(--rpth-thankyou-ink);
    font-family: "Satoshi", "IBM Plex Sans", "Segoe UI", sans-serif;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-grid,
body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-lower {
    display: grid;
    gap: 1.25rem;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(290px, 0.82fr);
    align-items: start;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-panel.is-detailed .rpth-thankyou-grid {
    grid-template-columns: minmax(0, 1fr);
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-lower {
    grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
    margin-top: 1rem;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-hero {
    display: grid;
    gap: 1rem;
    align-content: start;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-panel.is-detailed .rpth-thankyou-hero {
    justify-items: center;
    text-align: center;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-eyebrow,
body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-rail-kicker {
    margin: 0;
    color: var(--rpth-thankyou-accent-strong);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-transform: uppercase;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-title {
    max-width: 12ch;
    margin: 0;
    color: var(--rpth-thankyou-ink);
    font-size: clamp(2.3rem, 4.6vw, 4.15rem);
    line-height: 0.96;
    letter-spacing: -0.05em;
    text-wrap: balance;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-panel.is-detailed .rpth-thankyou-title {
    max-width: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    flex-wrap: wrap;
    font-size: 30px;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-title-text {
    display: inline;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-checkmark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.05rem;
    height: 2.05rem;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.14);
    color: #16a34a;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.22);
    transform-origin: center;
    animation: rpth-thankyou-checkmark-pop 560ms cubic-bezier(0.2, 0.9, 0.25, 1) both,
        rpth-thankyou-checkmark-pulse 1.2s ease-out 620ms 1;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-checkmark svg {
    width: 1.25rem;
    height: 1.25rem;
    overflow: visible;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-checkmark circle,
body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-checkmark path {
    fill: none;
    stroke: currentColor;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-checkmark circle {
    stroke-width: 1.85;
    stroke-dasharray: 76;
    stroke-dashoffset: 76;
    animation: rpth-thankyou-checkmark-circle 420ms ease-out 120ms forwards;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-checkmark path {
    stroke-width: 2.45;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 18;
    stroke-dashoffset: 18;
    animation: rpth-thankyou-checkmark-stroke 320ms ease-out 360ms forwards;
}

@keyframes rpth-thankyou-checkmark-pop {
    0% {
        opacity: 0;
        transform: scale(0.7);
    }

    72% {
        opacity: 1;
        transform: scale(1.08);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rpth-thankyou-checkmark-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.24);
    }

    100% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }
}

@keyframes rpth-thankyou-checkmark-circle {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes rpth-thankyou-checkmark-stroke {
    to {
        stroke-dashoffset: 0;
    }
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-copy,
body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-rail-copy {
    max-width: 62ch;
    margin: 0;
    color: var(--rpth-thankyou-muted);
    font-size: 0.98rem;
    line-height: 1.72;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-panel.is-detailed .rpth-thankyou-copy {
    max-width: 62ch;
    margin-inline: auto;
    text-align: center;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-badges,
body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-action-row.is-promo {
    width: 100%;
    margin-top: 0.35rem;
    margin-bottom: 1rem;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-cta-shell {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-cta-glow {
    position: absolute;
    inset: 0;
    border-radius: 0.75rem;
    opacity: 0.6;
    background: linear-gradient(135deg, #6366f1 0%, #ec4899 52%, #facc15 100%);
    filter: blur(16px);
    transform: scale(0.96);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-badge,
body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-stat,
body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-timeline-item,
body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-list li {
    animation: rpthThankyouRise 0.62s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: calc(var(--rpth-item-index, 0) * 80ms);
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-badge {
    display: inline-flex;
    align-items: center;
    min-height: 2.35rem;
    padding: 0.55rem 0.9rem;
    border: 1px solid rgba(218, 75, 32, 0.16);
    border-radius: 999px;
    background: var(--rpth-thankyou-surface-soft);
    color: var(--rpth-thankyou-accent-strong);
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    width: 100%;
    margin-top: 0.2rem;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-stat {
    min-width: 0;
    padding: 1rem 1.05rem;
    border: 1px solid var(--rpth-thankyou-border);
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 15, 15, 0.04);
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-brief-shell {
    display: grid;
    gap: 0.85rem;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-section-label,
body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-addon-label {
    margin: 0;
    color: #6b7280;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-transform: uppercase;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-addon-shell {
    display: grid;
    gap: 0.7rem;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-addon-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-addon-detail,
body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-addon-empty {
    display: grid;
    gap: 0.18rem;
    padding: 0.95rem 1rem;
    border: 1px solid var(--rpth-thankyou-border);
    border-radius: 1rem;
    background: #ffffff;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-addon-value {
    color: #111111;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.45;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-stat-label,
body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-meta dt {
    display: block;
    margin-bottom: 0.32rem;
    color: var(--rpth-thankyou-muted);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1.25;
    text-transform: uppercase;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-stat-value {
    display: block;
    color: var(--rpth-thankyou-ink);
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.3;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-post-preview {
    width: min(100%, 700px);
    margin-block: 2rem;
    margin-inline: auto;
    padding: 1.3rem 1.35rem 1.25rem;
    border: 1px solid var(--rpth-thankyou-border);
    border-radius: 1.25rem;
    background: #ffffff;
    box-shadow: 0 18px 34px rgba(15, 15, 15, 0.05);
    text-align: left;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-post-preview-avatar {
    background: #111111;
    color: #ffffff;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-post-preview-meta-line {
    color: #6b7280;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-post-preview-subreddit,
body.rpth-post-checkout-active.woocommerce-order-received .rpth-post-preview-title,
body.rpth-post-checkout-active.woocommerce-order-received .rpth-post-preview-detail-value {
    color: #111111;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-post-preview-username,
body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-post-body {
    color: #4b5563;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-post-preview-flair {
    background: rgba(218, 75, 32, 0.1);
    color: var(--rpth-thankyou-accent-strong);
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-rail,
body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-block {
    display: grid;
    gap: 0.85rem;
    position: relative;
    overflow: hidden;
    padding: 1.2rem;
    border: 1px solid var(--rpth-thankyou-border);
    border-radius: 1.2rem;
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(15, 15, 15, 0.05);
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 2.45rem;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: rgba(33, 28, 25, 0.04);
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-status-copy {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.1;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-status-dot {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 999px;
    background: currentColor;
    box-shadow: 0 0 0 0 rgba(184, 90, 64, 0.22);
    animation: rpthThankyouPulse 2.8s ease-in-out infinite;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-status-pill.is-pending {
    color: #9a5a2a;
    background: rgba(217, 119, 6, 0.12);
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-status-pill.is-submitted {
    color: #9f5038;
    background: rgba(184, 90, 64, 0.12);
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-status-pill.is-published {
    color: #16624d;
    background: rgba(22, 98, 77, 0.12);
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-status-pill.is-failed {
    color: #9f1d1d;
    background: rgba(185, 28, 28, 0.12);
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-timeline,
body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-meta,
body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-list {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-timeline {
    display: grid;
    gap: 0.8rem;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-timeline-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-timeline-marker {
    width: 0.9rem;
    height: 0.9rem;
    margin-top: 0.2rem;
    border-radius: 999px;
    border: 1px solid var(--rpth-thankyou-border);
    background: #ffffff;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-timeline-item.is-complete .rpth-thankyou-timeline-marker,
body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-timeline-item.is-current .rpth-thankyou-timeline-marker {
    border-color: rgba(184, 90, 64, 0.4);
    background: var(--rpth-thankyou-accent);
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-timeline-item.is-failed .rpth-thankyou-timeline-marker {
    border-color: rgba(185, 28, 28, 0.4);
    background: #b91c1c;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-timeline-copy {
    display: grid;
    gap: 0.18rem;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-timeline-copy strong {
    color: var(--rpth-thankyou-ink);
    font-size: 0.95rem;
    line-height: 1.3;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-timeline-copy span,
body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-meta dd,
body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-refresh-message {
    color: var(--rpth-thankyou-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-meta {
    display: grid;
    gap: 0.82rem;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-meta-row {
    padding-top: 0.82rem;
    border-top: 1px solid #f0e6e0;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-meta-row:first-child {
    padding-top: 0;
    border-top: 0;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-meta dd {
    word-break: break-word;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-meta-row dd a,
body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-button.is-secondary {
    color: var(--rpth-thankyou-accent-strong);
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-action-row {
    margin-top: 1rem;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.78rem 1.15rem;
    border: 1px solid transparent;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    appearance: none;
    cursor: pointer;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-button:hover {
    transform: translateY(-1px);
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-button:active {
    transform: translateY(1px) scale(0.98);
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-button.is-primary {
    background: var(--rpth-thankyou-accent);
    color: #ffffff;
    box-shadow: 0 16px 34px rgba(184, 90, 64, 0.2);
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-button.is-secondary {
    border-color: rgba(184, 90, 64, 0.18);
    background: rgba(255, 255, 255, 0.72);
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-button.is-glow {
    position: relative;
    min-height: 3.15rem;
    padding: 0.82rem 1.35rem;
    border: 0;
    border-radius: 0.7rem;
    background: #111827;
    color: #ffffff;
    gap: 0.55rem;
    z-index: 1;
    box-shadow: 0 18px 34px rgba(17, 24, 39, 0.28);
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-button.is-glow-posts {
    background: #c2410c;
    box-shadow: 0 20px 38px rgba(180, 83, 9, 0.3);
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-button.is-glow-comments {
    background: #111827;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-button-label {
    position: relative;
    z-index: 1;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-button-arrow {
    width: 0.7rem;
    height: 0.7rem;
    margin-top: 0.02rem;
    margin-right: -0.06rem;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-button-arrow path:first-child {
    opacity: 0;
    transition: opacity 0.2s ease;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-button-arrow path:last-child {
    transition: transform 0.2s ease;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-cta-shell:hover .rpth-thankyou-cta-glow {
    opacity: 1;
    transform: scale(1);
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-cta-shell:hover .rpth-thankyou-button.is-glow-posts,
body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-button.is-glow-posts:hover {
    background: #ea580c;
    box-shadow: 0 24px 44px rgba(194, 65, 12, 0.34);
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-cta-shell:hover .rpth-thankyou-button.is-glow-comments,
body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-button.is-glow-comments:hover {
    background: #1f2937;
    box-shadow: 0 22px 40px rgba(75, 85, 99, 0.3);
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-cta-shell:hover .rpth-thankyou-button-arrow path:first-child {
    opacity: 1;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-cta-shell:hover .rpth-thankyou-button-arrow path:last-child {
    transform: translateX(3px);
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-block-title {
    margin: 0 0 0.95rem;
    color: var(--rpth-thankyou-ink);
    font-size: 1rem;
    letter-spacing: -0.03em;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-post-body {
    margin-top: 0.75rem;
    color: #463f39;
    font-size: 0.94rem;
    line-height: 1.75;
}

body.rpth-post-checkout-active .rpth-thankyou-post-body p,
body.rpth-post-checkout-active .rpth-thankyou-post-body h2,
body.rpth-post-checkout-active .rpth-thankyou-post-body h3 {
    margin: 0 0 0.8rem;
}

body.rpth-post-checkout-active .rpth-thankyou-post-body > :last-child {
    margin-bottom: 0;
}

body.rpth-post-checkout-active .rpth-thankyou-post-body h2,
body.rpth-post-checkout-active .rpth-thankyou-post-body h3 {
    color: #141414;
    font-weight: 700;
    line-height: 1.25;
}

body.rpth-post-checkout-active .rpth-thankyou-post-body h2 {
    font-size: 1.04rem;
}

body.rpth-post-checkout-active .rpth-thankyou-post-body h3 {
    font-size: 0.98rem;
}

body.rpth-post-checkout-active .rpth-thankyou-post-body a {
    color: var(--rpth-thankyou-accent-strong);
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: 0.14em;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-list {
    display: grid;
    gap: 0.8rem;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-list li {
    position: relative;
    padding-left: 1.2rem;
    color: var(--rpth-thankyou-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-list li::before {
    content: "";
    position: absolute;
    top: 0.72rem;
    left: 0;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: var(--rpth-thankyou-accent);
}

body.rpth-post-checkout-active.woocommerce-order-received .woocommerce .rpth-thankyou-panel ~ .woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received {
    display: none !important;
}

body.rpth-post-checkout-active.woocommerce-order-received .woocommerce .rpth-thankyou-panel.is-detailed ~ .woocommerce-order-overview.order_details {
    display: none !important;
}

body.rpth-post-checkout-active.woocommerce-order-received .woocommerce-order-details,
body.rpth-post-checkout-active.woocommerce-order-received .woocommerce-customer-details,
body.rpth-post-checkout-active.woocommerce-order-received form.woocommerce-form-login,
body.rpth-post-checkout-active.woocommerce-order-received form.woocommerce-verify-email,
body.rpth-post-checkout-active.woocommerce-order-received .woocommerce .woocommerce-info {
    margin: 0 !important;
    padding: 1.2rem !important;
    border: 1px solid var(--rpth-thankyou-border) !important;
    border-radius: 1.6rem !important;
    background: #ffffff !important;
    box-shadow: 0 22px 48px rgba(53, 37, 31, 0.06) !important;
}

body.rpth-post-checkout-active.woocommerce-order-received .woocommerce .woocommerce-info {
    color: var(--rpth-thankyou-accent-strong) !important;
    background: var(--rpth-thankyou-surface-soft) !important;
}

body.rpth-post-checkout-active.woocommerce-order-received #rpth-thankyou-auth {
    scroll-margin-top: 7rem;
}

body.rpth-post-checkout-active.woocommerce-order-received form.woocommerce-form-login,
body.rpth-post-checkout-active.woocommerce-order-received form.woocommerce-verify-email {
    display: grid;
    gap: 1rem;
}

body.rpth-post-checkout-active.woocommerce-order-received form.woocommerce-form-login .form-row,
body.rpth-post-checkout-active.woocommerce-order-received form.woocommerce-verify-email .form-row {
    display: grid;
    gap: 0.45rem;
    margin: 0 !important;
}

body.rpth-post-checkout-active.woocommerce-order-received form.woocommerce-form-login label,
body.rpth-post-checkout-active.woocommerce-order-received form.woocommerce-verify-email label {
    color: var(--rpth-thankyou-ink);
    font-weight: 600;
}

body.rpth-post-checkout-active.woocommerce-order-received form.woocommerce-form-login .input-text,
body.rpth-post-checkout-active.woocommerce-order-received form.woocommerce-verify-email .input-text {
    min-height: 3rem;
    border: 1px solid #d8c8bf;
    border-radius: 1rem;
    background: #fffdfb;
}

body.rpth-post-checkout-active.woocommerce-order-received form.woocommerce-form-login .woocommerce-form-login__submit,
body.rpth-post-checkout-active.woocommerce-order-received form.woocommerce-verify-email button[type="submit"] {
    min-height: 3rem;
    padding: 0.78rem 1.15rem;
    border: 0;
    border-radius: 999px;
    background: var(--rpth-thankyou-accent);
    color: #ffffff;
}

body.rpth-post-checkout-active.woocommerce-order-received .woocommerce-order-details__title,
body.rpth-post-checkout-active.woocommerce-order-received .woocommerce-column__title {
    margin: 0 0 1rem;
    color: var(--rpth-thankyou-ink);
    font-size: 1.05rem;
    letter-spacing: -0.03em;
}

body.rpth-post-checkout-active.woocommerce-order-received .woocommerce-table.woocommerce-table--order-details,
body.rpth-post-checkout-active.woocommerce-order-received table.shop_table.order_details {
    border: 0 !important;
    margin: 0 !important;
}

body.rpth-post-checkout-active.woocommerce-order-received .woocommerce-table.woocommerce-table--order-details th,
body.rpth-post-checkout-active.woocommerce-order-received .woocommerce-table.woocommerce-table--order-details td,
body.rpth-post-checkout-active.woocommerce-order-received table.shop_table.order_details th,
body.rpth-post-checkout-active.woocommerce-order-received table.shop_table.order_details td {
    padding: 0.95rem 0 !important;
    border-bottom: 1px solid #f0e6e0 !important;
}

body.rpth-post-checkout-active.woocommerce-order-received .woocommerce-columns--addresses {
    display: grid;
    gap: 1rem;
}

body.rpth-post-checkout-active.woocommerce-order-received .woocommerce-column--billing-address,
body.rpth-post-checkout-active.woocommerce-order-received .woocommerce-column--shipping-address {
    padding: 1rem;
    border: 1px solid #f0e6e0;
    border-radius: 1.2rem;
    background: #fffdfb;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .woocommerce-MyAccount-content > p:first-of-type {
    display: none;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .woocommerce-MyAccount-navigation,
body.rpth-post-checkout-active.rpth-post-order-view-active .gb-container-a5eedbef {
    display: none !important;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .woocommerce,
body.rpth-post-checkout-active.rpth-post-order-view-active .woocommerce-MyAccount-content {
    width: 100% !important;
    max-width: none !important;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .woocommerce-MyAccount-content {
    float: none !important;
    margin: 0 !important;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-thankyou-panel.is-account-view {
    margin: 0 0 1.25rem;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-shell {
    display: grid;
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid var(--rpth-thankyou-border);
    border-radius: 1.3rem;
    background: #ffffff;
    box-shadow: 0 18px 38px rgba(53, 37, 31, 0.07);
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-header {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.82fr);
    gap: 1rem;
    align-items: start;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-heading {
    display: grid;
    gap: 0.45rem;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-heading .rpth-account-order-stats {
    margin-top: 0.35rem;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-title {
    margin: 0;
    color: var(--rpth-thankyou-ink);
    font-size: clamp(1.8rem, 3.6vw, 2.5rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-copy {
    max-width: 58ch;
    margin: 0;
    color: var(--rpth-thankyou-muted);
    font-size: 0.96rem;
    line-height: 1.7;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-status {
    display: grid;
    gap: 0.7rem;
    padding: 0.95rem;
    border: 1px solid #efe5de;
    border-radius: 1rem;
    background: linear-gradient(180deg, #fffaf7 0%, #fffdfc 100%);
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-status .rpth-thankyou-status-pill {
    width: 100%;
    min-height: 0;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    justify-content: flex-start;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-status .rpth-thankyou-status-copy {
    display: grid;
    gap: 0.18rem;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-status .rpth-thankyou-status-copy strong {
    font-size: 1rem;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-status .rpth-thankyou-status-copy span {
    color: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.55;
    opacity: 0.9;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-status-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    align-items: baseline;
    color: #6b7280;
    font-size: 0.86rem;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-status-meta-label {
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-status-meta strong {
    color: #1f2937;
    font-size: 0.9rem;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-status .rpth-thankyou-button.is-secondary {
    justify-content: center;
    min-height: 2.8rem;
    border-color: rgba(185, 58, 20, 0.12);
    background: #fff7f2;
    color: var(--rpth-thankyou-accent-strong);
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-status .rpth-thankyou-action-row,
body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-status .rpth-thankyou-refresh-message {
    margin: 0;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-stat {
    min-width: 0;
    padding: 0.9rem 1rem;
    border: 1px solid var(--rpth-thankyou-border);
    border-radius: 0.95rem;
    background: #fcfcfd;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-stat .rpth-thankyou-stat-label {
    font-size: 0.68rem;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-stat .rpth-thankyou-stat-value {
    font-size: 0.96rem;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-primary,
body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-secondary {
    display: grid;
    gap: 1rem;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-primary {
    justify-items: center;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-panel {
    display: grid;
    gap: 0.9rem;
    padding: 1rem;
    border: 1px solid var(--rpth-thankyou-border);
    border-radius: 1.05rem;
    background: #ffffff;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-panel.is-brief {
    width: 100%;
    max-width: 700px;
    margin-inline: auto;
    border-width: 2px;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 0.75rem;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-panel-head.is-tight {
    margin-top: 0.3rem;
    padding-top: 0.95rem;
    border-top: 1px solid #f2e8e2;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-panel-kicker {
    margin: 0 0 0.22rem;
    color: var(--rpth-thankyou-accent-strong);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    line-height: 1.2;
    text-transform: uppercase;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-panel-title {
    margin: 0;
    color: var(--rpth-thankyou-ink);
    font-size: 1.02rem;
    letter-spacing: -0.02em;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-panel-note {
    color: #6b7280;
    font-size: 0.82rem;
    line-height: 1.4;
    white-space: nowrap;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-post-preview {
    width: 100%;
    margin: 0;
    padding: 1rem 1rem 0.95rem;
    border-radius: 1rem;
    box-shadow: none;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-post-preview-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-post-preview-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #191919 0%, #2d2d2d 100%);
    color: #ffffff;
    font-size: 0.96rem;
    font-weight: 700;
    text-transform: lowercase;
    flex-shrink: 0;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-post-preview-meta,
body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-post-preview-content {
    min-width: 0;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-post-preview-meta-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
    line-height: 1.35;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-post-preview-username {
    margin-top: 0.15rem;
    font-size: 0.86rem;
    line-height: 1.35;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-post-preview-flair {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    margin: 0 0 0.65rem;
    padding: 0.28rem 0.62rem;
    border-radius: 999px;
    background: rgba(218, 75, 32, 0.1);
    color: var(--rpth-thankyou-accent-strong);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-post-preview-title {
    margin: 0 0 0.7rem;
    font-size: 1.35rem;
    line-height: 1.18;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-thankyou-post-body {
    margin-top: 0;
    font-size: 0.92rem;
    line-height: 1.7;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-thankyou-addon-shell {
    gap: 0.75rem;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-thankyou-addon-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    width: 100%;
    margin: 0.5rem auto 1.25rem;
    justify-content: center;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.9rem;
    padding: 0.8rem 1rem;
    border-radius: 0.9rem;
    border: 1px solid transparent;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-link:hover {
    transform: translateY(-1px);
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-link.is-primary {
    background: var(--rpth-thankyou-accent);
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(185, 58, 20, 0.18);
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-link.is-secondary {
    border-color: #d9e0e7;
    background: #f8fafc;
    color: #0f172a;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-panel .rpth-thankyou-timeline,
body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-panel .rpth-thankyou-meta,
body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-panel .rpth-thankyou-list {
    margin: 0;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-panel .rpth-thankyou-block-title {
    margin-bottom: 0;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .woocommerce-OrderUpdates,
body.rpth-post-checkout-active.rpth-post-order-view-active .woocommerce-order-details,
body.rpth-post-checkout-active.rpth-post-order-view-active .woocommerce-customer-details {
    margin-top: 1rem !important;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .woocommerce-OrderUpdates {
    padding: 1.1rem 1.2rem;
    border: 1px solid var(--rpth-thankyou-border);
    border-radius: 1.2rem;
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(53, 37, 31, 0.05);
}

body.rpth-post-checkout-active.rpth-post-order-view-active .woocommerce-OrderUpdates .comment_container,
body.rpth-post-checkout-active.rpth-post-order-view-active .woocommerce-OrderUpdates .woocommerce-OrderUpdate-inner {
    padding: 0;
    background: transparent;
}

body.rpth-post-checkout-active.rpth-post-order-view-active .woocommerce-OrderUpdate + .woocommerce-OrderUpdate {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f0e6e0;
}

@media (max-width: 1024px) {
    body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-header,
    body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-main {
        grid-template-columns: minmax(0, 1fr);
    }

    body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-stats,
    body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-thankyou-addon-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    body.rpth-post-checkout-active.woocommerce-order-received .woocommerce-columns--addresses {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.rpth-post-checkout-active.woocommerce-order-received form.woocommerce-form-login {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    body.rpth-post-checkout-active.woocommerce-order-received form.woocommerce-form-login .form-row:first-child,
    body.rpth-post-checkout-active.woocommerce-order-received form.woocommerce-form-login .form-row:nth-child(2) {
        grid-column: span 1;
    }

    body.rpth-post-checkout-active.woocommerce-order-received form.woocommerce-form-login .form-row:last-of-type,
    body.rpth-post-checkout-active.woocommerce-order-received form.woocommerce-form-login .lost_password,
    body.rpth-post-checkout-active.woocommerce-order-received form.woocommerce-verify-email {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-shell {
        padding: 1rem;
        border-radius: 1rem;
    }

    body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-stats,
    body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-thankyou-addon-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-panel-head {
        flex-direction: column;
        align-items: flex-start;
    }

    body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-panel-note {
        white-space: normal;
    }

    body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-actions {
        flex-direction: column;
    }

    body.rpth-post-checkout-active.rpth-post-order-view-active .rpth-account-order-link {
        width: 100%;
    }

    body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-panel {
        padding: 1rem;
        border-radius: 1.5rem;
    }

    body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-grid,
    body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-lower {
        grid-template-columns: minmax(0, 1fr);
    }

    body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-title {
        max-width: none;
        font-size: clamp(2rem, 10vw, 3rem);
    }

    body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-panel.is-detailed .rpth-thankyou-title {
        font-size: 30px;
        line-height: 1.12;
    }

    body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-action-row.is-promo {
        align-items: stretch;
    }

    body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-stats {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-addon-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-stat {
        min-width: 0;
    }

    body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-cta-shell,
    body.rpth-post-checkout-active.woocommerce-order-received .rpth-thankyou-button.is-glow {
        width: 100%;
    }
}

@keyframes rpthThankyouRise {
    from {
        opacity: 0;
        transform: translate3d(0, 18px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes rpthThankyouPulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(184, 90, 64, 0.16);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(184, 90, 64, 0);
    }
}
