@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap");
/* =====================================================
   NUMB STUDIO — CHECKOUT PAGE
   ===================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.numb-checkout-header { position: fixed; }
.numb-checkout-bar {
    height: var(--numb-header-h);
    display: flex;
    align-items: center;
    gap: clamp(24px, 13vw, 190px);
    padding: 0 clamp(16px, 4.5vw, 56px);
}
.numb-checkout-bar .numb-logo {
    font-family: var(--numb-logo);
    font-weight: 800;
    font-size: clamp(22px, 2.4vw, 32px);
    color: #fff;
    white-space: nowrap;
}
.numb-checkout-bar .numb-logo:hover { color: #fff; opacity: .9; }
.numb-checkout-title {
    margin: 0;
    font-family: var(--numb-serif);
    font-weight: 700;
    text-transform: uppercase;
    font-size: clamp(18px, 2.3vw, 30px);
    color: var(--numb-nav-text);
    white-space: nowrap;
}
body.numb-checkout-page { margin-top: var(--numb-header-h); }

/* ---------- Layout ---------- */
.numb-checkout {
    background: var(--numb-brown);
    padding: 40px clamp(16px, 2.7vw, 34px) 70px;
}
.numb-checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 510px);
    gap: 40px clamp(24px, 6vw, 140px);
    max-width: 1200px;
}
.numb-col-left { grid-column: 1; grid-row: 1; min-width: 0; }
.numb-col-right { grid-column: 2; grid-row: 1; }
.numb-col-left[hidden] { display: none; }

