/* EventHub — visual language follows bakbas.com: cream paper, ink type, coral + lime accents, Syne display. */
:root {
  --ink: #0b0b14; --ink-2: #1b1b27; --cream: #f6f3ec; --paper: #fff;
  --coral: #ff4d1c; --coral-d: #e63d0e; --lime: #d8ff3d;
  --mute: #6b6a73; --mute-2: #9a99a3; --line: rgba(11,11,20,.1); --line-2: rgba(11,11,20,.06);
  --ok: #16a34a; --ok-bg: #dcfce7;
  --r-sm: 10px; --r: 16px; --r-lg: 24px; --r-xl: 32px;
  --shadow: 0 30px 60px -30px rgba(11,11,20,.35);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Syne', 'Inter', sans-serif;

  /* Bootstrap overrides */
  --bs-body-bg: var(--cream); --bs-body-color: var(--ink); --bs-body-font-family: var(--font);
  --bs-border-color: var(--line); --bs-link-color: var(--ink); --bs-link-color-rgb: 11,11,20;
  --bs-link-hover-color: var(--coral); --bs-link-hover-color-rgb: 255,77,28;
  --bs-primary: var(--ink); --bs-primary-rgb: 11,11,20;
  --bs-border-radius: 12px; --bs-border-radius-lg: 16px; --bs-secondary-color: var(--mute);
}

html { font-size: 15px; position: relative; min-height: 100%; scroll-behavior: smooth; }
@media (min-width: 768px) { html { font-size: 16px; } }
body { background: var(--cream); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; display: flex; flex-direction: column; min-height: 100vh; }
main, .page { flex: 1 0 auto; }
a { text-decoration: none; }
::selection { background: var(--lime); color: var(--ink); }

.display, h1, .h1, h2, .h2 { font-family: var(--display); letter-spacing: -.02em; line-height: 1.1; font-weight: 800; }
.container { max-width: 1200px; }
.text-muted { color: var(--mute) !important; }
.text-coral { color: var(--coral) !important; }
.text-primary { color: var(--ink) !important; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--coral); }
.eyebrow::before { content: ""; width: 20px; height: 1.5px; background: currentColor; }
.hl { color: var(--coral); background: linear-gradient(transparent 78%, var(--lime) 78%, var(--lime) 92%, transparent 92%); }

