/* ═══════════════════════════════════════════════════════════
   SourceBD Pro v4 — Premium Frontend Styles
   Modern, professional design inspired by Stripe/Linear
═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Sans+Bengali:wght@400;500;600;700&display=swap');

/* Reset within plugin scope only */
.sbd-app, .sbd-app * {
    box-sizing: border-box;
}
.sbd-app {
    --sbd-bg: #fafafa;
    --sbd-card: #ffffff;
    --sbd-text: #0f172a;
    --sbd-text-sub: #64748b;
    --sbd-text-muted: #94a3b8;
    --sbd-border: #e2e8f0;
    --sbd-border-light: #f1f5f9;
    --sbd-primary: #059669;
    --sbd-primary-dark: #047857;
    --sbd-primary-light: #ecfdf5;
    --sbd-primary-border: #6ee7b7;
    --sbd-magic: #7c3aed;
    --sbd-magic-dark: #6d28d9;
    --sbd-warning: #f59e0b;
    --sbd-warning-bg: #fef3c7;
    --sbd-warning-border: #fcd34d;
    --sbd-error: #dc2626;
    --sbd-error-bg: #fef2f2;
    --sbd-error-border: #fecaca;
    --sbd-info: #2563eb;
    --sbd-info-bg: #eff6ff;
    --sbd-shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --sbd-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --sbd-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
    --sbd-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.07), 0 4px 6px -2px rgba(0,0,0,0.04);
    --sbd-radius: 12px;
    --sbd-radius-sm: 8px;
    --sbd-radius-lg: 16px;

    max-width: 720px;
    margin: 24px auto;
    padding: 0 16px 40px;
    font-family: 'Inter', 'Noto Sans Bengali', -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: var(--sbd-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ─── Header ─────────────────────────────────────────────── */
.sbd-header {
    text-align: center;
    padding: 0 0 28px;
}
.sbd-hero {
    margin-bottom: 28px;
}
.sbd-hero-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--sbd-text);
    letter-spacing: -0.7px;
    margin: 0 0 8px;
    line-height: 1.15;
}
.sbd-hero-sub {
    font-size: 15px;
    color: var(--sbd-text-sub);
    margin: 0;
    line-height: 1.6;
}

/* ─── Progress Bar ───────────────────────────────────────── */
.sbd-progress {
    max-width: 480px;
    margin: 0 auto;
}
.sbd-progress-bar {
    height: 4px;
    background: var(--sbd-border-light);
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 14px;
}
.sbd-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--sbd-primary), #10b981);
    border-radius: 99px;
    width: 25%;
    transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.sbd-progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sbd-pstep {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
    opacity: 0.4;
    transition: opacity 0.3s;
}
.sbd-pstep.on,
.sbd-pstep.done {
    opacity: 1;
}
.sbd-pdot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--sbd-border);
    color: var(--sbd-text-sub);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.3s;
}
.sbd-pstep.on .sbd-pdot {
    background: var(--sbd-primary);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.15);
}
.sbd-pstep.done .sbd-pdot {
    background: var(--sbd-primary);
    color: #fff;
}
.sbd-plbl {
    font-size: 11px;
    font-weight: 600;
    color: var(--sbd-text-sub);
    letter-spacing: 0.3px;
}

/* ─── Panels ─────────────────────────────────────────────── */
.sbd-panel {
    display: none;
}
.sbd-panel.on {
    display: block;
    animation: sbdSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes sbdSlideUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── Cards ──────────────────────────────────────────────── */
.sbd-card {
    background: var(--sbd-card);
    border: 1px solid var(--sbd-border);
    border-radius: var(--sbd-radius);
    padding: 24px;
    margin-bottom: 14px;
    box-shadow: var(--sbd-shadow);
}
.sbd-card-head {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 20px;
}
.sbd-card-icon {
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
}
.sbd-card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--sbd-text);
    margin: 0 0 3px;
    letter-spacing: -0.3px;
    line-height: 1.3;
}
.sbd-card-desc {
    font-size: 13px;
    color: var(--sbd-text-sub);
    margin: 0;
    line-height: 1.5;
}