/* ---------- Billing form ---------- */
.numb-label {
    display: block;
    font-family: var(--numb-serif);
    font-weight: 700;
    font-size: 23px;
    color: var(--numb-nav-text);
    margin: 0 0 8px;
    text-transform: none;
    letter-spacing: 0;
}
.numb-section-title { margin-bottom: 18px; }
.numb-billing { max-width: 495px; }
.numb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 46px; }
.numb-field { margin-bottom: 14px; }
.numb-field input,
.numb-field select {
    display: block;
    width: 100%;
    height: 30px;
    padding: 2px 8px;
    border: 1px solid #555;
    border-radius: 0;
    background-color: #fff;
    font-family: var(--numb-serif);
    font-size: 16px;
    color: #1a1a1a;
}
.numb-field input + input { margin-top: 10px; }
.numb-field input:focus,
.numb-field select:focus { outline: 2px solid #d4af5f; outline-offset: 1px; }
.numb-field .is-invalid { border-color: #e0655a; box-shadow: 0 0 0 2px rgba(224, 101, 90, .45); }
.numb-email { max-width: 318px; }

/* State dropdown with the "V" chevron */
.numb-field select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 30px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111' stroke-width='1.4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 9px center;
    background-size: 12px 8px;
}
.numb-field select:invalid { color: #8a8a8a; }
.numb-field select option { color: #1a1a1a; }
.numb-form-msg { color: #f2b8a8; font-size: 15px; min-height: 1em; margin-top: 6px; }

/* ---------- Order card ---------- */
.numb-order {
    background: #fff;
    border: 1px solid #777;
    padding: 18px 36px 26px 23px;
    color: #111;
}
.numb-order-title {
    display: inline-block;
    font-family: var(--numb-serif);
    font-weight: 700;
    font-size: 24px;
    color: #111 !important;
    margin: 0 0 14px;
    padding: 0 30px 2px 0;
    border-bottom: 3px solid var(--numb-brown);
    border-radius: 0 0 4px 0;
}
.numb-order-table { width: 100%; border-collapse: collapse; font-family: var(--numb-serif); color: #111; }
.numb-order-table th,
.numb-order-table td { padding: 0; color: #111; }
.numb-order-table th:last-child,
.numb-order-table td:last-child { text-align: right; white-space: nowrap; }
.numb-order-table thead th {
    font-size: 23px;
    padding-bottom: 2px;
    border-bottom: 3px solid var(--numb-brown);
}
.numb-order-table tbody td { font-size: 21px; padding: 14px 0 6px; }
.numb-order-table tbody tr:last-child td { padding-bottom: 14px; }
.numb-order-table tfoot th {
    font-size: 23px;
    padding: 14px 0 12px;
    border-top: 3px solid var(--numb-brown);
}
.numb-order-table tfoot .numb-total th { font-size: 24px; padding-top: 18px; }

/* ---------- Square tick boxes ---------- */
.numb-pay-choice {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border: 0;
    margin: 30px 0 0;
    padding: 0 76px 0 23px;
}
.numb-tick {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    cursor: pointer;
    margin: 0;
}
.numb-tick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.numb-box {
    position: relative;
    width: 30px;
    height: 22px;
    background: #fff;
    border: 1px solid #777;
    flex: 0 0 auto;
    transition: box-shadow 200ms;
}
.numb-tick input:checked + .numb-box::after {
    content: "";
    position: absolute;
    left: 10px;
    top: 2px;
    width: 8px;
    height: 13px;
    border: solid var(--numb-brown);
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}
.numb-tick input:focus-visible + .numb-box { box-shadow: 0 0 0 3px #d4af5f; }
.numb-tick:hover .numb-box { box-shadow: 0 0 0 2px rgba(212, 175, 95, .7); }
.numb-tick-text {
    font-family: var(--numb-serif);
    font-weight: 700;
    font-size: 17px;
    text-transform: uppercase;
    color: var(--numb-nav-text);
}

/* ---------- Payment panel (QR / Transfer) ---------- */
.numb-pay-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 512px;
    margin: 0 auto;
    width: 100%;
}
.numb-back {
    align-self: flex-start;
    background: none;
    border: 0;
    color: var(--numb-nav-text);
    font-family: var(--numb-serif);
    font-size: 16px;
    cursor: pointer;
    padding: 0 0 14px;
}
.numb-back:hover { color: #fff; }
.numb-qr {
    background: #fff;
    padding: 18px;
    width: min(326px, 100%);
    aspect-ratio: 1;
}
.numb-qr img { width: 100%; height: 100%; object-fit: contain; display: block; }
.numb-pay-hint {
    color: #d8cdc1;
    font-family: var(--numb-serif);
    font-size: 17px;
    text-align: center;
    margin: 16px 0 18px;
}
.numb-pay-hint strong { color: #fff; }

.numb-bank {
    width: 100%;
    background: #fff;
    border: 1px solid #777;
    padding: 22px 26px;
    font-family: var(--numb-serif);
    color: #111;
}
.numb-bank-title {
    font-weight: 700;
    font-size: 22px;
    color: #111 !important;
    margin: 0 0 12px;
    padding-bottom: 4px;
    border-bottom: 3px solid var(--numb-brown);
    display: inline-block;
}
.numb-bank dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 0; }
.numb-bank dt { font-weight: 700; font-size: 17px; }
.numb-bank dd { margin: 0; font-size: 18px; text-align: right; }
.numb-copy {
    margin-left: 10px;
    border: 1px solid var(--numb-brown);
    background: #f3efe9;
    border-radius: 999px;
    padding: 1px 12px;
    font-size: 13px;
    cursor: pointer;
}

.numb-upload-slot { width: 100%; }
.numb-or {
    font-family: var(--numb-serif);
    font-size: 21px;
    color: #c9b8a6;
    margin: 18px 0;
}
.numb-chat-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    width: 100%;
    min-height: 46px;
    background: #fff;
    border: 1px solid #777;
    color: #2b0f0a;
    font-family: var(--numb-serif);
    font-weight: 700;
    font-size: clamp(20px, 2.4vw, 31px);
    text-transform: uppercase;
    transition: transform 200ms, box-shadow 200ms;
}
.numb-chat-btn svg { width: 38px; height: 38px; color: #111; flex: 0 0 auto; }
.numb-chat-btn:hover { color: #2b0f0a; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0, 0, 0, .4); }

/* ---------- Upload card (image 3 style) ---------- */
.numb-upload {
    background: #fff;
    border-radius: 14px;
    padding: 22px 22px 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
    font-family: "Helvetica Neue", Arial, sans-serif;
    color: #1a1a1a;
}
.numb-upload h4 {
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    font-size: 19px;
    color: #1a1a1a !important;
    margin: 0 0 14px;
}
.numb-drop {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 130px;
    border: 2px dashed #c9c9c9;
    border-radius: 12px;
    padding: 18px;
    text-align: center;
    cursor: pointer;
    transition: background 200ms, border-color 200ms;
    margin: 0;
}
.numb-drop:hover,
.numb-drop.is-over { background: #f7f3ee; border-color: var(--numb-brown); }
.numb-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.numb-plus {
    width: 30px;
    height: 30px;
    border: 1.6px solid #222;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    color: #222;
}
.numb-drop-main { font-size: 15px; color: #333; }
.numb-drop-sub { font-size: 12px; color: #666; }

.numb-file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid #e2e2e2;
    border-radius: 12px;
}
.numb-file-item[hidden] { display: none; }
.numb-file-icon svg { width: 26px; height: 26px; color: #d0453c; display: block; }
.numb-file-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.numb-file-name { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.numb-file-size { font-size: 12px; color: #777; }
.numb-file-remove {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 0;
    background: #f0f0f0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.numb-file-remove svg { width: 17px; height: 17px; color: #333; }
.numb-file-remove:hover { background: #e4e4e4; }

.numb-send-receipt {
    width: 100%;
    margin-top: 14px;
    border: 0;
    border-radius: 8px;
    background: var(--numb-brown);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 10px;
    cursor: pointer;
}
.numb-send-receipt:disabled { background: #eee; color: #888; cursor: not-allowed; }
.numb-upload-msg { margin: 10px 0 0; font-size: 13px; min-height: 1em; color: #555; text-align: center; }
.numb-upload-msg.is-ok { color: #2e7d32; }
.numb-upload-msg.is-error { color: #c62828; }

/* ---------- Tablet & phone ---------- */
@media (max-width: 991px) {
    .numb-checkout-grid { grid-template-columns: 1fr; }
    .numb-col-left, .numb-col-right { grid-column: 1; }
    .numb-col-right { grid-row: 2; max-width: 560px; width: 100%; }
    .numb-billing { max-width: 100%; }
    .numb-pay-panel { margin: 0; }
}
@media (max-width: 575px) {
    .numb-checkout-bar { gap: 16px; justify-content: space-between; }
    .numb-checkout-title { font-size: 16px; }
    .numb-checkout-bar .numb-logo { font-size: 20px; }
    .numb-label { font-size: 19px; }
    .numb-row { gap: 0 16px; }
    .numb-email { max-width: 100%; }
    .numb-order { padding: 16px 16px 20px; }
    .numb-order-table thead th, .numb-order-table tfoot th { font-size: 19px; }
    .numb-order-table tbody td { font-size: 17px; }
    .numb-pay-choice { padding: 0 4px; }
    .numb-chat-btn { gap: 12px; font-size: 19px; }
    .numb-chat-btn svg { width: 30px; height: 30px; }
    .numb-bank { padding: 18px 16px; }
    .numb-bank dl { grid-template-columns: 1fr; gap: 2px; }
    .numb-bank dd { text-align: left; margin-bottom: 8px; }
}

/* keep the native State dropdown (template's nice-select disabled) */
.numb-field .nice-select { display: none !important; }
.numb-field select#state { display: block !important; }
.numb-pay-panel, .numb-billing { scroll-margin-top: calc(var(--numb-header-h) + 16px); }


/* =====================================================
   v2 — POLISHED CHECKOUT
   ===================================================== */
:root {
    --numb-gold: #d4af5f;
    --numb-gold-soft: rgba(212, 175, 95, .35);
    --numb-field: #f6f1ea;
    --numb-ease: cubic-bezier(.22, .8, .24, 1);
}
.numb-checkout-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); align-items: start; }

/* ---------- Billing card ---------- */
.numb-billing {
    max-width: 560px;
    padding: 30px 32px 26px;
    border-radius: 20px;
    background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(0, 0, 0, .12));
    border: 1px solid var(--numb-gold-soft);
    box-shadow: 0 20px 45px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .06);
    animation: numbRise 600ms var(--numb-ease) both;
}
.numb-section-title {
    font-size: 26px;
    color: #f1e9df;
    margin-bottom: 22px;
    padding-bottom: 10px;
    position: relative;
}
.numb-section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 56px;
    height: 2px;
    border-radius: 2px;
    background: var(--numb-gold);
}
.numb-billing .numb-label:not(.numb-section-title) {
    font-size: 16px;
    letter-spacing: .3px;
    color: #d9cec2;
    margin-bottom: 7px;
}
.numb-row { gap: 0 20px; }
.numb-field { margin-bottom: 18px; }
.numb-field input,
.numb-field select {
    height: 46px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 12px;
    background-color: var(--numb-field);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, .12);
    font-size: 17px;
    transition: border-color 250ms, box-shadow 250ms, background-color 250ms;
}
.numb-field select { padding-right: 38px; background-position: right 14px center; }
.numb-field input:hover,
.numb-field select:hover { background-color: #fffaf3; }
.numb-field input:focus,
.numb-field select:focus {
    outline: none;
    background-color: #fff;
    border-color: var(--numb-gold);
    box-shadow: 0 0 0 4px var(--numb-gold-soft);
}
.numb-field .is-invalid { border-color: #e0655a; box-shadow: 0 0 0 4px rgba(224, 101, 90, .3); }
.numb-email { max-width: 100%; }
.numb-form-msg { margin: 4px 0 0; }

/* ---------- Payment option cards (square tick) ---------- */
.numb-pay-choice {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 0;
    margin-top: 26px;
}
.numb-pay-choice.is-disabled { opacity: .45; pointer-events: none; }
.numb-tick {
    gap: 14px;
    padding: 15px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--numb-gold-soft);
    transition: background 250ms, border-color 250ms, transform 250ms var(--numb-ease), box-shadow 250ms;
}
.numb-tick:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .09); box-shadow: 0 10px 22px rgba(0, 0, 0, .3); }
.numb-tick:hover .numb-box { box-shadow: none; }
.numb-tick:has(input:checked) {
    background: rgba(212, 175, 95, .16);
    border-color: var(--numb-gold);
    box-shadow: 0 0 0 1px var(--numb-gold), 0 10px 22px rgba(0, 0, 0, .3);
}
.numb-box {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border: 1.5px solid #bfb2a3;
    background: #fff;
    transition: background 200ms, border-color 200ms;
}
.numb-tick input:checked + .numb-box { background: var(--numb-gold); border-color: var(--numb-gold); }
.numb-tick input:checked + .numb-box::after {
    left: 7px;
    top: 2px;
    width: 7px;
    height: 13px;
    border-color: #2a1708;
    animation: numbTick 250ms var(--numb-ease) both;
}
.numb-tick-text { font-size: 16px; letter-spacing: .4px; color: #efe6db; }
.numb-empty-note {
    margin: 22px 0 0;
    padding: 14px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
    border: 1px dashed var(--numb-gold-soft);
    color: #e9dfd3;
    font-family: var(--numb-serif);
    font-size: 17px;
    text-align: center;
}
.numb-empty-note a { color: var(--numb-gold); font-weight: 700; }
.numb-empty-note a:hover { color: #fff; }

/* ---------- RECEIPT ---------- */
.numb-receipt-wrap {
    position: relative;
    filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .45));
}
.numb-printer {
    position: relative;
    z-index: 2;
    height: 58px;
    border-radius: 12px;
    background: linear-gradient(180deg, #e0c387 0%, #b88d48 38%, #8a6328 70%, #6d4c1d 100%);
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, .45), inset 0 -3px 6px rgba(0, 0, 0, .35), 0 6px 14px rgba(0, 0, 0, .4);
}
.numb-slot {
    position: absolute;
    left: 8%;
    right: 8%;
    top: 36px;
    height: 6px;
    border-radius: 6px;
    background: #24150a;
    box-shadow: inset 0 2px 3px rgba(0, 0, 0, .8), 0 1px 0 rgba(255, 255, 255, .35);
}
.numb-receipt {
    --zig: 16px;
    position: relative;
    z-index: 1;
    width: 86%;
    margin: -18px auto 0;
    padding: 38px 28px calc(30px + var(--zig));
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .07), rgba(0, 0, 0, 0) 12%, rgba(0, 0, 0, 0) 88%, rgba(0, 0, 0, .07)),
        linear-gradient(180deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, 0) 40px),
        #fbfaf7;
    color: #151515;
    font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
    -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / var(--zig) 100%;
            mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / var(--zig) 100%;
    animation: numbPrint 1.3s var(--numb-ease) .15s both;
}
.numb-receipt-title {
    font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    font-size: 30px;
    letter-spacing: .5px;
    text-transform: uppercase;
    text-align: center;
    color: #111 !important;
    margin: 0 0 18px;
}
.numb-receipt-rule { height: 6px; border-top: 1px solid #555; border-bottom: 1px solid #555; margin-bottom: 14px; }
.numb-receipt-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
    color: #777;
    margin-bottom: 18px;
}
.numb-receipt-meta strong { color: #333; font-weight: 600; }
.numb-receipt-head,
.numb-receipt-items li,
.numb-receipt-sums div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
}
.numb-receipt-head { font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.numb-receipt-head span:last-child { font-weight: 400; }
.numb-receipt-items { list-style: none; margin: 0 0 22px; padding: 0; }
.numb-receipt-items li { font-size: 15px; padding: 3px 0; color: #222; }
.numb-receipt-items li > span:last-child { white-space: nowrap; }
.numb-r-name em { font-style: normal; color: #8a6328; font-weight: 600; }
.numb-r-name small { display: block; font-size: 11.5px; color: #888; }
.numb-r-empty { justify-content: center !important; color: #999 !important; font-style: italic; }
.numb-receipt-sums { border-top: 1px dashed #bbb; padding-top: 12px; }
.numb-receipt-sums div { font-size: 15px; padding: 3px 0; color: #222; }
.numb-receipt-sums .numb-receipt-total { font-weight: 700; font-size: 17px; color: #111; padding-top: 6px; }
.numb-barcode { display: block; width: 100%; height: 44px; margin: 26px 0 8px; fill: #111; }
.numb-receipt-no { text-align: center; font-size: 13px; letter-spacing: 1px; color: #333; margin: 0; }
.numb-receipt-thanks {
    text-align: center;
    margin: 10px 0 0;
    font-family: var(--numb-serif);
    font-style: italic;
    font-size: 14px;
    color: #8a6328;
}

/* ---------- Back button ---------- */
.numb-back {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    padding: 7px 22px 7px 7px;
    border-radius: 999px;
    border: 1px solid var(--numb-gold-soft);
    background: rgba(255, 255, 255, .06);
    color: #efe6db;
    font-family: var(--numb-serif);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: .3px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
    transition: background 250ms, color 250ms, border-color 250ms, transform 250ms var(--numb-ease);
}
.numb-back-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--numb-gold);
    color: #2a1708;
    transition: transform 250ms var(--numb-ease), background 250ms;
}
.numb-back-icon svg { width: 18px; height: 18px; }
.numb-back:hover {
    color: #2a1708;
    background: #f3e7cf;
    border-color: var(--numb-gold);
    transform: translateY(-1px);
}
.numb-back:hover .numb-back-icon { transform: translateX(-3px); background: #2a1708; color: var(--numb-gold); }
.numb-back:focus-visible { outline: 3px solid var(--numb-gold); outline-offset: 2px; }

/* ---------- Payment panels ---------- */
.numb-pay-panel { animation: numbRise 500ms var(--numb-ease) both; }
.numb-qr {
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 0 0 3px var(--numb-gold-soft), 0 18px 36px rgba(0, 0, 0, .4);
}
.numb-bank {
    border: 0;
    border-radius: 18px;
    padding: 24px 26px;
    box-shadow: 0 0 0 3px var(--numb-gold-soft), 0 18px 36px rgba(0, 0, 0, .4);
}
.numb-upload { border-radius: 18px; }
.numb-send-receipt { border-radius: 10px; padding: 12px; transition: background 200ms, transform 200ms; }
.numb-send-receipt:not(:disabled):hover { background: #5a3610; transform: translateY(-1px); }
.numb-upload.is-sent .numb-drop { opacity: .5; pointer-events: none; }
.numb-chat-btn {
    border: 0;
    border-radius: 14px;
    min-height: 54px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
}
.numb-chat-btn svg { color: #25d366; }

/* ---------- Motion ---------- */
@keyframes numbRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes numbPrint {
    from { transform: translateY(-70%); clip-path: inset(70% 0 0 0); }
    to   { transform: none; clip-path: inset(0 0 0 0); }
}
@keyframes numbTick { from { transform: rotate(45deg) scale(0); } to { transform: rotate(45deg) scale(1); } }
@media (prefers-reduced-motion: reduce) {
    .numb-billing, .numb-pay-panel, .numb-receipt, .numb-tick input:checked + .numb-box::after { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .numb-checkout-grid { grid-template-columns: minmax(0, 1fr); }
    .numb-col-right { max-width: 480px; width: 100%; margin: 0 auto; }
    .numb-billing { max-width: 100%; }
}
@media (max-width: 575px) {
    .numb-billing { padding: 22px 18px 18px; border-radius: 16px; }
    .numb-row { gap: 0 12px; }
    .numb-field input, .numb-field select { height: 44px; font-size: 16px; }
    .numb-receipt { width: 90%; padding: 32px 18px calc(24px + var(--zig)); }
    .numb-receipt-title { font-size: 25px; }
    .numb-receipt-items li, .numb-receipt-sums div { font-size: 14px; }
    .numb-pay-choice { gap: 10px; }
    .numb-tick { padding: 13px 12px; gap: 10px; }
    .numb-tick-text { font-size: 14px; }
    .numb-back { font-size: 15px; }
}

/* "Track your order" link after sending a receipt */
.numb-track-link { display: inline-block; margin-top: 8px; color: #3c2405; font-weight: 700; text-decoration: underline; }


/* =====================================================
   v3 — centred layout, slow receipt printing, print button
   ===================================================== */
.numb-checkout-grid {
    grid-template-columns: minmax(0, 560px) minmax(0, 460px);
    justify-content: center;
    gap: 40px clamp(32px, 6vw, 96px);
    max-width: 1180px;
    margin: 0 auto;
}
.numb-col-left { justify-self: stretch; }

/* Paper feeds out of the slot in small jolts, like a real printer */
.numb-receipt-feed {
    position: relative;
    z-index: 1;
    width: 86%;
    margin: -14px auto 0;
    overflow: hidden;
    padding-bottom: 30px;          /* room for the shadow under the paper */
    margin-bottom: -30px;
}
.numb-receipt-feed .numb-receipt {
    width: 100%;
    margin: 0;
    animation: numbFeed 4.2s linear .4s both;
}
@keyframes numbFeed {
    0%   { transform: translateY(-100%); }
    6%   { transform: translateY(-93%); }
    9%   { transform: translateY(-93%); }
    17%  { transform: translateY(-82%); }
    20%  { transform: translateY(-82%); }
    29%  { transform: translateY(-69%); }
    32%  { transform: translateY(-69%); }
    41%  { transform: translateY(-56%); }
    44%  { transform: translateY(-56%); }
    53%  { transform: translateY(-43%); }
    56%  { transform: translateY(-43%); }
    65%  { transform: translateY(-30%); }
    68%  { transform: translateY(-30%); }
    77%  { transform: translateY(-18%); }
    80%  { transform: translateY(-18%); }
    90%  { transform: translateY(-6%); }
    96%  { transform: translateY(1.2%); }
    100% { transform: translateY(0); }
}
/* the printer hums while printing */
.numb-printer { animation: numbHum 4.2s linear .4s both; }
@keyframes numbHum {
    0%, 92% { transform: translateX(0); }
    2%, 14%, 26%, 38%, 50%, 62%, 74%, 86% { transform: translateX(-.6px); }
    4%, 16%, 28%, 40%, 52%, 64%, 76%, 88% { transform: translateX(.6px); }
    100% { transform: translateX(0); }
}
.numb-printer-light {
    position: absolute;
    right: 18px;
    top: 12px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #7bdc8a;
    box-shadow: 0 0 8px #7bdc8a;
    animation: numbBlink .5s steps(2) .4s 8, numbLightOff .1s 4.6s both;
}
@keyframes numbBlink { 50% { opacity: .25; } }
@keyframes numbLightOff { to { background: #a5d6a7; box-shadow: none; opacity: .7; } }

/* Print receipt button (under QR / Transfer) */
.numb-print-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 54px;
    margin-top: 14px;
    border: 1px solid var(--numb-gold-soft);
    border-radius: 14px;
    background: linear-gradient(180deg, #f6f1ea, #e7dfd6);
    color: #2a1708;
    font: 700 17px var(--numb-serif);
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .3);
    transition: transform 200ms, box-shadow 200ms;
}
.numb-print-btn svg { width: 22px; height: 22px; }
.numb-print-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(0, 0, 0, .38); }
.numb-print-btn:focus-visible { outline: 3px solid var(--numb-gold); outline-offset: 3px; }
.numb-print-btn.is-busy { opacity: .7; cursor: progress; }

@media (prefers-reduced-motion: reduce) {
    .numb-receipt-feed .numb-receipt, .numb-printer, .numb-printer-light { animation: none; }
}
@media (max-width: 991px) {
    .numb-checkout-grid { grid-template-columns: minmax(0, 560px); }
}
@media (max-width: 575px) {
    .numb-receipt-feed { width: 90%; }
}

/* Fallback when the PDF tool can't load: browser print shows only the receipt */
@media print {
    body * { visibility: hidden !important; }
    #receipt, #receipt * { visibility: visible !important; }
    #receipt { position: absolute; left: 0; top: 0; width: 100% !important; transform: none !important; -webkit-mask: none !important; mask: none !important; animation: none !important; }
}