/* Buttons: pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 11px 20px; font-weight: 600; font-size: 15px; transition: .25s; line-height: 1.1; }
.btn-sm { padding: 7px 13px; font-size: 13px; }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-primary, .btn-ink { --bs-btn-bg: var(--ink); --bs-btn-border-color: var(--ink); --bs-btn-color: #fff; --bs-btn-hover-bg: var(--ink-2); --bs-btn-hover-border-color: var(--ink-2); --bs-btn-hover-color: #fff; --bs-btn-active-bg: var(--ink); --bs-btn-active-border-color: var(--ink); --bs-btn-disabled-bg: var(--ink); --bs-btn-disabled-border-color: var(--ink); background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-primary:hover, .btn-ink:hover { transform: translateY(-1px); color: #fff; background: var(--ink-2); }
.btn-coral, .btn-accent { background: var(--coral); color: #fff; border: 0; }
.btn-coral:hover, .btn-accent:hover { background: var(--coral-d); color: #fff; transform: translateY(-1px); }
.btn-lime { background: var(--lime); color: var(--ink); border: 0; }
.btn-lime:hover { background: #c9f024; color: var(--ink); }
.btn-outline-primary, .btn-ghost { --bs-btn-color: var(--ink); --bs-btn-border-color: var(--ink); --bs-btn-hover-bg: var(--ink); --bs-btn-hover-border-color: var(--ink); --bs-btn-hover-color: #fff; --bs-btn-active-bg: var(--ink); border-width: 1.5px; }
.btn-outline-secondary, .btn-light { --bs-btn-color: var(--ink); --bs-btn-bg: #fff; --bs-btn-border-color: var(--line); --bs-btn-hover-bg: var(--ink); --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: var(--ink); }
.btn-outline-danger { --bs-btn-bg: #fff; }
.btn-link { --bs-btn-color: var(--mute); text-decoration: none; }
.btn-success { --bs-btn-bg: var(--ok); --bs-btn-border-color: var(--ok); }

.btn:focus-visible, .form-control:focus, .form-select:focus, .form-check-input:focus { box-shadow: 0 0 0 3px rgba(255,77,28,.25) !important; border-color: var(--coral) !important; }
.form-control, .form-select { border-radius: 12px; border-color: var(--line); padding: .7rem .9rem; background-color: #fff; }
.form-label { font-weight: 500; font-size: .92rem; }
.form-check-input:checked { background-color: var(--ink); border-color: var(--ink); }
.form-switch .form-check-input:checked { background-color: var(--coral); border-color: var(--coral); }
.input-group-text { border-color: var(--line); background: var(--cream); }
.badge { font-weight: 600; border-radius: 999px; padding: .4em .75em; }
.alert { border-radius: var(--r); border: 1px solid var(--line); }
.alert-success { background: var(--ok-bg); color: #14532d; }
.table { --bs-table-bg: transparent; }
.table > :not(caption) > * > * { border-bottom-color: var(--line-2); }
.table-light { --bs-table-bg: #faf8f3; }

/* Announcement + nav */
.announce { background: var(--ink); color: #e7e5ee; font-size: 13px; font-weight: 500; padding: 8px 0; text-align: center; }
.announce-ic { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(216,255,61,.14); color: var(--lime); margin-right: 6px; font-size: 12px; }
.announce-sep { color: var(--lime); margin: 0 8px; }

.nav-bar { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(246,243,236,.82); border-bottom: 1px solid var(--line); }
.nav-bar .navbar { padding: 14px 0; }
.logo { font: 800 24px var(--display); display: flex; align-items: center; gap: 10px; color: var(--ink); letter-spacing: -.03em; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--ink); display: grid; place-items: center; }
.logo-mark::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--coral); }
.logo small { font: 600 11px var(--font); color: var(--mute); letter-spacing: .02em; align-self: flex-end; margin-bottom: 4px; }
.nav-links .nav-link { color: var(--ink); font-size: 14px; font-weight: 500; padding: 8px 12px !important; border-radius: 999px; }
.nav-links .nav-link:hover, .nav-links .nav-link.active { background: rgba(11,11,20,.06); color: var(--ink); }
.nav-bar .dropdown-menu { border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px; }
.nav-bar .dropdown-item { border-radius: 10px; padding: 8px 12px; font-size: 14px; }
.nav-bar .dropdown-item:hover { background: var(--cream); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 400px at 0% 40%, rgba(216,255,61,.35), transparent 70%), radial-gradient(700px 500px at 100% 0%, rgba(255,77,28,.16), transparent 70%); pointer-events: none; }
.hero .container { position: relative; }
.hero-title { font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: .98; letter-spacing: -.04em; margin: 18px 0 22px; }
.hero-lead { color: var(--mute); font-size: 1.1rem; max-width: 460px; }
.search-pill { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 20px; max-width: 520px; box-shadow: 0 20px 40px -30px rgba(11,11,20,.4); }
.search-pill input { border: 0; outline: 0; flex: 1; min-width: 0; background: transparent; font-size: 15px; padding: 8px 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--ink); transition: .2s; white-space: nowrap; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip .count { color: var(--coral); font-weight: 700; }
.chip.active .count { color: var(--lime); }

