:root { color-scheme: light; font: 700 1rem/1.5 Tajawal, system-ui, sans-serif; color: #27153c; background: #f7f4ff; }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
main { width: min(100% - 28px, 680px); margin-inline: auto; padding-block: 12px 36px; }
header, .brand, .summary, .actions { display: flex; align-items: center; gap: 12px; }
header { justify-content: space-between; border-block-end: 1px solid #e3d9f5; padding-block: 8px 14px; }
.brand, .back { min-height: 44px; color: inherit; }
.brand { text-decoration: none; font-weight: 900; }
.back { display: grid; align-items: center; }
h1 { margin-block: 24px 14px; font-size: clamp(1.8rem, 5vw, 2.5rem); line-height: 1.25; }
.summary, .payment { border: 1px solid #e3d9f5; border-radius: 14px; background: white; padding: clamp(14px, 4vw, 24px); }
.summary { justify-content: space-between; border-inline-start: 3px solid #5d32ac; }
.summary:has(#price-breakdown:not([hidden])) { display: grid; }
.summary h2 { font-size: clamp(1.05rem, 4vw, 1.5rem); margin: 0; }
.price { display: inline-flex; align-items: baseline; gap: .25em; margin: 0; font: 800 clamp(1.3rem, 5vw, 1.85rem)/1 system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.price span { width: .69em; height: .77em; background: currentColor; mask: url('/images/ui/saudi-riyal.svg') center / contain no-repeat; }
.payment { margin-block-start: 14px; }
.payment p { margin: 0; }
.actions { flex-wrap: wrap; }
.actions :is(a, button) { display: inline-grid; align-items: center; min-height: 44px; margin-block-start: 8px; padding: 6px 14px; border: 0; border-radius: 8px; background: #5532a5; color: white; font: inherit; text-decoration: none; cursor: pointer; }
.actions :is(a, button):focus-visible, .back:focus-visible { outline: 2px solid #5532a5; outline-offset: 3px; }
