/* =====================================================================
   Public business website (India Invitation Website) — loaded after app.css
   ===================================================================== */
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 8px 14px; background: #fff; border-radius: 8px; }
.skip-link:focus { left: 8px; }
main:focus { outline: none; }
.logo__text { font-family: var(--serif); font-size: 1.22rem; font-weight: 600; color: #3b1d18; letter-spacing: .01em; }
.logo__text b { color: var(--brand); font-weight: 700; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; padding: 11px 9px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.site-nav a[aria-current="page"] { color: var(--brand); background: #fff; }
@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 16px 16px; background: #fffaf3; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(60, 20, 20, .08); display: none; }
  .nav-open .site-nav { display: flex; }
  .site-nav a:not(.btn) { padding: 12px; font-size: 1rem; }
  .site-nav .btn { margin-top: 6px; min-height: 46px; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 420px) { .logo__text { font-size: 1.02rem; } .logo__mark { width: 30px; height: 30px; } }

.page-hero { padding: clamp(40px, 7vw, 80px) clamp(16px, 5vw, 64px) clamp(20px, 3vw, 30px); text-align: center; background: radial-gradient(circle at 80% 10%, #f6d9d6 0, transparent 45%), radial-gradient(circle at 10% 90%, #f3e3c3 0, transparent 40%); }
.page-hero h1 { margin: 10px auto 12px; max-width: 820px; font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.1rem); color: #2a1210; }
.page-hero .lead { margin: 0 auto; max-width: 680px; color: var(--muted); font-size: 1.05rem; }
.page-hero--compact { padding-bottom: 10px; }
.prose { max-width: 760px; margin: 0 auto; font-size: 1rem; }
.prose h2 { text-align: left !important; font-size: 1.6rem !important; margin: 32px 0 10px !important; }
.prose li { margin: 6px 0; }
.notice { padding: 12px 16px; border-radius: 12px; background: #fff7e0; border: 1px solid #f0d58a; font-size: .9rem; }
.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.center-cta { text-align: center; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.section-l--cta { background: linear-gradient(135deg, #7a1f2b, #4a0f18); color: #fff; }
.section-l--cta h2 { color: #fff !important; }
.section-l--cta .sub { color: #f1dccc !important; }
.section-l--cta .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .4); }
.section-l--cta .btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.theme-card__cta { margin-top: 8px !important; font-weight: 600; color: var(--brand) !important; }
.price-card__desc { margin: 0; color: var(--muted); font-size: .9rem; }
.demo-note { max-width: 760px; margin: 36px auto 0; padding: 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.demo-note h2 { font-size: 1.4rem !important; }
.demo-note code, .contact-card code { background: #f6efe6; padding: 1px 6px; border-radius: 6px; font-size: .88em; word-break: break-all; }
.contact-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: 1080px; margin: 0 auto; }
.contact-card { padding: 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.contact-card h2 { text-align: left !important; font-size: 1.35rem !important; }
.site-footer { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding-bottom: 20px; }
.site-footer p { margin: 0; line-height: 1.9; }
.site-footer__legal { grid-column: 1 / -1; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .8rem; color: #bfae9f; }
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, .25); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.page-order .wa-float { bottom: 84px; }

/* ---------- order form ---------- */
.order-wrap { max-width: 880px; margin: 0 auto; padding: 10px 16px 70px; }
.order-steps { list-style: none; display: flex; gap: 4px; margin: 10px 0 18px; padding: 0; overflow-x: auto; scrollbar-width: none; }
.order-steps::-webkit-scrollbar { display: none; }
.order-steps li { flex: 1 0 auto; display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: .78rem; color: var(--muted); cursor: pointer; white-space: nowrap; }
.order-steps__n { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #efe6da; font-weight: 600; font-size: .75rem; }
.order-steps li.is-current { border-color: var(--brand); color: var(--brand); font-weight: 600; }
.order-steps li.is-current .order-steps__n { background: var(--brand); color: #fff; }
.order-steps li.is-done .order-steps__n { background: var(--ok); color: #fff; }
@media (max-width: 700px) { .order-steps .order-steps__t { display: none; } .order-steps li.is-current .order-steps__t { display: inline; } }
.order-form, .upload-panel, .done-panel { padding: clamp(18px, 4vw, 30px); border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.order-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.order-step legend { font-family: var(--serif); font-size: 1.7rem; font-weight: 700; color: #2a1210; padding: 0; margin-bottom: 4px; }
.order-step legend:focus { outline: none; }
.step-intro { margin: 0 0 16px; color: var(--muted); }
.row-2 { display: grid; gap: 0 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sub-h { margin: 18px 0 10px; font-size: 1rem; }
.event-list { display: grid; gap: 10px; }
.event-row { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fdfaf6; }
.event-row.is-on { border-color: #e2c999; background: #fffaf0; }
.event-row__fields { display: none; gap: 0 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-top: 10px; }
.event-row.is-on .event-row__fields { display: grid; }
.event-row .field { margin-bottom: 8px; }
.field--wide { grid-column: 1 / -1; }
.slug-input { display: flex; align-items: center; border: 1px solid #dccdbb; border-radius: 10px; background: #fff; overflow: hidden; }
.slug-input span { padding: 0 4px 0 12px; color: var(--muted); font-size: .9rem; }
.slug-input .input { border: 0; box-shadow: none; padding-left: 2px; }
.choice-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.choice-grid--packages { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.choice { position: relative; display: flex; flex-direction: column; border: 2px solid var(--line); border-radius: 14px; overflow: hidden; cursor: pointer; background: #fff; transition: border-color .15s, box-shadow .15s; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.choice__body { padding: 10px 12px; display: grid; gap: 2px; }
.choice__body small { color: var(--muted); font-size: .76rem; }
.choice.is-selected { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(122, 31, 43, .15); }
.choice.is-locked { opacity: .55; }
.choice:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.choice--pkg .choice__body { padding: 14px; }
.upload-slot { padding: 14px 0; border-top: 1px solid var(--line); }
.upload-slot:first-child { border-top: 0; }
.upload-slot.is-muted h3 { color: var(--muted); }
.upload-slot__head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.upload-slot__head h3 { margin: 0; font-size: 1rem; }
.thumbs { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); margin-top: 10px; }
.thumb { position: relative; border-radius: 10px; overflow: hidden; background: #f4ece2; border: 1px solid var(--line); }
.thumb img, .thumb__icon { width: 100%; aspect-ratio: 1; object-fit: cover; display: grid; place-items: center; font-size: 1.8rem; }
.thumb__name { display: block; padding: 4px 6px; font-size: .66rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thumb__x { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .65); color: #fff; font-size: 1rem; line-height: 1; cursor: pointer; }
.upload-totals { text-align: right; }
.music-options { display: grid; gap: 10px; margin-bottom: 14px; }
.check-card { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; background: #fdfaf6; }
.check-card:has(input:checked) { border-color: var(--brand); background: #fff7f6; }
.check-card input { margin-top: 4px; accent-color: var(--brand); width: 18px; height: 18px; }
.check-card span { display: grid; gap: 2px; }
.check-card small { color: var(--muted); }
.track { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin-bottom: 8px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.track.is-selected { border-color: var(--brand); }
.track input { accent-color: var(--brand); }
.track__body { flex: 1; display: grid; }
.track__body small { color: var(--muted); }
.audio-preview { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 12px; margin: 6px 0 12px; border-radius: 12px; background: #f6efe6; }
.audio-preview__name { flex: 1; min-width: 140px; font-size: .88rem; word-break: break-all; }
.audio-preview__time { font-variant-numeric: tabular-nums; color: var(--muted); font-size: .85rem; }
.check--top { align-items: flex-start; margin: 10px 0; font-size: .9rem; }
.check--top input { margin-top: 3px; flex: 0 0 auto; }
.order-summary { display: grid; gap: 6px; padding: 14px; margin-bottom: 16px; border-radius: 12px; background: #fbf6ef; border: 1px solid var(--line); }
.sum-row { display: grid; grid-template-columns: 110px 1fr; gap: 10px; font-size: .9rem; }
.sum-row span { color: var(--muted); }
.order-nav { position: sticky; bottom: 0; display: flex; align-items: center; gap: 10px; margin: 22px -4px -4px; padding: 12px 4px 4px; background: linear-gradient(rgba(255, 255, 255, 0), #fff 30%); }
.order-nav__count { color: var(--muted); font-size: .85rem; margin-right: auto; }
.progress { position: relative; display: block; height: 8px; border-radius: 99px; background: #efe6da; overflow: hidden; }
.progress__bar { position: absolute; top: 0; bottom: 0; left: 0; width: 0; background: linear-gradient(90deg, var(--gold), var(--brand)); border-radius: 99px; transition: width .25s; }
.progress--big { height: 14px; margin: 14px 0 6px; }
.upload-panel__text { font-weight: 500; }
.file-progress { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; max-height: 360px; overflow: auto; }
.fp { display: grid; grid-template-columns: minmax(0, 1fr) 120px 110px; gap: 10px; align-items: center; font-size: .82rem; }
.fp__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fp__state { text-align: right; color: var(--muted); }
.fp--done .fp__state { color: var(--ok); font-weight: 700; }
.fp--failed .fp__state { color: var(--danger); }
@media (max-width: 560px) { .fp { grid-template-columns: 1fr 90px; } .fp .progress { display: none; } }
.upload-panel__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.done-panel { text-align: center; }
.done-panel__icon { width: 64px; height: 64px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; font-size: 2rem; }
.order-id { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1.6rem; font-weight: 700; letter-spacing: .06em; color: var(--brand); margin: 0 0 12px; user-select: all; }

/* ---------- customer review page ---------- */
.review-wrap { max-width: 1180px; margin: 0 auto; padding: 16px; display: grid; gap: 18px; }
@media (min-width: 980px) { .review-wrap { grid-template-columns: 1fr 380px; align-items: start; } .review-side { position: sticky; top: 80px; } }
.review-frame { width: 100%; height: min(78vh, 860px); border: 0; border-radius: 18px; background: #111; box-shadow: var(--shadow); }
.review-side { padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.review-side h2 { margin: 0 0 6px; font-family: var(--serif); font-size: 1.6rem; }
.review-status { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 14px; }
.review-block { padding: 14px 0; border-top: 1px solid var(--line); }
.mono { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .02em; }
.badge--st-new { background: #eef0f2; color: #4b5563; }
.badge--st-details_received { background: #e7efff; color: #1d4ed8; }
.badge--st-in_production, .badge--st-under_review { background: #fdf3dc; color: var(--warn); }
.badge--st-customer_approval { background: #f3e8ff; color: #7e22ce; }
.badge--st-payment_verified { background: #dcfce7; color: #15803d; }
.badge--st-published { background: #e2f4ea; color: var(--ok); }
.badge--st-cancelled { background: #fde7e5; color: var(--danger); }
