/* ========================================================================== 
   AFAQ — Final project order / invoice
   Clean standalone receipt screen for the public guest flow.
   Built mobile-first and scoped aggressively to avoid theme/platform bleed.
   ========================================================================== */

html body .afaq-stage1-receipt,
html body .afaq-stage1-receipt *,
html body .afaq-stage1-receipt *::before,
html body .afaq-stage1-receipt *::after {
    box-sizing: border-box;
}

html body .afaq-stage1-receipt {
    --sr-navy: #071d3d;
    --sr-navy-2: #0a294f;
    --sr-gold: #cf9b3d;
    --sr-gold-soft: #fff7e8;
    --sr-text: #0b2346;
    --sr-muted: #727c8a;
    --sr-line: #e6e9ee;
    --sr-soft: #f6f8fb;
    --sr-green: #15925d;
    --sr-green-soft: #edf8f2;
    --sr-amber: #a36c18;
    --sr-amber-soft: #fff7e7;
    --sr-red: #a34646;
    --sr-red-soft: #fff2f2;
    width: 100%;
    min-height: 100vh;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: clip;
    direction: rtl;
    background: #fff;
    color: var(--sr-text) !important;
    font-family: "Tajawal", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif !important;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

html body .afaq-stage1-receipt :where(h1,h2,h3,p,span,strong,small,a,button) {
    font-family: inherit !important;
}

html body .afaq-stage1-receipt a { text-decoration: none; }
html body .afaq-stage1-receipt button { font: inherit; }

/* -------------------------------- Header --------------------------------- */
html body .afaq-stage1-receipt__hero {
    position: relative;
    width: 100%;
    height: 105px;
    min-height: 105px;
    overflow: hidden;
    background: linear-gradient(90deg, #061831 0%, #071d3d 54%, #082348 100%);
}

html body .afaq-stage1-receipt__hero::before,
html body .afaq-stage1-receipt__hero::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

html body .afaq-stage1-receipt__hero::before {
    width: 240px;
    height: 128px;
    left: -96px;
    top: 35px;
    transform: skewX(-31deg) rotate(-5deg);
    background: linear-gradient(135deg, rgba(39,78,124,.21), transparent);
}

html body .afaq-stage1-receipt__hero::after {
    width: 185px;
    height: 110px;
    left: -35px;
    top: 61px;
    transform: skewX(-31deg);
    background: linear-gradient(135deg, rgba(13,53,97,.31), transparent);
}

html body .afaq-stage1-receipt__hero-inner {
    position: relative;
    z-index: 2;
    width: min(100%, 720px);
    height: 105px;
    min-height: 105px;
    margin: 0 auto;
    padding: 13px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

html body .afaq-stage1-receipt-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #fff !important;
    line-height: 1;
}

html body .afaq-stage1-receipt-brand__rail {
    position: relative;
    width: 1.5px;
    height: 50px;
    flex: 0 0 1.5px;
    border-radius: 99px;
    background: linear-gradient(#e4b85f,#b67c28);
}

html body .afaq-stage1-receipt-brand__rail i {
    position: absolute;
    left: 50%;
    width: 5px;
    height: 5px;
    margin-left: -2.5px;
    border-radius: 50%;
    background: #d7a247;
}
html body .afaq-stage1-receipt-brand__rail i:first-child { top: -1px; }
html body .afaq-stage1-receipt-brand__rail i:last-child { bottom: -1px; }

html body .afaq-stage1-receipt-brand__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

html body .afaq-stage1-receipt-brand__copy strong {
    margin: 0 !important;
    color: #fff !important;
    font-size: 34px !important;
    line-height: .92 !important;
    font-weight: 800 !important;
    letter-spacing: -.6px;
}

html body .afaq-stage1-receipt-brand__copy small {
    color: #d0b47f !important;
    font-size: 11px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    white-space: nowrap;
}

html body .afaq-stage1-receipt__secure {
    min-height: 32px;
    padding: 5px 9px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 999px;
    background: rgba(255,255,255,.07);
    color: #f5e7c9 !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    white-space: nowrap;
}

html body .afaq-stage1-receipt__secure > span {
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    color: #e0b75e !important;
}
html body .afaq-stage1-receipt__secure svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* -------------------------------- Canvas --------------------------------- */
html body .afaq-stage1-receipt__main {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff;
}

html body .afaq-stage1-receipt__sheet {
    width: min(100%, 720px);
    margin: 0 auto;
    padding: 26px 16px 38px;
    background: #fff;
}

/* ------------------------------- Status ---------------------------------- */
html body .afaq-stage1-receipt__status {
    position: relative;
    min-height: 112px;
    margin: 0 0 14px !important;
    padding: 17px;
    display: grid;
    grid-template-columns: 56px minmax(0,1fr);
    align-items: center;
    gap: 13px;
    overflow: hidden;
    border: 1px solid var(--sr-line) !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 9px 25px rgba(7,29,61,.055) !important;
}

html body .afaq-stage1-receipt__status::after {
    content: "";
    position: absolute;
    left: -42px;
    top: -47px;
    width: 128px;
    height: 128px;
    border-radius: 50%;
    pointer-events: none;
}
html body .afaq-stage1-receipt__status--success::after { background: var(--sr-green-soft); }
html body .afaq-stage1-receipt__status--pending::after { background: var(--sr-amber-soft); }
html body .afaq-stage1-receipt__status--failed::after { background: var(--sr-red-soft); }

html body .afaq-stage1-receipt__status-icon {
    position: relative;
    z-index: 1;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
}
html body .afaq-stage1-receipt__status--success .afaq-stage1-receipt__status-icon { background: var(--sr-green-soft); color: var(--sr-green) !important; }
html body .afaq-stage1-receipt__status--pending .afaq-stage1-receipt__status-icon { background: var(--sr-amber-soft); color: var(--sr-amber) !important; }
html body .afaq-stage1-receipt__status--failed .afaq-stage1-receipt__status-icon { background: var(--sr-red-soft); color: var(--sr-red) !important; }
html body .afaq-stage1-receipt__status-icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

html body .afaq-stage1-receipt__status-copy { min-width: 0; position: relative; z-index: 1; }
html body .afaq-stage1-receipt__eyebrow {
    display: block;
    margin: 0 0 3px !important;
    color: var(--sr-gold) !important;
    font-size: 10.5px !important;
    line-height: 1.4 !important;
    font-weight: 900 !important;
}
html body .afaq-stage1-receipt__status h1 {
    margin: 0 0 4px !important;
    color: var(--sr-text) !important;
    font-size: 20px !important;
    line-height: 1.35 !important;
    font-weight: 900 !important;
}
html body .afaq-stage1-receipt__status p {
    margin: 0 !important;
    color: var(--sr-muted) !important;
    font-size: 11.5px !important;
    line-height: 1.72 !important;
    font-weight: 600 !important;
}

/* ----------------------------- Order summary ------------------------------ */
html body .afaq-stage1-receipt__order-card {
    margin: 0 0 14px !important;
    padding: 16px;
    overflow: hidden;
    border: 1px solid var(--sr-line) !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 8px 23px rgba(7,29,61,.045) !important;
}

html body .afaq-stage1-receipt__order-head {
    min-height: 48px;
    padding: 0 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px solid #edf0f4;
}

html body .afaq-stage1-receipt__order-number {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
html body .afaq-stage1-receipt__order-number span {
    color: #8a929e !important;
    font-size: 10.5px !important;
    line-height: 1.3 !important;
    font-weight: 800 !important;
}
html body .afaq-stage1-receipt__order-number strong {
    color: var(--sr-text) !important;
    font-size: 21px !important;
    line-height: 1.05 !important;
    font-weight: 900 !important;
    letter-spacing: .3px;
}

html body .afaq-stage1-receipt__order-badge {
    max-width: 48%;
    min-height: 31px;
    padding: 5px 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    text-align: center;
    font-size: 10px !important;
    line-height: 1.35 !important;
    font-weight: 900 !important;
}
html body .afaq-stage1-receipt__order-badge--success { background: var(--sr-green-soft); color: var(--sr-green) !important; }
html body .afaq-stage1-receipt__order-badge--pending { background: var(--sr-amber-soft); color: var(--sr-amber) !important; }
html body .afaq-stage1-receipt__order-badge--failed { background: var(--sr-red-soft); color: var(--sr-red) !important; }

html body .afaq-stage1-receipt__project-line {
    min-height: 70px;
    padding: 13px 0 11px;
    display: grid;
    grid-template-columns: 47px minmax(0,1fr);
    align-items: center;
    gap: 11px;
}
html body .afaq-stage1-receipt__project-icon {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(145deg,#f9fafc,#f1f4f8);
    color: var(--sr-navy) !important;
}
html body .afaq-stage1-receipt__project-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}
html body .afaq-stage1-receipt__project-line small {
    display: block;
    margin: 0 0 2px !important;
    color: var(--sr-gold) !important;
    font-size: 9.8px !important;
    line-height: 1.3 !important;
    font-weight: 900 !important;
}
html body .afaq-stage1-receipt__project-line h2 {
    margin: 0 !important;
    color: var(--sr-text) !important;
    font-size: 17px !important;
    line-height: 1.4 !important;
    font-weight: 900 !important;
    overflow-wrap: anywhere;
}

html body .afaq-stage1-receipt__facts {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 7px;
}
html body .afaq-stage1-receipt__fact {
    min-width: 0;
    min-height: 57px;
    padding: 9px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid #f0f2f5;
    border-radius: 12px;
    background: var(--sr-soft);
}
html body .afaq-stage1-receipt__fact--wide { grid-column: 1 / -1; }
html body .afaq-stage1-receipt__fact span {
    display: block;
    margin: 0 0 3px !important;
    color: #8b929e !important;
    font-size: 9.8px !important;
    line-height: 1.35 !important;
    font-weight: 800 !important;
}
html body .afaq-stage1-receipt__fact strong {
    display: block;
    color: var(--sr-text) !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
    font-weight: 850 !important;
    overflow-wrap: anywhere;
}

/* -------------------------------- Invoice -------------------------------- */
html body .afaq-stage1-receipt__invoice {
    margin: 0 0 12px !important;
    overflow: hidden;
    border: 1px solid var(--sr-line) !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 8px 23px rgba(7,29,61,.045) !important;
}

html body .afaq-stage1-receipt__invoice-head {
    min-height: 70px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    border-bottom: 1px solid #eceff3;
    background: linear-gradient(120deg,#f9fafc 0%,#fff 72%);
}

html body .afaq-stage1-receipt__invoice-title {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
}
html body .afaq-stage1-receipt__invoice-icon {
    width: 41px;
    height: 41px;
    flex: 0 0 41px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: var(--sr-navy);
    color: #fff !important;
}
html body .afaq-stage1-receipt__invoice-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
html body .afaq-stage1-receipt__invoice-title small {
    display: block;
    margin: 0 0 1px !important;
    color: var(--sr-gold) !important;
    font-size: 8.8px !important;
    line-height: 1.35 !important;
    font-weight: 900 !important;
}
html body .afaq-stage1-receipt__invoice-title h2 {
    margin: 0 !important;
    color: var(--sr-text) !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
    font-weight: 900 !important;
}
html body .afaq-stage1-receipt__invoice-number {
    max-width: 105px;
    min-width: 54px;
    padding: 6px 8px;
    overflow: hidden;
    border: 1px solid #e7eaf0;
    border-radius: 9px;
    background: #fff;
    color: var(--sr-text) !important;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 10.5px !important;
    line-height: 1.3 !important;
    font-weight: 900 !important;
}

html body .afaq-stage1-receipt__invoice-body { padding: 3px 14px; }
html body .afaq-stage1-receipt__invoice-row {
    min-height: 47px;
    padding: 7px 0;
    display: grid;
    grid-template-columns: minmax(86px,.72fr) minmax(0,1.28fr);
    align-items: center;
    gap: 10px;
    border-bottom: 1px dashed #e6e9ee;
}
html body .afaq-stage1-receipt__invoice-row:last-child { border-bottom: 0; }
html body .afaq-stage1-receipt__invoice-row span {
    color: #7f8896 !important;
    font-size: 10.5px !important;
    line-height: 1.45 !important;
    font-weight: 750 !important;
}
html body .afaq-stage1-receipt__invoice-row strong {
    min-width: 0;
    color: var(--sr-text) !important;
    text-align: left;
    font-size: 11.5px !important;
    line-height: 1.5 !important;
    font-weight: 850 !important;
    overflow-wrap: anywhere;
    word-break: break-word;
}
html body .afaq-stage1-receipt__invoice-row--wide strong { font-size: 12px !important; }

html body .afaq-stage1-receipt__invoice-total {
    min-height: 72px;
    padding: 13px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: linear-gradient(108deg,var(--sr-navy),var(--sr-navy-2));
    color: #fff !important;
}
html body .afaq-stage1-receipt__invoice-total > div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
html body .afaq-stage1-receipt__invoice-total span {
    color: rgba(255,255,255,.88) !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
    font-weight: 850 !important;
}
html body .afaq-stage1-receipt__invoice-total small {
    color: #e5c785 !important;
    font-size: 9.5px !important;
    line-height: 1.35 !important;
    font-weight: 750 !important;
}
html body .afaq-stage1-receipt__invoice-total strong {
    color: #fff !important;
    font-size: 20px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    white-space: nowrap;
}

/* ------------------------------- Actions --------------------------------- */
html body .afaq-stage1-receipt__actions {
    width: 100%;
    margin: 0 0 13px !important;
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px;
}

html body .afaq-stage1-receipt__print,
html body .afaq-stage1-receipt__retry,
html body .afaq-stage1-receipt__receipt-link {
    min-height: 48px;
    margin: 0 !important;
    padding: 8px 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid #dde2e8 !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: var(--sr-text) !important;
    box-shadow: 0 5px 14px rgba(7,29,61,.035) !important;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    font-size: 11px !important;
    line-height: 1.35 !important;
    font-weight: 850 !important;
}
html body .afaq-stage1-receipt__print:hover,
html body .afaq-stage1-receipt__retry:hover,
html body .afaq-stage1-receipt__receipt-link:hover {
    border-color: rgba(207,155,61,.55) !important;
    color: var(--sr-navy) !important;
}
html body .afaq-stage1-receipt__print > span,
html body .afaq-stage1-receipt__retry > span,
html body .afaq-stage1-receipt__receipt-link > span {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    display: grid;
    place-items: center;
    color: var(--sr-gold) !important;
}
html body .afaq-stage1-receipt__print svg,
html body .afaq-stage1-receipt__retry svg,
html body .afaq-stage1-receipt__receipt-link svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
html body .afaq-stage1-receipt__print strong,
html body .afaq-stage1-receipt__retry strong,
html body .afaq-stage1-receipt__receipt-link strong { color: inherit !important; font-weight: inherit !important; }
html body .afaq-stage1-receipt__actions > :only-child { grid-column: 1 / -1; }

/* ------------------------------- WhatsApp -------------------------------- */
html body .afaq-stage1-receipt__contact {
    position: relative;
    margin: 0 !important;
    padding: 16px;
    overflow: hidden;
    border: 1px solid #e5e9ee !important;
    border-radius: 18px !important;
    background: linear-gradient(125deg,#fbfcfd 0%,#f5f8fb 100%) !important;
    box-shadow: 0 8px 23px rgba(7,29,61,.04) !important;
}
html body .afaq-stage1-receipt__contact::before {
    content: "";
    position: absolute;
    left: -47px;
    top: -48px;
    width: 123px;
    height: 123px;
    border-radius: 50%;
    background: rgba(21,146,93,.055);
    pointer-events: none;
}
html body .afaq-stage1-receipt__contact-copy {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 49px minmax(0,1fr);
    align-items: center;
    gap: 10px;
}
html body .afaq-stage1-receipt__contact-icon {
    width: 47px;
    height: 47px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: #eaf8f0;
    color: #149158 !important;
}
html body .afaq-stage1-receipt__contact-icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
html body .afaq-stage1-receipt__contact-copy small {
    display: block;
    color: var(--sr-gold) !important;
    font-size: 9px !important;
    line-height: 1.3 !important;
    font-weight: 900 !important;
}
html body .afaq-stage1-receipt__contact-copy h2 {
    margin: 1px 0 2px !important;
    color: var(--sr-text) !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
    font-weight: 900 !important;
}
html body .afaq-stage1-receipt__contact-copy p {
    margin: 0 !important;
    color: var(--sr-muted) !important;
    font-size: 10.5px !important;
    line-height: 1.6 !important;
    font-weight: 600 !important;
}

html body .afaq-stage1-receipt__whatsapp {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 53px;
    margin: 12px 0 0 !important;
    padding: 7px 9px 7px 13px;
    display: grid;
    grid-template-columns: 1fr 37px;
    align-items: center;
    gap: 8px;
    border: 0 !important;
    border-radius: 13px !important;
    background: linear-gradient(105deg,#12864f,#169b60) !important;
    color: #fff !important;
    box-shadow: 0 9px 21px rgba(18,134,79,.16) !important;
}
html body .afaq-stage1-receipt__whatsapp > span {
    color: #fff !important;
    text-align: center;
    font-size: 13.5px !important;
    line-height: 1.3 !important;
    font-weight: 900 !important;
}
html body .afaq-stage1-receipt__whatsapp i {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    justify-self: end;
    border-radius: 50%;
    background: #fff;
    color: #15925d !important;
    font-style: normal;
}
html body .afaq-stage1-receipt__whatsapp svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

html body .afaq-stage1-receipt__trust {
    width: 100%;
    margin: 14px 0 0 !important;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #8b929d !important;
    text-align: center;
}
html body .afaq-stage1-receipt__trust > span {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    display: grid;
    place-items: center;
    color: var(--sr-gold) !important;
}
html body .afaq-stage1-receipt__trust svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
html body .afaq-stage1-receipt__trust p {
    margin: 0 !important;
    color: #8b929d !important;
    font-size: 9.5px !important;
    line-height: 1.55 !important;
    font-weight: 650 !important;
}

/* ------------------------------- Locked ---------------------------------- */
html body .afaq-stage1-receipt--locked {
    min-height: 100vh;
    padding: 20px !important;
    display: grid;
    place-items: center;
    background: #f6f8fb;
}
html body .afaq-stage1-receipt__locked-shell {
    width: min(100%,460px);
    padding: 28px 22px;
    border: 1px solid #e5e8ed;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 17px 45px rgba(7,29,61,.08);
    text-align: center;
}
html body .afaq-stage1-receipt__locked-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 13px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f5f7fa;
    color: var(--sr-navy) !important;
}
html body .afaq-stage1-receipt__locked-icon svg { width: 33px; height: 33px; fill: none; stroke: currentColor; stroke-width: 1.8; }
html body .afaq-stage1-receipt__locked-shell h1 { margin: 0 0 6px !important; color: var(--sr-text) !important; font-size: 21px !important; font-weight: 900 !important; }
html body .afaq-stage1-receipt__locked-shell p { margin: 0 0 16px !important; color: var(--sr-muted) !important; font-size: 12px !important; line-height: 1.7 !important; }
html body .afaq-stage1-receipt__locked-shell a { min-height: 44px; padding: 8px 14px; display: inline-flex; align-items: center; justify-content: center; border-radius: 11px; background: var(--sr-navy); color: #fff !important; font-size: 12px !important; font-weight: 900 !important; }

/* ----------------------------- Very small -------------------------------- */
@media (max-width: 380px) {
    html body .afaq-stage1-receipt__hero,
    html body .afaq-stage1-receipt__hero-inner { height: 96px; min-height: 96px; }
    html body .afaq-stage1-receipt__hero-inner { padding-inline: 16px; }
    html body .afaq-stage1-receipt-brand__copy strong { font-size: 30px !important; }
    html body .afaq-stage1-receipt-brand__copy small { font-size: 9.6px !important; }
    html body .afaq-stage1-receipt-brand__rail { height: 44px; }
    html body .afaq-stage1-receipt__secure { display: none; }
    html body .afaq-stage1-receipt__sheet { padding: 21px 11px 32px; }
    html body .afaq-stage1-receipt__status { grid-template-columns: 49px minmax(0,1fr); gap: 10px; padding: 14px; }
    html body .afaq-stage1-receipt__status-icon { width: 46px; height: 46px; }
    html body .afaq-stage1-receipt__status h1 { font-size: 18px !important; }
    html body .afaq-stage1-receipt__order-card { padding: 14px; }
    html body .afaq-stage1-receipt__facts { grid-template-columns: 1fr; }
    html body .afaq-stage1-receipt__fact--wide { grid-column: auto; }
    html body .afaq-stage1-receipt__invoice-head { padding-inline: 11px; }
    html body .afaq-stage1-receipt__invoice-body { padding-inline: 11px; }
    html body .afaq-stage1-receipt__invoice-row { grid-template-columns: 1fr; gap: 2px; padding: 9px 0; }
    html body .afaq-stage1-receipt__invoice-row strong { text-align: right; }
    html body .afaq-stage1-receipt__invoice-total { padding-inline: 12px; }
    html body .afaq-stage1-receipt__invoice-total strong { font-size: 18px !important; }
    html body .afaq-stage1-receipt__actions { grid-template-columns: 1fr; }
    html body .afaq-stage1-receipt__contact { padding: 14px; }
    html body .afaq-stage1-receipt__contact-copy { grid-template-columns: 44px minmax(0,1fr); }
    html body .afaq-stage1-receipt__contact-icon { width: 42px; height: 42px; }
    html body .afaq-stage1-receipt__contact-copy h2 { font-size: 14.5px !important; }
}

/* ----------------------------- Larger screens ----------------------------- */
@media (min-width: 700px) {
    html body .afaq-stage1-receipt { padding-bottom: 55px !important; background: #f4f6f9; }
    html body .afaq-stage1-receipt__hero { height: 150px; min-height: 150px; }
    html body .afaq-stage1-receipt__hero-inner { height: 150px; min-height: 150px; padding-inline: 38px; }
    html body .afaq-stage1-receipt-brand__copy strong { font-size: 42px !important; }
    html body .afaq-stage1-receipt-brand__copy small { font-size: 14px !important; }
    html body .afaq-stage1-receipt-brand__rail { height: 61px; }
    html body .afaq-stage1-receipt__secure { min-height: 37px; padding-inline: 12px; font-size: 11px !important; }
    html body .afaq-stage1-receipt__sheet {
        width: min(100% - 34px,720px);
        padding: 38px 40px 49px;
        border-radius: 0 0 24px 24px;
        background: #fff;
        box-shadow: 0 20px 50px rgba(7,29,61,.07);
    }
    html body .afaq-stage1-receipt__status { min-height: 127px; padding: 21px; grid-template-columns: 66px minmax(0,1fr); gap: 16px; }
    html body .afaq-stage1-receipt__status-icon { width: 62px; height: 62px; }
    html body .afaq-stage1-receipt__status h1 { font-size: 25px !important; }
    html body .afaq-stage1-receipt__status p { font-size: 13px !important; }
    html body .afaq-stage1-receipt__order-card { padding: 21px; }
    html body .afaq-stage1-receipt__order-number strong { font-size: 24px !important; }
    html body .afaq-stage1-receipt__project-line { grid-template-columns: 54px minmax(0,1fr); gap: 13px; min-height: 82px; }
    html body .afaq-stage1-receipt__project-icon { width: 52px; height: 52px; }
    html body .afaq-stage1-receipt__project-line h2 { font-size: 20px !important; }
    html body .afaq-stage1-receipt__facts { gap: 9px; }
    html body .afaq-stage1-receipt__fact { min-height: 67px; padding: 11px 13px; }
    html body .afaq-stage1-receipt__fact span { font-size: 11px !important; }
    html body .afaq-stage1-receipt__fact strong { font-size: 13.5px !important; }
    html body .afaq-stage1-receipt__invoice-head { min-height: 83px; padding: 15px 19px; }
    html body .afaq-stage1-receipt__invoice-icon { width: 48px; height: 48px; flex-basis: 48px; }
    html body .afaq-stage1-receipt__invoice-title h2 { font-size: 19px !important; }
    html body .afaq-stage1-receipt__invoice-body { padding-inline: 19px; }
    html body .afaq-stage1-receipt__invoice-row { min-height: 54px; padding-block: 9px; }
    html body .afaq-stage1-receipt__invoice-row span { font-size: 12px !important; }
    html body .afaq-stage1-receipt__invoice-row strong { font-size: 13px !important; }
    html body .afaq-stage1-receipt__invoice-total { min-height: 83px; padding: 15px 19px; }
    html body .afaq-stage1-receipt__invoice-total strong { font-size: 24px !important; }
    html body .afaq-stage1-receipt__print,
    html body .afaq-stage1-receipt__retry,
    html body .afaq-stage1-receipt__receipt-link { min-height: 52px; font-size: 12px !important; }
    html body .afaq-stage1-receipt__contact { padding: 19px; }
    html body .afaq-stage1-receipt__contact-copy { grid-template-columns: 57px minmax(0,1fr); gap: 13px; }
    html body .afaq-stage1-receipt__contact-icon { width: 54px; height: 54px; }
    html body .afaq-stage1-receipt__contact-copy h2 { font-size: 18px !important; }
    html body .afaq-stage1-receipt__contact-copy p { font-size: 12px !important; }
    html body .afaq-stage1-receipt__whatsapp { min-height: 60px; }
    html body .afaq-stage1-receipt__whatsapp > span { font-size: 15px !important; }
}

/* -------------------------------- Print ---------------------------------- */
@media print {
    body { background: #fff !important; }
    html body .afaq-stage1-receipt { min-height: auto; background: #fff !important; }
    html body .afaq-stage1-receipt__hero,
    html body .afaq-stage1-receipt__status,
    html body .afaq-stage1-receipt__order-card,
    html body .afaq-stage1-receipt__actions,
    html body .afaq-stage1-receipt__contact,
    html body .afaq-stage1-receipt__trust { display: none !important; }
    html body .afaq-stage1-receipt__main,
    html body .afaq-stage1-receipt__sheet { width: 100% !important; margin: 0 !important; padding: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
    html body .afaq-stage1-receipt__invoice { width: 100% !important; margin: 0 !important; border: 1px solid #d8dce3 !important; border-radius: 0 !important; box-shadow: none !important; break-inside: avoid; }
    html body .afaq-stage1-receipt__invoice-total { background: #071d3d !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

@media (prefers-reduced-motion: reduce) {
    html body .afaq-stage1-receipt *,
    html body .afaq-stage1-receipt *::before,
    html body .afaq-stage1-receipt *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