/* ─── URL Input Card ─────────────────────────────────────── */
.sbd-url-card {
    background: linear-gradient(135deg, #fafafa 0%, #fff 100%);
}
.sbd-url-row {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}
.sbd-url-input-wrap {
    flex: 1;
    min-width: 0;
}
.sbd-url-input {
    width: 100%;
    background: #fff;
    border: 1.5px solid var(--sbd-border);
    border-radius: var(--sbd-radius-sm);
    padding: 12px 16px;
    font-size: 14px;
    font-family: 'Inter', monospace;
    color: var(--sbd-text);
    transition: all 0.15s;
}
.sbd-url-input:hover {
    border-color: var(--sbd-text-muted);
}
.sbd-url-input:focus {
    outline: none;
    border-color: var(--sbd-magic);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}
.sbd-url-input::placeholder {
    color: var(--sbd-text-muted);
}

/* ─── Magic Button (AI Fill) ─────────────────────────────── */
.sbd-btn-magic {
    background: linear-gradient(135deg, var(--sbd-magic) 0%, var(--sbd-magic-dark) 100%);
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: var(--sbd-radius-sm);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all 0.15s;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(124, 58, 237, 0.4);
}
.sbd-btn-magic:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.35);
}
.sbd-btn-magic:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.sbd-btn-content,
.sbd-btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

/* ─── Platform Badges ────────────────────────────────────── */
.sbd-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}
.sbd-plat-label {
    font-size: 11px;
    color: var(--sbd-text-muted);
    margin-right: 4px;
    font-weight: 500;
}
.sbd-plat-badge {
    background: var(--sbd-border-light);
    color: var(--sbd-text-sub);
    border: 1px solid var(--sbd-border);
    padding: 4px 10px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 500;
}

/* ─── Messages ───────────────────────────────────────────── */
.sbd-msg {
    margin-top: 14px;
    padding: 11px 14px;
    border-radius: var(--sbd-radius-sm);
    font-size: 13px;
    line-height: 1.5;
}
.sbd-msg-info {
    background: var(--sbd-info-bg);
    color: var(--sbd-info);
    border: 1px solid #bfdbfe;
}
.sbd-msg-success {
    background: var(--sbd-primary-light);
    color: var(--sbd-primary-dark);
    border: 1px solid var(--sbd-primary-border);
}
.sbd-msg-error {
    background: var(--sbd-error-bg);
    color: var(--sbd-error);
    border: 1px solid var(--sbd-error-border);
}
.sbd-msg-warn {
    background: var(--sbd-warning-bg);
    color: #92400e;
    border: 1px solid var(--sbd-warning-border);
}

/* ─── Product Card ───────────────────────────────────────── */
.sbd-product-card {
    overflow: hidden;
}
.sbd-product-header {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--sbd-border-light);
    position: relative;
}
.sbd-product-img-wrap {
    width: 80px;
    height: 80px;
    border-radius: var(--sbd-radius-sm);
    background: var(--sbd-border-light);
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sbd-product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sbd-product-emoji {
    font-size: 36px;
}
.sbd-product-info {
    flex: 1;
    min-width: 0;
}
.sbd-product-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}
.sbd-platform-tag,
.sbd-country-tag,
.sbd-source-tag {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.sbd-platform-tag {
    background: var(--sbd-primary-light);
    color: var(--sbd-primary-dark);
}
.sbd-country-tag {
    background: var(--sbd-info-bg);
    color: var(--sbd-info);
}
.sbd-source-tag {
    background: #f3e8ff;
    color: var(--sbd-magic);
}
.sbd-product-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--sbd-text);
    line-height: 1.4;
    margin: 0;
    word-break: break-word;
}
.sbd-edit-btn {
    background: none;
    border: 1px solid var(--sbd-border);
    color: var(--sbd-text-sub);
    width: 30px;
    height: 30px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.15s;
}
.sbd-edit-btn:hover {
    background: var(--sbd-border-light);
    color: var(--sbd-text);
}

/* ─── Form Grid ──────────────────────────────────────────── */
.sbd-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 18px;
}
.sbd-field-full {
    grid-column: 1 / -1;
}
.sbd-field {
    display: flex;
    flex-direction: column;
}
.sbd-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--sbd-text-sub);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.sbd-req {
    color: var(--sbd-error);
}
.sbd-opt {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: var(--sbd-text-muted);
    font-size: 11px;
}