.hero-visual { position: relative; padding: 30px 10px 30px 40px; }
.hero-img { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/4.4; background: var(--ink) center/cover no-repeat; box-shadow: var(--shadow); display: block; }
.float-card { position: absolute; background: #fff; border-radius: var(--r); padding: 14px 16px; box-shadow: 0 20px 40px -20px rgba(11,11,20,.35); border: 1px solid var(--line-2); }
.float-card .k { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.float-card .v { font: 700 18px var(--display); }
.dot-ok { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); margin-right: 5px; }
.bars { display: flex; gap: 4px; margin-top: 6px; }
.bars i { width: 12px; height: 22px; border-radius: 3px; background: var(--coral); }

/* Features strip */
.features { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 8px; box-shadow: 0 30px 50px -40px rgba(11,11,20,.4); }
.feature { display: flex; gap: 12px; align-items: center; padding: 6px 18px; }
.feature + .feature { border-left: 1px solid var(--line); }
.feature .ic { width: 38px; height: 38px; border-radius: 12px; background: rgba(255,77,28,.08); color: var(--coral); display: grid; place-items: center; flex: none; }
.feature b { font-size: 14px; display: block; }
.feature span { font-size: 12px; color: var(--mute); }
@media (max-width: 991px) { .feature + .feature { border-left: 0; } }

/* Marquee */
.marquee { overflow: hidden; background: var(--ink); color: #fff; padding: 14px 0; margin-top: 60px; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; font: 700 18px var(--display); white-space: nowrap; }
.marquee-track span b { color: var(--lime); font-weight: 700; margin-left: 6px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* Sections */
.section { padding: 80px 0; }
.section-title { font-size: clamp(2rem, 4.2vw, 3rem); margin: 14px 0 0; }
.section-lead { color: var(--mute); max-width: 380px; }

/* Event cards */
.event-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; color: var(--ink); }
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.event-card .cover { height: 200px; background: var(--ink) center/cover no-repeat; position: relative; }
.event-card .cover .placeholder-title { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 20px; color: #fff; font: 800 1.6rem/1.05 var(--display); background: radial-gradient(300px 200px at 90% 10%, rgba(255,77,28,.6), transparent), radial-gradient(260px 200px at 0% 100%, rgba(216,255,61,.25), transparent); }
.event-card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.event-card h3 { font: 700 1.3rem/1.15 var(--display); letter-spacing: -.02em; margin: 10px 0 6px; }
.event-card .meta { font-size: 13px; color: var(--mute); display: grid; gap: 3px; }
.event-card .foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-2); }
.event-card .go { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; transition: .25s; }
.event-card:hover .go { background: var(--coral); transform: rotate(-45deg); }
.date-badge { position: absolute; top: 14px; left: 14px; background: #fff; border-radius: 14px; padding: 6px 10px; text-align: center; line-height: 1; }
.date-badge .d { font: 800 1.35rem var(--display); }
.date-badge .m { font-size: 10px; text-transform: uppercase; font-weight: 700; color: var(--mute); letter-spacing: .08em; margin-top: 2px; }
.cat-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--coral); }
.status-open { font-size: 12px; font-weight: 600; color: var(--ok); }
.status-closed { font-size: 12px; font-weight: 600; color: var(--mute); }

