.psys-installments {
    display: flex;
    align-items: center;
    gap: 11px;
    width: fit-content;
    max-width: 100%;
    min-height: 44px;
    padding: 9px 10px;
    margin: 0 0 20px;
    border: 1px solid #d5d5d2;
    border-radius: 7px;
    color: #161616;
    background: #fff;
    font: 500 13px/1.3 var(--psys-font);
    cursor: pointer;
    text-align: left;
}
.psys-installments:hover { border-color: #757571; background: #fafaf8; }
.psys-installments[hidden] { display: none; }
.psys-installments__brand {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 6px;
    background: #101010;
    color: white;
    font-size: 10px;
    line-height: 1;
    font-weight: 750;
    white-space: nowrap;
}
.psys-installments__brand svg { width: 16px; height: 13px; }
.psys-installments__arrow { width: 14px; height: 18px; margin-left: auto; color: #686863; }
.psys-installments .amount { color: inherit; }
.psys-installments-dialog { width: min(560px, calc(100vw - 24px)); }
.psys-installments-dialog .psys-dialog__bar h2 { text-transform: none; }
.psys-installments-dialog__body { padding: 26px; display: grid; gap: 16px; font-size: 15px; line-height: 1.5; }
.psys-installments-dialog__body p { margin: 0; color: #333; }
.psys-installments-dialog__body .psys-installments-dialog__lead { font-weight: 750; font-size: 24px; line-height: 1.15; color: #111; }
.psys-installments-dialog__body a { color: #111; text-decoration: underline; text-underline-offset: 4px; }
.psys-installments-schedule { margin: 4px 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; }
.psys-installments-schedule li { padding-top: 12px; border-top: 3px solid #c7c7c1; display: flex; flex-direction: column; gap: 8px; }
.psys-installments-schedule li:first-child { border-color: #111; }
.psys-installments-schedule span { color: #565650; font-size: 11px; line-height: 1.35; min-height: 30px; }
.psys-installments-schedule strong { color: #111; font-size: 15px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.psys-installments-dialog__body .psys-installments-note { font-size: 12px; color: #595954; }
body.psys-receipt-view #primary { width: 100%; margin: 0; padding: 0; }
body.psys-receipt-view .ast-container { display: block; max-width: none; padding: 0; }
body.psys-receipt-view :is(.site-main,.entry-content,.woocommerce,.elementor-widget-container) { background: #fff !important; }
body.psys-receipt-view .entry-header { display: none; }
body.psys-receipt-view .psys-receipt { color: #111; background: #fff; font-family: var(--psys-font); box-sizing: border-box; }
.psys-receipt *, .psys-return-message * { box-sizing: border-box; }
body.psys-receipt-view .psys-receipt :is(h1,h2,h3,p,ul,dl,ol) { margin: 0; color: inherit; }
body.psys-receipt-view .psys-receipt a { color: inherit; }
.psys-receipt__hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 48px;
    padding: 56px var(--psys-gutter) 48px;
    background: #f2eee7;
    border-bottom: 1px solid #ddd8ce;
}
.psys-receipt__intro { max-width: 780px; }
.psys-receipt__symbol { display: grid; place-items: center; width: 46px; height: 46px; background: #111; color: #eedec5; border-radius: 50%; margin-bottom: 24px; }
.psys-receipt__symbol svg { display: block; width: 30px; height: 30px; }
body.psys-receipt-view .psys-receipt h1 { font: 800 clamp(32px,4.1vw,64px)/.99 var(--psys-font); letter-spacing: -.035em; text-transform: uppercase; max-width: 12em; }
body.psys-receipt-view .psys-receipt .psys-receipt__lead { max-width: 52ch; margin-top: 20px; font-size: 16px; line-height: 1.55; }
.psys-receipt__reference { display: flex; flex-direction: column; gap: 7px; justify-content: end; min-width: 200px; padding-left: 32px; border-left: 1px solid #d4cec2; font-size: 13px; }
.psys-receipt__reference strong { font: 750 32px/1.2 var(--psys-font); letter-spacing: -.025em; }
.psys-receipt__status { border-top: 1px solid #d4cec2; margin-top: 13px; padding-top: 13px; font-size: 12px; font-weight: 700; }
.psys-receipt__refresh { display: inline-flex; gap: 12px; align-items: center; margin-top: 16px; font-size: 14px; font-weight: 650; text-decoration: underline; text-underline-offset: 4px; min-height: 44px; }
.psys-receipt__refresh span { font-size: 22px; }
.psys-receipt__steps { list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 24px var(--psys-gutter) !important; border-bottom: 1px solid #ddd; gap: 28px; }
.psys-receipt__steps li { display: flex; gap: 10px; align-items: center; font-size: 12px; color: #64645e; }
.psys-receipt__steps li > span { display: block; width: 10px; height: 10px; border: 1px solid #777; border-radius: 50%; flex: 0 0 auto; }
.psys-receipt__steps .is-complete { color: #111; }
.psys-receipt__steps .is-complete > span { background: #111; border-color: #111; }
.psys-receipt__steps .is-current { color: #111; font-weight: 750; }
.psys-receipt__steps .is-current > span { border: 3px solid #111; }
.psys-receipt__grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(270px,.65fr); gap: 5vw; padding: 44px var(--psys-gutter) 0; }
body.psys-receipt-view .psys-receipt h2 { font: 780 23px/1.15 var(--psys-font); letter-spacing: -.025em; text-transform: uppercase; }
.psys-receipt__section-head { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid #111; }
.psys-receipt__section-head > span { font-size: 13px; color: #55554f; }
.psys-receipt__products { padding: 0; list-style: none; }
.psys-receipt__products > li { display: grid; grid-template-columns: 76px minmax(0,1fr) auto; gap: 18px; align-items: center; padding: 22px 0; border-bottom: 1px solid #deded8; }
.psys-receipt__photo { width: 76px; height: 100px; background: #efefeb; }
.psys-receipt__photo img { width: 100%; height: 100%; object-fit: cover; }
body.psys-receipt-view .psys-receipt h3 { font: 680 14px/1.35 var(--psys-font); }
body.psys-receipt-view .psys-receipt .psys-receipt__product-text p { margin-top: 7px; color: #595953; font-size: 12px; }
body.psys-receipt-view .psys-receipt .wc-item-meta { list-style: none; padding: 0; font-size: 12px; margin-top: 5px; }
.psys-receipt__line-price { font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.psys-receipt__totals { display: grid; gap: 12px; padding-top: 20px; }
.psys-receipt__totals > div { display: flex; justify-content: space-between; gap: 20px; font-size: 13px; }
.psys-receipt__totals dd { text-align: right; margin: 0; }
.psys-receipt__totals .is-total { border-top: 1px solid #111; padding-top: 18px; margin-top: 6px; font-size: 22px; font-weight: 750; }
.psys-receipt__aside { display: grid; gap: 26px; align-content: start; }
.psys-receipt__aside section { padding-bottom: 26px; border-bottom: 1px solid #ddd; }
body.psys-receipt-view .psys-receipt__aside h2 { font-size: 17px; margin-bottom: 15px; }
body.psys-receipt-view .psys-receipt__aside p { font-size: 14px; line-height: 1.55; margin-top: 6px; overflow-wrap: anywhere; }
.psys-receipt__delivery-name { font-weight: 700; }
body.psys-receipt-view .psys-receipt__aside .psys-receipt__hint { margin-top: 13px; font-size: 12px; color: #5a5a54; }
.psys-receipt__tracking { display: grid; gap: 6px; margin-top: 17px; padding-top: 17px; border-top: 1px solid #ddd; }
.psys-receipt__tracking > span { font-size: 12px; color: #565651; }
.psys-receipt__tracking strong { font-size: 20px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.psys-receipt__aside a { font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.psys-receipt__help a { display: inline-flex; gap: 10px; margin-top: 10px; min-height: 44px; align-items: center; }
.psys-receipt__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; padding: 32px var(--psys-gutter) 44px; }
.psys-receipt__actions a:not(.psys-button) { font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
body.psys-receipt-view .psys-receipt .psys-button { color: #fff; }
.psys-receipt__extensions:empty { display: none; }
.psys-receipt__extensions, .psys-receipt__no-order { padding: 24px var(--psys-gutter); }
@media (max-width: 760px) {
    .psys-receipt__hero { grid-template-columns: 1fr; gap: 28px; padding-block: 32px; }
    .psys-receipt__reference { padding: 20px 0 0; border-left: 0; border-top: 1px solid #d4cec2; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
    .psys-receipt__reference strong { font-size: 24px; }
    .psys-receipt__status { margin: 0; border: 0; padding: 0; flex-basis: 100%; }
    .psys-receipt__steps { gap: 12px; }
    .psys-receipt__steps li { font-size: 11px; line-height: 1.3; align-items: start; }
    .psys-receipt__steps li > span { margin-top: 2px; }
    .psys-receipt__grid { grid-template-columns: 1fr; gap: 32px; padding-top: 30px; }
    .psys-receipt__products > li { grid-template-columns: 58px minmax(0,1fr); gap: 12px; align-items: start; }
    .psys-receipt__photo { width: 58px; height: 78px; grid-row: span 2; }
    .psys-receipt__line-price { grid-column: 2; }
    .psys-installments-dialog__body { padding: 20px; }
    .psys-installments-schedule strong { font-size: 12px; }
}