/* ─── Inputs ─────────────────────────────────────────────── */
.sbd-input {
    width: 100%;
    background: #fff;
    border: 1.5px solid var(--sbd-border);
    border-radius: var(--sbd-radius-sm);
    padding: 10px 14px;
    font-size: 14px;
    font-family: inherit;
    color: var(--sbd-text);
    transition: all 0.15s;
}
.sbd-input:hover {
    border-color: var(--sbd-text-muted);
}
.sbd-input:focus {
    outline: none;
    border-color: var(--sbd-primary);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}
.sbd-input::placeholder {
    color: var(--sbd-text-muted);
}
.sbd-textarea {
    resize: vertical;
    min-height: 84px;
    line-height: 1.5;
    font-family: inherit;
}

/* ─── Price Input (combined currency + amount) ───────────── */
.sbd-price-input {
    display: flex;
    border: 1.5px solid var(--sbd-border);
    border-radius: var(--sbd-radius-sm);
    background: #fff;
    overflow: hidden;
    transition: all 0.15s;
}
.sbd-price-input:hover {
    border-color: var(--sbd-text-muted);
}
.sbd-price-input:focus-within {
    border-color: var(--sbd-primary);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}
.sbd-cur-select {
    background: var(--sbd-border-light);
    border: none;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--sbd-text);
    font-family: inherit;
    cursor: pointer;
    border-right: 1px solid var(--sbd-border);
}
.sbd-cur-select:focus {
    outline: none;
}
.sbd-price {
    flex: 1;
    border: none;
    padding: 10px 14px;
    font-size: 16px;
    font-weight: 700;
    color: var(--sbd-text);
    font-family: inherit;
    min-width: 0;
    background: transparent;
}
.sbd-price:focus {
    outline: none;
}

/* ─── Quantity Input ─────────────────────────────────────── */
.sbd-qty-input {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--sbd-border);
    border-radius: var(--sbd-radius-sm);
    background: #fff;
    overflow: hidden;
    transition: all 0.15s;
}
.sbd-qty-input:focus-within {
    border-color: var(--sbd-primary);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}
.sbd-qty-btn {
    background: var(--sbd-border-light);
    border: none;
    width: 36px;
    height: 40px;
    font-size: 18px;
    font-weight: 700;
    color: var(--sbd-text);
    cursor: pointer;
    transition: background 0.15s;
    font-family: inherit;
}
.sbd-qty-btn:hover {
    background: #e2e8f0;
}
.sbd-qty-val {
    flex: 1;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--sbd-text);
    font-family: inherit;
    min-width: 0;
    background: transparent;
}
.sbd-qty-val:focus {
    outline: none;
}