/* Category tiles */
.cat-tile { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; height: 100%; transition: .25s; color: var(--ink); }
.cat-tile:hover { background: var(--ink); color: #fff; transform: translateY(-3px); }
.cat-tile .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--cream); display: grid; place-items: center; font-size: 22px; color: var(--coral); margin-bottom: 18px; transition: .25s; }
.cat-tile:hover .ic { background: var(--lime); color: var(--ink); }
.cat-tile h3 { font: 700 1.2rem var(--display); margin-bottom: 4px; }
.cat-tile p { font-size: 13px; color: var(--mute); margin: 0; }
.cat-tile:hover p { color: #b9b8c2; }

/* CTA */
.cta { background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: 56px; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(255,77,28,.55), transparent 70%); }
.cta h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); position: relative; z-index: 1; }
.cta p { color: #b9b8c2; position: relative; z-index: 1; }

/* Footer */
.site-footer { background: var(--ink); color: #b9b8c2; padding: 56px 0 28px; margin-top: 80px; font-size: 14px; }
.site-footer .logo { color: #fff; }
.site-footer .logo-mark { background: #fff; }
.site-footer h4 { font: 600 12px var(--font); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.site-footer a { color: #b9b8c2; display: block; padding: 3px 0; }
.site-footer a:hover { color: var(--lime); }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; font-size: 13px; }

/* Event detail */
.event-hero { padding: 48px 0 56px; position: relative; overflow: hidden; }
.event-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 400px at 0% 60%, rgba(216,255,61,.3), transparent 70%), radial-gradient(600px 400px at 100% 0%, rgba(255,77,28,.14), transparent 70%); pointer-events: none; }
.event-hero .container { position: relative; }
.event-hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); letter-spacing: -.04em; line-height: 1; margin: 14px 0 12px; }
.event-hero .tagline { font-size: 1.15rem; font-weight: 500; color: var(--coral); }
.event-hero .lead { color: var(--mute); font-size: 1.05rem; }
.meta-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.meta-pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 500; }
.meta-pill i { color: var(--coral); }
.event-banner { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; background: var(--ink) center/cover no-repeat; }
.event-subnav { position: sticky; top: 69px; z-index: 40; background: rgba(246,243,236,.9); backdrop-filter: blur(12px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.event-subnav .nav-link { color: var(--ink); font-weight: 500; font-size: 14px; white-space: nowrap; padding: 14px 14px; }
.event-subnav .nav-link:hover { color: var(--coral); }

.content-card, .form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; margin-bottom: 20px; scroll-margin-top: 140px; }
.content-card h2 { font-size: 1.7rem; margin-bottom: 1.1rem; }
.content-card h2::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); margin-right: 12px; vertical-align: middle; }
@media (max-width: 576px) { .content-card, .form-card { padding: 22px; } }
.markdown { line-height: 1.7; }
.markdown img { max-width: 100%; border-radius: var(--r); }
.markdown table { width: 100%; margin-bottom: 1rem; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; font-size: .95rem; }
.markdown th { background: var(--ink); color: #fff; font-weight: 600; }
.markdown th, .markdown td { padding: .7rem .9rem; border-bottom: 1px solid var(--line-2); }
.markdown tr:last-child td { border-bottom: 0; }
.markdown tr:nth-child(even) td { background: #faf8f3; }
.markdown h3 { font: 700 1.2rem var(--display); margin-top: 1.5rem; }
.markdown ul { padding-left: 1.2rem; }
.markdown li::marker { color: var(--coral); }
.markdown > :last-child { margin-bottom: 0; }
.table-wrap { overflow-x: auto; }

.info-card { position: sticky; top: 140px; background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 28px; }
.info-card h2 { font-size: 1.4rem; color: #fff; }
.info-row { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.info-row:last-of-type { border-bottom: 0; }
.info-row i { color: var(--lime); font-size: 1.1rem; }
.info-row .k { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute-2); }
.info-card a:not(.btn) { color: var(--lime); }

.highlight-list { display: grid; gap: 10px; }
.highlight-list li { display: flex; gap: 12px; align-items: flex-start; }
.highlight-list li i { color: var(--ink); background: var(--lime); border-radius: 50%; width: 22px; height: 22px; display: grid; place-items: center; font-size: 12px; flex: none; margin-top: 2px; }

.speaker { text-align: center; }
.speaker .avatar { width: 88px; height: 88px; border-radius: 50%; margin: 0 auto .7rem; object-fit: cover; display: flex; align-items: center; justify-content: center; background: var(--cream); color: var(--ink); font: 800 1.5rem var(--display); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.speaker:nth-child(3n+1) .avatar:not(img) { background: rgba(255,77,28,.12); }
.speaker:nth-child(3n+2) .avatar:not(img) { background: rgba(216,255,61,.45); }
.speaker .name { font-weight: 600; font-size: .95rem; }
.speaker .aff { font-size: .8rem; color: var(--mute); }

.day-tabs .nav-link { border-radius: 999px; color: var(--ink); font-weight: 600; padding: 8px 18px; border: 1px solid var(--line); margin-right: 6px; background: #fff; }
.day-tabs .nav-link.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.session-title { background: var(--cream); border-radius: 12px; padding: .65rem 1rem; font-weight: 700; margin: 1.25rem 0 .25rem; font-size: .95rem; }
.session-title::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); margin-right: 10px; vertical-align: middle; }
.schedule-row { display: grid; grid-template-columns: 130px 1fr; gap: .75rem; padding: .8rem .5rem; border-bottom: 1px solid var(--line-2); }
.schedule-row .time { font-weight: 700; font-size: .88rem; font-variant-numeric: tabular-nums; }
.schedule-row .who { font-size: .85rem; color: var(--mute); margin-top: 2px; }
@media (max-width: 576px) { .schedule-row { grid-template-columns: 1fr; gap: .15rem; } }

.required-star { color: var(--coral); }
.reg-number { font: 800 2rem var(--display); letter-spacing: -.02em; }

/* Admin */
.admin-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 24px; }
.admin-tabs { border-bottom: 0; gap: 6px; margin-bottom: 14px !important; flex-wrap: nowrap; overflow-x: auto; }
.admin-tabs .nav-link { border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 500; white-space: nowrap; }
.admin-tabs .nav-link.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.admin-tabs .nav-link.active .badge { background: var(--lime) !important; color: var(--ink) !important; }
.form-card.rounded-top-0 { border-radius: var(--r-lg) !important; }
.table-admin td, .table-admin th { vertical-align: middle; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 22px; }
.stat .v { font: 800 2rem var(--display); }
.stat.dark { background: var(--ink); color: #fff; }
.stat.dark .v { color: var(--lime); }
.crumbs { font-size: 13px; color: var(--mute); margin-bottom: 8px; }
.crumbs a { color: var(--mute); }
.crumbs a:hover { color: var(--coral); }

@media print {
  .announce, .nav-bar, .site-footer, .btn, form { display: none !important; }
}

/* Registration checkout */
.step-head { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.step-head h2 { font-family: var(--display); }
.step-no { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--lime); display: grid; place-items: center; font: 700 15px var(--font); flex: none; }
.price-options { display: grid; gap: 10px; }
.price-option { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; cursor: pointer; transition: .2s; }
.price-option:hover { border-color: rgba(11,11,20,.35); }
.price-option.selected { border-color: var(--ink); background: #fbfaf6; box-shadow: 0 0 0 3px rgba(216,255,61,.6); }
.price-option.disabled { opacity: .5; cursor: not-allowed; }
.price-option input { width: 18px; height: 18px; accent-color: var(--ink); flex: none; margin: 0; }
.po-body { flex: 1; display: grid; gap: 2px; min-width: 0; }
.po-name { font-weight: 600; }
.po-desc { font-size: 13px; color: var(--mute); }
.po-tier { font-size: 12px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tier-tag { background: var(--lime); color: var(--ink); font-weight: 700; border-radius: 999px; padding: 1px 8px; font-size: 11px; }
.po-price { font: 700 1.1rem var(--display); white-space: nowrap; }
.price-options.is-invalid .price-option { border-color: rgba(220,38,38,.5); }

.checkout { position: sticky; top: 90px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.checkout-head { background: var(--ink); color: #fff; padding: 26px; }
.checkout-head .text-muted { color: var(--mute-2) !important; }
.sum-line, .sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 14px; }
.sum-line { border-bottom: 1px dashed rgba(255,255,255,.12); }
.sum-row { color: #b9b8c2; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid rgba(255,255,255,.15); margin-top: 8px; padding-top: 14px; }
.sum-total span:first-child { font-weight: 600; }
.sum-total span:last-child { font: 800 2rem var(--display); color: var(--lime); }
.checkout-pay { padding: 26px; border-bottom: 1px solid var(--line-2); }
.checkout-foot { padding: 22px 26px 26px; }
.qr-wrap { display: flex; gap: 18px; align-items: center; background: var(--cream); border-radius: var(--r); padding: 16px; }
.qr { width: 150px; height: 150px; background: #fff; border-radius: 12px; padding: 6px; flex: none; }
.qr svg { width: 100%; height: 100%; display: block; }
.qr-amount { font: 800 1.8rem var(--display); margin: 2px 0 8px; }
.upi-apps { display: flex; flex-wrap: wrap; gap: 4px; }
.upi-apps span { font-size: 11px; font-weight: 600; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; }
.upi-id { display: flex; justify-content: space-between; align-items: center; gap: 10px; border: 1px dashed var(--line); border-radius: var(--r); padding: 12px 14px; }
.upi-id strong { word-break: break-all; }
@media (max-width: 991px) { .checkout { position: static; } }
@media (max-width: 400px) { .qr-wrap { flex-direction: column; text-align: center; } .upi-apps { justify-content: center; } }

/* Payment status pill (public success page + admin) */
.pay-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.pay-badge.verified { background: var(--ok-bg); color: #166534; }
.pay-badge.pending { background: #fef3c7; color: #92400e; }
.pay-badge.rejected { background: #fee2e2; color: #991b1b; }
.pay-badge.free { background: #eef0f4; color: var(--mute); }


.mobile-total { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--ink); color: #fff; border-radius: 999px; padding: 10px 10px 10px 22px; box-shadow: var(--shadow); }
.mobile-total strong { font: 800 1.3rem var(--display); color: var(--lime); }
.mobile-total[hidden] { display: none; }
.checkout { scroll-margin-top: 80px; }
