.hero-global { height: auto !important; min-height: 120px !important; }
.os-page { background: var(--section); padding: 56px 20px 80px; min-height: 70vh; }
.os-container { max-width: 920px; margin: 0 auto; }

.os-head { text-align: center; margin-bottom: 32px; }
.os-check { width: 88px; height: 88px; border-radius: 50%; background: #dcfce7; color: #16a34a; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; animation: os-pop .5s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes os-pop { 0% { transform: scale(0); } 100% { transform: scale(1); } }
.os-head h1 { font-family: var(--font-head); font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 700; color: var(--text); margin: 0 0 8px; }
.os-head p { font-family: var(--font-body); font-size: 16px; color: var(--muted); margin: 0 0 16px; line-height: 1.5; }
.os-code-pill { display: inline-block; background: var(--primary-soft); color: var(--primary-dk); font-family: var(--font-body); font-weight: 600; font-size: 14px; padding: 8px 18px; border-radius: 100px; letter-spacing: 0.02em; }

.os-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.os-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.os-card-title { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; color: var(--text); margin: 0 0 18px; }

.os-items { display: flex; flex-direction: column; }
.os-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.os-item:first-child { padding-top: 0; }
.os-item-info h4 { font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--text); margin: 0 0 3px; line-height: 1.3; }
.os-item-info span { font-family: var(--font-body); font-size: 13px; color: var(--muted); }
.os-item-price { font-family: var(--font-head); font-size: 15px; font-weight: 600; color: var(--text); white-space: nowrap; }

.os-totals { margin-top: 16px; }
.os-total-row { display: flex; justify-content: space-between; font-family: var(--font-body); font-size: 14px; color: var(--text-2); padding: 6px 0; }
.os-total-row.grand { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 16px; color: var(--text); }
.os-total-row.grand strong { font-family: var(--font-head); font-size: 1.4rem; color: var(--text); }

.os-detail { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--border); font-family: var(--font-body); font-size: 14px; }
.os-detail:last-of-type { border-bottom: none; }
.os-detail-label { color: var(--muted); flex-shrink: 0; }
.os-detail span:last-child { color: var(--text); text-align: right; }
.os-track-code { font-family: var(--font-head); font-weight: 600; color: var(--primary-dk) !important; }
.os-status-badge { font-family: var(--font-body); font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 100px; }
.os-status-badge.paid { background: #dcfce7; color: #15803d; }
.os-status-badge.pending { background: #fef9eb; color: #92620a; }

.os-track-btn { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; padding: 12px; background: var(--surface2); border-radius: 100px; font-family: var(--font-body); font-weight: 600; font-size: 14px; color: var(--text); text-decoration: none; transition: background .2s; }
.os-track-btn:hover { background: var(--border); }
.os-receipt-btn { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; padding: 12px; background: var(--primary); border-radius: 100px; font-family: var(--font-body); font-weight: 600; font-size: 14px; color: #fff; text-decoration: none; transition: background .2s, transform .15s; box-shadow: 0 4px 14px rgba(0,182,214,0.28); }
.os-receipt-btn:hover { background: var(--primary-dk); transform: translateY(-1px); }

.os-next { margin-bottom: 0; }
.os-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 24px; }
.os-step { display: flex; flex-direction: column; gap: 10px; }
.os-step-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--primary-soft); color: var(--primary-dk); display: flex; align-items: center; justify-content: center; }
.os-step strong { display: block; font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.os-step span { font-family: var(--font-body); font-size: 13px; color: var(--muted); line-height: 1.5; }

.os-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.os-btn { flex: 1; min-width: 180px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-radius: 100px; font-family: var(--font-body); font-weight: 600; font-size: 15px; text-decoration: none; transition: .2s; }
.os-btn.primary { background: var(--primary); color: #fff; box-shadow: 0 6px 20px rgba(0,182,214,0.3); }
.os-btn.primary:hover { background: var(--primary-dk); transform: translateY(-1px); }
.os-btn.ghost { background: var(--surface2); color: var(--text); }
.os-btn.ghost:hover { background: var(--border); }

@media (max-width: 720px) {
  .os-grid { grid-template-columns: 1fr; }
  .os-steps { grid-template-columns: 1fr; gap: 14px; }
  .os-step { flex-direction: row; align-items: flex-start; }
}
.os-error-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 48px 38px; max-width: 540px; margin: 0 auto; text-align: center; }
.os-error-ic { width: 88px; height: 88px; border-radius: 50%; background: #fef9eb; color: #d97706; display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; }
.os-error-card h1 { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--text); margin: 0 0 10px; }
.os-error-card p { font-family: var(--font-body); font-size: 15px; color: var(--muted); line-height: 1.6; margin: 0; }
.os-error-shop { display: inline-block; margin-top: 20px; font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--primary-dk); text-decoration: none; }
.os-error-shop:hover { text-decoration: underline; }
.os-green { color: var(--green); }
.os-actions-gap { margin-top: 24px; }