/* ─── Live Quote Preview ─────────────────────────────────── */
.sbd-live-quote {
    background: linear-gradient(135deg, var(--sbd-primary-light) 0%, #f0fdf4 100%);
    border: 1px solid var(--sbd-primary-border);
    border-radius: var(--sbd-radius-sm);
    padding: 14px 18px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.sbd-live-left,
.sbd-live-right {
    display: flex;
    flex-direction: column;
}
.sbd-live-right {
    text-align: right;
}
.sbd-live-label,
.sbd-live-adv-label {
    font-size: 11px;
    color: var(--sbd-primary-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 2px;
}
.sbd-live-amount {
    font-size: 22px;
    font-weight: 800;
    color: var(--sbd-primary-dark);
    line-height: 1.1;
}
.sbd-live-adv {
    font-size: 15px;
    font-weight: 700;
    color: var(--sbd-warning);
    line-height: 1.1;
}

/* ─── Buttons ────────────────────────────────────────────── */
.sbd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1.5px solid transparent;
    border-radius: var(--sbd-radius-sm);
    padding: 11px 20px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}
.sbd-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.sbd-btn-primary {
    background: var(--sbd-primary);
    color: #fff;
    border-color: var(--sbd-primary);
    box-shadow: 0 1px 2px rgba(5, 150, 105, 0.4);
}
.sbd-btn-primary:hover:not(:disabled) {
    background: var(--sbd-primary-dark);
    border-color: var(--sbd-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}
.sbd-btn-ghost {
    background: #fff;
    color: var(--sbd-text-sub);
    border-color: var(--sbd-border);
}
.sbd-btn-ghost:hover:not(:disabled) {
    background: var(--sbd-border-light);
    color: var(--sbd-text);
    border-color: var(--sbd-text-muted);
}
.sbd-btn-whatsapp {
    background: #25d366;
    color: #fff;
    border-color: #25d366;
    padding: 13px 24px;
    font-size: 15px;
    box-shadow: 0 1px 2px rgba(37, 211, 102, 0.4);
}
.sbd-btn-whatsapp:hover:not(:disabled) {
    background: #1da851;
    border-color: #1da851;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}
.sbd-btn-block {
    width: 100%;
    padding: 13px;
    font-size: 15px;
}
.sbd-btn-flex {
    flex: 1;
}

/* ─── Spinner ────────────────────────────────────────────── */
.sbd-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: sbdSpin 0.7s linear infinite;
    display: inline-block;
}
@keyframes sbdSpin {
    to { transform: rotate(360deg); }
}

/* ─── Manual Entry Link ──────────────────────────────────── */
.sbd-manual-link {
    text-align: center;
    margin-top: 12px;
}
.sbd-link-btn {
    background: none;
    border: none;
    color: var(--sbd-text-sub);
    cursor: pointer;
    font-size: 14px;
    font-family: inherit;
    padding: 8px 16px;
}
.sbd-link-btn:hover {
    color: var(--sbd-primary);
}
.sbd-link-btn strong {
    color: var(--sbd-primary);
}

/* ─── Quote Breakdown ────────────────────────────────────── */
.sbd-breakdown {
    margin-bottom: 18px;
}
.sbd-bk-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
}
.sbd-bk-label {
    color: var(--sbd-text-sub);
}
.sbd-bk-val {
    color: var(--sbd-text);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.sbd-bk-divider {
    border-top: 1px dashed var(--sbd-border);
    margin: 8px 0;
}
.sbd-bk-unit .sbd-bk-label,
.sbd-bk-unit .sbd-bk-val {
    font-weight: 700;
    color: var(--sbd-text);
}

/* ─── Total Box ──────────────────────────────────────────── */
.sbd-total-box {
    background: linear-gradient(135deg, #f8fafc 0%, var(--sbd-border-light) 100%);
    border: 1px solid var(--sbd-border);
    border-radius: var(--sbd-radius);
    padding: 18px 20px;
    margin-bottom: 16px;
}
.sbd-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--sbd-border);
    margin-bottom: 12px;
}
.sbd-total-lbl {
    font-size: 13px;
    font-weight: 600;
    color: var(--sbd-text-sub);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.sbd-total-amt {
    font-size: 30px;
    font-weight: 800;
    color: var(--sbd-primary);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.5px;
}
.sbd-advance-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: var(--sbd-warning-bg);
    border: 1px solid var(--sbd-warning-border);
    border-radius: var(--sbd-radius-sm);
    font-size: 14px;
    font-weight: 700;
    color: #92400e;
}
.sbd-adv-amt {
    font-variant-numeric: tabular-nums;
    font-size: 16px;
}

/* ─── Payment Info ───────────────────────────────────────── */
.sbd-pay-info {
    background: var(--sbd-info-bg);
    border: 1px solid #bfdbfe;
    border-radius: var(--sbd-radius-sm);
    padding: 12px 16px;
    font-size: 13px;
    color: var(--sbd-info);
    line-height: 1.6;
    margin-bottom: 16px;
}
.sbd-pay-info strong {
    font-weight: 700;
}

/* ─── Action Buttons Row ─────────────────────────────────── */
.sbd-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.sbd-actions-center {
    justify-content: center;
}

/* ─── Mini Product Summary (Step 2) ──────────────────────── */
.sbd-mini-product {
    padding: 16px 20px;
}
.sbd-mp-row {
    display: flex;
    gap: 12px;
    align-items: center;
}
.sbd-mp-img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background: var(--sbd-border-light);
    object-fit: cover;
    flex-shrink: 0;
}
.sbd-mp-info {
    flex: 1;
    min-width: 0;
}
.sbd-mp-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--sbd-text);
    margin-bottom: 4px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.sbd-mp-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--sbd-text-sub);
}

/* ─── Order Summary (Step 3) ─────────────────────────────── */
.sbd-order-summary {
    background: var(--sbd-border-light);
    border-radius: var(--sbd-radius-sm);
    padding: 14px 16px;
    margin-bottom: 18px;
    font-size: 13px;
}
.sbd-os-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    color: var(--sbd-text-sub);
}
.sbd-os-row strong {
    color: var(--sbd-text);
    font-weight: 700;
    text-align: right;
    max-width: 60%;
}
.sbd-os-divider {
    border-top: 1px solid var(--sbd-border);
    margin: 6px 0;
}
.sbd-os-total {
    display: flex;
    justify-content: space-between;
    padding-top: 6px;
    font-size: 15px;
    font-weight: 700;
    color: var(--sbd-text);
}
.sbd-os-total strong {
    color: var(--sbd-primary);
    font-size: 18px;
}

/* ─── Success Page ───────────────────────────────────────── */
.sbd-success-card {
    text-align: center;
    padding: 36px 24px;
}
.sbd-success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--sbd-primary-light);
    color: var(--sbd-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    animation: sbdPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes sbdPop {
    from { opacity: 0; transform: scale(0.5); }
    to   { opacity: 1; transform: scale(1); }
}
.sbd-success-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--sbd-text);
    margin: 0 0 8px;
    letter-spacing: -0.5px;
}
.sbd-success-desc {
    font-size: 14px;
    color: var(--sbd-text-sub);
    margin: 0 0 24px;
    line-height: 1.6;
}
.sbd-confirm-card {
    background: var(--sbd-border-light);
    border-radius: var(--sbd-radius);
    padding: 18px 20px;
    text-align: left;
    margin-bottom: 18px;
}
.sbd-cc-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    font-size: 13px;
    color: var(--sbd-text-sub);
}
.sbd-cc-row strong {
    color: var(--sbd-text);
    font-weight: 600;
    text-align: right;
    max-width: 60%;
}
.sbd-cc-id {
    color: var(--sbd-primary) !important;
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
    font-weight: 700 !important;
    font-size: 14px !important;
}
.sbd-cc-divider {
    border-top: 1px solid var(--sbd-border);
    margin: 10px 0;
}
.sbd-cc-total {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 700;
    color: var(--sbd-text);
}
.sbd-cc-total strong {
    color: var(--sbd-primary);
    font-size: 20px;
    font-weight: 800;
}
.sbd-cc-advance {
    display: flex;
    justify-content: space-between;
    padding: 10px 14px;
    background: var(--sbd-warning-bg);
    border-radius: var(--sbd-radius-sm);
    margin-top: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #92400e;
}
.sbd-pay-note {
    background: var(--sbd-info-bg);
    border: 1px solid #bfdbfe;
    border-radius: var(--sbd-radius-sm);
    padding: 12px 16px;
    text-align: left;
    color: var(--sbd-info);
    font-size: 12px;
    line-height: 1.7;
    margin-bottom: 18px;
}

/* ─── Footer ─────────────────────────────────────────────── */
.sbd-footer {
    text-align: center;
    padding: 20px 0 0;
    color: var(--sbd-text-muted);
    font-size: 12px;
}
.sbd-footer strong {
    color: var(--sbd-text-sub);
}

/* ─── Mobile Responsive ──────────────────────────────────── */
@media (max-width: 580px) {
    .sbd-app { padding: 0 12px 30px; margin: 16px auto; }
    .sbd-hero-title { font-size: 24px; }
    .sbd-hero-sub { font-size: 14px; }
    .sbd-card { padding: 18px 16px; }
    .sbd-card-title { font-size: 15px; }
    .sbd-url-row { flex-direction: column; }
    .sbd-btn-magic { width: 100%; justify-content: center; }
    .sbd-form-grid { grid-template-columns: 1fr; }
    .sbd-actions { flex-direction: column; }
    .sbd-actions .sbd-btn { width: 100%; }
    .sbd-product-header { flex-wrap: wrap; }
    .sbd-product-img-wrap { width: 64px; height: 64px; }
    .sbd-total-amt { font-size: 24px; }
    .sbd-plbl { font-size: 10px; }
    .sbd-pdot { width: 22px; height: 22px; font-size: 10px; }
    .sbd-platforms { gap: 4px; }
    .sbd-plat-badge { font-size: 10px; padding: 3px 8px; }
}
