/* ==================================================================
   ABSOLUT BAZAAR × FESTIVAL GAYA RAYA — design system
   "Night Bazaar Poster": deep indigo nights, sticker type, hard
   offset shadows, ketupat diamonds, bunting, festival colour.
   Display: Shrikhand · Text: Archivo (900 for chunk headings)
   ================================================================== */

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; background: none; border: none; }
a { color: inherit; }
input, select, textarea { font: inherit; }

/* ---------- tokens ---------- */
:root {
  --night: #180B3F;        /* darkest indigo */
  --ink: #241457;          /* primary indigo */
  --ink-2: #33206e;
  --cream: #FBF2DE;
  --cream-2: #F4E7C8;
  --paper: #FFFDF6;
  --magenta: #FF3D8F;
  --magenta-deep: #D91C6B;
  --tangerine: #FF7A1A;
  --sun: #FFC42D;
  --teal: #19C3B2;
  --grape: #8B6CFF;
  --lime: #C6E312;
  --text-dark: #241457;
  --text-cream: #FBF2DE;
  --muted-dark: rgba(36, 20, 87, .68);
  --muted-cream: rgba(251, 242, 222, .72);
  --shadow-hard: 5px 5px 0 rgba(24, 11, 63, 1);
  --shadow-hard-sm: 3px 3px 0 rgba(24, 11, 63, 1);
  --shadow-pop: 6px 6px 0 var(--magenta-deep);
  --radius: 16px;
  --radius-lg: 24px;
  --font-display: 'Shrikhand', 'Archivo', cursive;
  --font-body: 'Archivo', system-ui, sans-serif;
  --nav-h: 74px;
  --container: 1200px;
}

body {
  font-family: var(--font-body);
  background: var(--night);
  color: var(--text-cream);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---------- patterns & section shells ---------- */
.section { position: relative; padding: 96px 0; }
.section--tight { padding: 64px 0; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

.section--night {
  background:
    radial-gradient(900px 480px at 12% -8%, rgba(139, 108, 255, .22), transparent 60%),
    radial-gradient(800px 480px at 88% 108%, rgba(255, 61, 143, .16), transparent 60%),
    var(--night);
  color: var(--text-cream);
}
.section--night::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M28 4L52 28L28 52L4 28Z' fill='none' stroke='rgba(251,242,222,0.05)' stroke-width='1.5'/%3E%3C/svg%3E");
}
.section--cream { background: var(--cream); color: var(--text-dark); }
.section--cream::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M28 4L52 28L28 52L4 28Z' fill='none' stroke='rgba(36,20,87,0.055)' stroke-width='1.5'/%3E%3C/svg%3E");
}
.section--sun { background: var(--sun); color: var(--ink); }
.section--sun::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M28 4L52 28L28 52L4 28Z' fill='none' stroke='rgba(36,20,87,0.08)' stroke-width='1.5'/%3E%3C/svg%3E");
}

/* bunting flags strip */
.bunting {
  height: 30px; width: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='144' height='30'%3E%3Cpath d='M0 2h144' stroke='%23241457' stroke-width='2'/%3E%3Cpath d='M6 3l15 24l15-24z' fill='%23FF3D8F'/%3E%3Cpath d='M54 3l15 24l15-24z' fill='%23FFC42D'/%3E%3Cpath d='M102 3l15 24l15-24z' fill='%2319C3B2'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
}
.bunting--onDark {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='144' height='30'%3E%3Cpath d='M0 2h144' stroke='rgba(251,242,222,.5)' stroke-width='2'/%3E%3Cpath d='M6 3l15 24l15-24z' fill='%23FF3D8F'/%3E%3Cpath d='M54 3l15 24l15-24z' fill='%23FFC42D'/%3E%3Cpath d='M102 3l15 24l15-24z' fill='%2319C3B2'/%3E%3C/svg%3E");
}

/* ---------- typography ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400; line-height: 1.05; letter-spacing: .5px;
}
.h-chunk {
  font-family: var(--font-body); font-weight: 900;
  text-transform: uppercase; letter-spacing: -.5px; line-height: .98;
}
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
}
.kicker--pill {
  padding: 8px 18px; border: 2px solid currentColor; border-radius: 999px;
}
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(34px, 4.6vw, 56px); margin: 14px 0 16px; }
.section-head p { font-size: 17px; opacity: .82; }
.section--cream .section-head p { color: var(--muted-dark); opacity: 1; }

/* sticker text (hard shadow poster type) */
.sticker {
  display: inline-block;
  font-family: var(--font-body); font-weight: 900; text-transform: uppercase;
  color: var(--sun);
  text-shadow: 4px 4px 0 rgba(24,11,63,1);
  -webkit-text-stroke: 1.5px var(--night);
}
.sticker--magenta { color: var(--magenta); }
.sticker--teal { color: var(--teal); }
.sticker--cream { color: var(--cream); }
.sticker--grape { color: var(--grape); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 900; text-transform: uppercase; letter-spacing: 1px;
  font-size: 14px; text-decoration: none; text-align: center;
  padding: 15px 28px; border-radius: 14px;
  border: 2.5px solid var(--night);
  box-shadow: var(--shadow-hard);
  transition: transform .15s ease, box-shadow .15s ease;
  color: var(--ink); background: var(--paper);
  white-space: nowrap;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 rgba(24,11,63,1); }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 rgba(24,11,63,1); }
.btn--sun { background: var(--sun); }
.btn--magenta { background: var(--magenta); color: #fff; }
.btn--teal { background: var(--teal); color: var(--night); }
.btn--ink { background: var(--ink); color: var(--cream); border-color: var(--night); box-shadow: 5px 5px 0 rgba(255,61,143,.9); }
.btn--ghost { background: transparent; color: var(--cream); border-color: var(--cream); box-shadow: 5px 5px 0 rgba(251,242,222,.25); }
.btn--ghost:hover { box-shadow: 7px 7px 0 rgba(251,242,222,.3); }
.btn--sm { padding: 10px 18px; font-size: 12.5px; box-shadow: var(--shadow-hard-sm); border-width: 2px; }
.btn--lg { padding: 19px 38px; font-size: 16px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* ---------- pills & chips ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px; font-weight: 800; font-size: 13px;
  border: 2px solid var(--night); background: var(--paper); color: var(--ink);
  box-shadow: var(--shadow-hard-sm);
}
.pill--sun { background: var(--sun); }
.pill--magenta { background: var(--magenta); color: #fff; }
.pill--teal { background: var(--teal); }
.pill--grape { background: var(--grape); color: #fff; }
.pill--soft { box-shadow: none; border-color: rgba(36,20,87,.25); }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px; font-weight: 700; font-size: 12.5px;
  background: rgba(36,20,87,.08); color: var(--ink);
}
.section--night .chip { background: rgba(251,242,222,.12); color: var(--cream); }

/* ---------- marquee ticker ---------- */
.marquee {
  overflow: hidden; white-space: nowrap; position: relative;
  background: var(--sun); color: var(--night);
  border-top: 3px solid var(--night); border-bottom: 3px solid var(--night);
  padding: 13px 0; transform: rotate(-1deg) scale(1.02); z-index: 2;
}
.marquee--flat { transform: none; }
.marquee--magenta { background: var(--magenta); color: #fff; }
.marquee__inner {
  display: inline-block; animation: marquee 28s linear infinite;
  font-weight: 900; text-transform: uppercase; letter-spacing: 2px; font-size: 15px;
}
.marquee__inner span { margin: 0 18px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-33.333%); } }

/* ---------- nav ---------- */
#nav-root { position: sticky; top: 0; z-index: 100; }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  height: var(--nav-h); padding: 0 clamp(16px, 3vw, 36px);
  background: rgba(24, 11, 63, .92); backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--night);
}
#nav-root.is-stuck .nav { box-shadow: 0 6px 24px rgba(0,0,0,.35); border-bottom-color: var(--magenta); }
.nav__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav__logo-star { font-size: 26px; color: var(--sun); animation: spinStar 9s linear infinite; }
@keyframes spinStar { to { transform: rotate(360deg); } }
.nav__logo-text b { display: block; font-weight: 900; letter-spacing: 1px; font-size: 16px; color: var(--cream); line-height: 1; }
.nav__logo-text i { display: block; font-family: var(--font-display); font-style: normal; font-size: 12px; color: var(--magenta); letter-spacing: 1px; margin-top: 2px; }
.nav__links { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 26px); }
.nav__links > a, .nav__drop-btn {
  color: var(--cream); text-decoration: none; font-weight: 700; font-size: 14.5px;
  padding: 6px 2px; border-bottom: 3px solid transparent; transition: color .15s;
}
.nav__links > a:hover, .nav__links > a.on { color: var(--sun); border-bottom-color: var(--sun); }
.nav__cta { border-bottom: none !important; color: var(--ink) !important; }
.nav__user { color: var(--teal) !important; }
.nav__cart-badge {
  background: var(--magenta); color: #fff; border-radius: 999px;
  font-size: 11px; padding: 2px 7px; margin-left: 4px;
}
.nav__drop { position: relative; }
.nav__drop-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px);
  background: var(--paper); border: 2.5px solid var(--night); border-radius: 14px;
  box-shadow: var(--shadow-hard); padding: 8px; min-width: 250px;
  opacity: 0; pointer-events: none; transition: all .18s ease;
}
.nav__drop:hover .nav__drop-menu, .nav__drop:focus-within .nav__drop-menu { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.nav__drop-menu a {
  display: block; padding: 10px 14px; border-radius: 9px; text-decoration: none;
  color: var(--ink); font-weight: 700; font-size: 14px;
}
.nav__drop-menu a:hover { background: var(--sun); }
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__burger span { width: 26px; height: 3px; background: var(--cream); border-radius: 2px; transition: all .2s; }
.nav__burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- ticket / event cards ---------- */
.card {
  background: var(--paper); color: var(--ink);
  border: 3px solid var(--night); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hard);
}
.card--flat { box-shadow: none; }
.ticket {
  position: relative; background: var(--paper); color: var(--ink);
  border: 3px solid var(--night); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hard); overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.ticket:hover { transform: translate(-3px, -3px) rotate(-.4deg); box-shadow: 9px 9px 0 rgba(24,11,63,1); }
.ticket__img { position: relative; height: 210px; overflow: hidden; border-bottom: 3px solid var(--night); }
.ticket__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ticket:hover .ticket__img img { transform: scale(1.06); }
.ticket__img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(24,11,63,0) 40%, rgba(24,11,63,.55));
}
.ticket__flag { position: absolute; top: 14px; left: 14px; z-index: 2; }
.ticket__body { padding: 24px; }
.ticket__city { font-size: 26px; font-weight: 900; text-transform: uppercase; letter-spacing: -.5px; }
.ticket__title { font-family: var(--font-display); color: var(--magenta-deep); font-size: 17px; margin: 2px 0 10px; }
.ticket__meta { display: grid; gap: 6px; font-size: 14px; color: var(--muted-dark); font-weight: 600; margin-bottom: 16px; }
.ticket__meta b { color: var(--ink); }
.ticket__row { display: flex; gap: 10px; flex-wrap: wrap; }
/* perforation */
.ticket__perf { position: relative; border-top: 3px dashed rgba(36,20,87,.3); margin: 18px -24px 16px; }
.ticket__perf::before, .ticket__perf::after {
  content: ''; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--cream); border: 3px solid var(--night);
}
.section--night .ticket__perf::before, .section--night .ticket__perf::after { background: var(--night); }
.ticket__perf::before { left: -14px; }
.ticket__perf::after { right: -14px; }

/* starburst badge */
.starburst {
  position: absolute; z-index: 3; width: 92px; height: 92px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--magenta); color: #fff; font-weight: 900; font-size: 11.5px;
  text-transform: uppercase; line-height: 1.15; letter-spacing: .5px; padding: 16px;
  clip-path: polygon(50% 0%, 59% 12%, 73% 5%, 76% 20%, 91% 18%, 88% 33%, 100% 40%, 90% 50%, 100% 60%, 88% 67%, 91% 82%, 76% 80%, 73% 95%, 59% 88%, 50% 100%, 41% 88%, 27% 95%, 24% 80%, 9% 82%, 12% 67%, 0% 60%, 10% 50%, 0% 40%, 12% 33%, 9% 18%, 24% 20%, 27% 5%, 41% 12%);
  animation: burstSpin 14s linear infinite;
}
@keyframes burstSpin { to { transform: rotate(360deg); } }
.starburst--sun { background: var(--sun); color: var(--night); }
.starburst--static { animation: none; }

/* ---------- grids ---------- */
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- stat blocks ---------- */
.stat { text-align: center; }
.stat b { display: block; font-size: clamp(34px, 4vw, 52px); font-weight: 900; line-height: 1; letter-spacing: -1px; }
.stat i { font-style: normal; font-weight: 700; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; opacity: .7; }

/* ---------- countdown ---------- */
.countdown { display: inline-flex; align-items: baseline; gap: 8px; }
.countdown b { font-size: 30px; font-weight: 900; }
.countdown i { font-style: normal; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; opacity: .7; margin-right: 8px; }

/* ---------- forms ---------- */
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 800; font-size: 13.5px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 7px; }
.input, .select, .textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px;
  border: 2.5px solid var(--night); background: #fff; color: var(--ink);
  font-weight: 600; outline: none; transition: box-shadow .15s;
}
.input:focus, .select:focus, .textarea:focus { box-shadow: 3px 3px 0 var(--magenta); }
.field__hint { font-size: 12.5px; color: var(--muted-dark); margin-top: 5px; }
.field__error { font-size: 13px; color: var(--magenta-deep); font-weight: 700; margin-top: 5px; }
.checkrow { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 14.5px; }
.checkrow input { width: 20px; height: 20px; accent-color: var(--magenta); flex-shrink: 0; margin-top: 2px; }
/* segmented control (e.g. Retail / F&B) */
.seg { display: inline-flex; border: 2.5px solid var(--night); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow-hard-sm); }
.seg button {
  padding: 11px 22px; font-weight: 800; font-size: 14px; color: var(--ink);
  text-transform: uppercase; letter-spacing: .5px; background: transparent; transition: all .15s;
}
.seg button + button { border-left: 2.5px solid var(--night); }
.seg button.on { background: var(--ink); color: var(--sun); }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 3px solid var(--night); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow-hard); }
.table { width: 100%; border-collapse: collapse; color: var(--ink); font-size: 14.5px; min-width: 640px; }
.table th {
  text-align: left; font-weight: 900; text-transform: uppercase; font-size: 12px; letter-spacing: 1.5px;
  padding: 14px 16px; background: var(--ink); color: var(--cream); white-space: nowrap;
}
.table td { padding: 13px 16px; border-top: 2px solid rgba(36,20,87,.1); font-weight: 600; }
.table tr:hover td { background: rgba(255,196,45,.12); }

/* status badges */
.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; border: 2px solid var(--night); }
.badge--paid, .badge--live, .badge--available { background: #C9F27D; color: #1d4a12; }
.badge--pending, .badge--held { background: var(--sun); color: var(--ink); }
.badge--sold, .badge--cancelled { background: #FFD3D3; color: #8c1d1d; }
.badge--info { background: #D6E9FF; color: #143a66; }

/* ---------- accordion ---------- */
.acc { border: 3px solid var(--night); border-radius: var(--radius); background: var(--paper); color: var(--ink); box-shadow: var(--shadow-hard-sm); margin-bottom: 14px; overflow: hidden; }
.acc summary {
  list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 800; font-size: 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font-size: 24px; font-weight: 900; color: var(--magenta); transition: transform .2s; }
.acc[open] summary::after { transform: rotate(45deg); }
.acc__body { padding: 0 22px 20px; color: var(--muted-dark); font-size: 15px; }

/* ---------- toasts ---------- */
.toast-root { position: fixed; bottom: 22px; right: 22px; z-index: 300; display: flex; flex-direction: column; gap: 10px; max-width: min(380px, calc(100vw - 44px)); }
.toast {
  background: var(--paper); color: var(--ink); font-weight: 700; font-size: 14px;
  border: 2.5px solid var(--night); border-radius: 14px; box-shadow: var(--shadow-hard-sm);
  padding: 14px 18px; opacity: 0; transform: translateY(14px); transition: all .3s ease;
}
.toast.in { opacity: 1; transform: none; }
.toast--success { background: #C9F27D; }
.toast--warn { background: var(--sun); }
.toast--error { background: #FFD3D3; }
.toast--live { background: var(--ink); color: var(--cream); border-color: var(--magenta); }

/* ---------- modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 400; background: rgba(24,11,63,.72);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  backdrop-filter: blur(4px); animation: fadeIn .2s ease;
}
@keyframes fadeIn { from { opacity: 0; } }
.modal {
  position: relative; background: var(--paper); color: var(--ink);
  border: 3px solid var(--night); border-radius: var(--radius-lg); box-shadow: 8px 8px 0 rgba(24,11,63,1);
  max-width: 560px; width: 100%; max-height: 88vh; overflow-y: auto; padding: 32px;
  animation: popIn .25s cubic-bezier(.2, 1.4, .4, 1);
}
@keyframes popIn { from { transform: scale(.92) translateY(10px); opacity: 0; } }
.modal__x {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px;
  border: 2.5px solid var(--night); border-radius: 10px; background: var(--sun);
  font-weight: 900; box-shadow: var(--shadow-hard-sm);
}
.modal h3 { font-size: 24px; font-weight: 900; text-transform: uppercase; margin-bottom: 14px; }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].in { opacity: 1; transform: none; }

/* ==================================================================
   FLOOR PLAN
   ================================================================== */
.fp-wrap { position: relative; }
.fp-svg { width: 100%; height: auto; display: block; }
.fp-hall { fill: #FFF9EC; stroke: var(--night); stroke-width: 4; }

.fp-fixture rect { fill: var(--ink); opacity: .92; }
.fp-fixture--stage rect { fill: var(--night); stroke: var(--magenta); stroke-width: 3; }
.fp-fixture--arena rect { fill: rgba(139,108,255,.18); stroke: var(--grape); stroke-width: 2; stroke-dasharray: 8 6; }
.fp-fixture--entrance rect { fill: var(--teal); stroke: var(--night); stroke-width: 3; }
.fp-fixture--aisle rect { fill: rgba(36,20,87,.06); }
.fp-fixture-label { font-family: var(--font-body); font-weight: 900; font-size: 15px; fill: var(--cream); letter-spacing: 2px; }
.fp-fixture--arena .fp-fixture-label { fill: var(--ink-2); font-size: 13px; }
.fp-fixture--aisle .fp-fixture-label { fill: rgba(36,20,87,.4); font-size: 11px; }
.fp-fixture--entrance .fp-fixture-label { fill: var(--night); }
.fp-entrance-arrow { fill: var(--teal); font-size: 13px; font-weight: 900; }

.fp-booth { cursor: pointer; }
.fp-mode-mini .fp-booth { cursor: default; }
.fp-booth-rect { stroke: var(--night); stroke-width: 2.5; transition: all .15s ease; }
.fp-booth-label { font-family: var(--font-body); font-weight: 800; font-size: 12px; fill: var(--night); pointer-events: none; }
.fp-st-available:hover .fp-booth-rect, .fp-booth:focus-visible .fp-booth-rect { filter: brightness(1.12); stroke-width: 4; }
.fp-st-sold { cursor: not-allowed; }
.fp-st-sold .fp-booth-rect { fill: #CFC8BC !important; opacity: .55; }
.fp-st-sold .fp-booth-label { fill: rgba(36,20,87,.45); }
.fp-lock { font-size: 11px; font-weight: 900; fill: rgba(36,20,87,.5); }
.fp-st-held .fp-booth-rect { fill: #EAD9A8 !important; stroke-dasharray: 6 4; }
.fp-st-held { cursor: help; }
.fp-selected .fp-booth-rect { fill: var(--lime) !important; stroke-width: 4; }
.fp-star { fill: var(--magenta); font-size: 16px; font-weight: 900; animation: starBounce .4s ease; }
@keyframes starBounce { 0% { transform: translateY(6px); opacity: 0; } }
.fp-highlight .fp-booth-rect { stroke: var(--magenta); stroke-width: 4.5; animation: fpPulse 1.6s ease infinite; }
.fp-eyeing .fp-booth-rect { stroke: var(--tangerine); stroke-width: 4.5; animation: fpPulse .9s ease infinite; }
.fp-shake { animation: fpShake .35s ease; }
@keyframes fpPulse { 50% { filter: brightness(1.25); } }
@keyframes fpShake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

.fp-tip {
  position: absolute; top: 0; left: 0; z-index: 5; pointer-events: none;
  background: var(--night); color: var(--cream); border: 2px solid var(--magenta);
  border-radius: 12px; padding: 10px 14px; width: 225px;
  font-size: 13px; opacity: 0; transition: opacity .12s;
  box-shadow: 4px 4px 0 rgba(0,0,0,.3);
}
.fp-tip.on { opacity: 1; }
.fp-tip strong { display: block; font-size: 14px; }
.fp-tip span { display: block; opacity: .8; }
.fp-tip em { display: block; font-style: normal; font-weight: 800; margin-top: 4px; }
.fp-tip-open { color: var(--lime); }
.fp-tip-sold { color: #ff9d9d; }
.fp-tip-held { color: var(--sun); }

.fp-legend { display: flex; flex-wrap: wrap; gap: 12px 18px; }
.fp-leg { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; }
.fp-leg i { width: 16px; height: 16px; border-radius: 5px; border: 2px solid var(--night); display: inline-block; }
.fp-leg-fnb { font-size: 10px; background: var(--tangerine); color: #fff; border-radius: 4px; padding: 1px 5px; margin-left: 2px; }
.fp-leg .fp-leg-sold { background: #CFC8BC; }
.fp-leg .fp-leg-held { background: #EAD9A8; }
.fp-leg .fp-leg-selected { background: var(--lime); }

.fp-zoom { display: inline-flex; gap: 8px; }
.fp-zoom button {
  width: 40px; height: 40px; border: 2.5px solid var(--night); border-radius: 10px;
  background: var(--paper); font-weight: 900; font-size: 17px; color: var(--ink);
  box-shadow: var(--shadow-hard-sm);
}
.fp-zoom button:active { transform: translate(2px, 2px); box-shadow: none; }

/* ==================================================================
   DASHBOARD SHELL (merchant + admin)
   ================================================================== */
.dash { display: grid; grid-template-columns: 250px 1fr; min-height: calc(100vh - var(--nav-h)); background: var(--cream); color: var(--ink); }
.dash__side {
  background: var(--ink); color: var(--cream); padding: 28px 16px;
  display: flex; flex-direction: column; gap: 6px;
}
.dash__side h3 { font-size: 12px; text-transform: uppercase; letter-spacing: 2.5px; opacity: .6; padding: 0 12px; margin: 14px 0 6px; }
.dash__link {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px;
  color: var(--cream); text-decoration: none; font-weight: 700; font-size: 14.5px;
  border: 2px solid transparent; background: none; text-align: left; width: 100%;
}
.dash__link:hover { background: rgba(251,242,222,.08); }
.dash__link.on { background: var(--sun); color: var(--ink); border-color: var(--night); box-shadow: 3px 3px 0 rgba(0,0,0,.35); }
.dash__main { padding: 36px clamp(20px, 3.5vw, 44px); min-width: 0; }
.dash__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; margin-bottom: 28px; }
.dash__head h1 { font-size: clamp(26px, 3vw, 38px); font-weight: 900; text-transform: uppercase; letter-spacing: -.5px; }
.dash__head p { color: var(--muted-dark); font-weight: 600; }

.stat-card { padding: 22px; border: 3px solid var(--night); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow-hard-sm); }
.stat-card b { display: block; font-size: 30px; font-weight: 900; letter-spacing: -1px; }
.stat-card i { font-style: normal; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted-dark); }
.stat-card--sun { background: var(--sun); }
.stat-card--magenta { background: var(--magenta); color: #fff; }
.stat-card--magenta i { color: rgba(255,255,255,.75); }
.stat-card--ink { background: var(--ink); color: var(--cream); }
.stat-card--ink i { color: var(--muted-cream); }

.panel { background: var(--paper); border: 3px solid var(--night); border-radius: var(--radius-lg); box-shadow: var(--shadow-hard-sm); padding: 26px; }
.panel h2 { font-size: 19px; font-weight: 900; text-transform: uppercase; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; justify-content: space-between; flex-wrap: wrap; }

.progressbar { height: 14px; border: 2px solid var(--night); border-radius: 999px; background: #fff; overflow: hidden; }
.progressbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--lime)); border-radius: 999px; }

/* notification feed */
.feed { display: flex; flex-direction: column; gap: 10px; max-height: 420px; overflow-y: auto; }
.feed__item { display: flex; gap: 12px; padding: 12px 14px; border: 2px solid rgba(36,20,87,.14); border-radius: 12px; background: #fff; font-size: 14px; font-weight: 600; }
.feed__item.unread { border-color: var(--magenta); background: #FFF3F8; }
.feed__ico { font-size: 18px; flex-shrink: 0; }
.feed__time { margin-left: auto; font-size: 12px; color: var(--muted-dark); white-space: nowrap; }

/* ---------- auth pages ---------- */
.auth-hero { min-height: calc(100vh - var(--nav-h)); display: grid; grid-template-columns: 1fr 1fr; }
.auth-hero__art { position: relative; overflow: hidden; }
.auth-hero__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth-hero__art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(24,11,63,.25), rgba(24,11,63,.78)); }
.auth-hero__quote { position: absolute; bottom: 40px; left: 40px; right: 40px; z-index: 2; color: var(--cream); }
.auth-hero__form { display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.auth-card { width: 100%; max-width: 470px; }

/* ---------- checkout steps ---------- */
.steps { display: flex; align-items: center; gap: 0; margin-bottom: 36px; flex-wrap: wrap; }
.steps__item { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .5px; opacity: .45; }
.steps__item.on, .steps__item.done { opacity: 1; }
.steps__num {
  width: 34px; height: 34px; border-radius: 50%; border: 2.5px solid var(--night);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 900; background: #fff;
}
.steps__item.on .steps__num { background: var(--sun); box-shadow: 2px 2px 0 var(--night); }
.steps__item.done .steps__num { background: var(--teal); }
.steps__bar { flex: 1 1 30px; min-width: 22px; height: 3px; background: rgba(36,20,87,.25); margin: 0 12px; }

/* pay method cards */
.paygrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.paycard {
  border: 3px solid rgba(36,20,87,.25); border-radius: 14px; background: #fff;
  padding: 18px 14px; text-align: center; font-weight: 800; cursor: pointer; transition: all .15s;
}
.paycard:hover { border-color: var(--night); }
.paycard.on { border-color: var(--night); background: var(--sun); box-shadow: var(--shadow-hard-sm); }
.paycard span { display: block; font-size: 26px; margin-bottom: 6px; }
.paycard small { display: block; font-weight: 600; font-size: 11.5px; color: var(--muted-dark); margin-top: 3px; }

/* ---------- gallery strip ---------- */
.gallery-strip { display: flex; gap: 18px; overflow: hidden; }
.gallery-strip__inner { display: flex; gap: 18px; animation: marquee 45s linear infinite; }
.gallery-card { position: relative; flex: 0 0 300px; height: 200px; border: 3px solid var(--night); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-hard-sm); }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; }
.gallery-card figcaption {
  position: absolute; bottom: 10px; left: 10px; background: var(--night); color: var(--cream);
  font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px;
}

/* ---------- lineup sticker wall ---------- */
.lineup-wall { display: flex; flex-wrap: wrap; gap: 14px 26px; justify-content: center; align-items: baseline; }
.lineup-wall .sticker { font-size: clamp(22px, 3.4vw, 44px); transform: rotate(var(--rot, 0deg)); }

/* ---------- empty state ---------- */
.empty { text-align: center; padding: 48px 20px; color: var(--muted-dark); }
.empty b { display: block; font-size: 40px; margin-bottom: 10px; }

/* ---------- helpers ---------- */
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 36px; } .mt-5 { margin-top: 56px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 36px; }
.tc { text-align: center; } .flex { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.flex-between { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.muted { opacity: .72; }
.hide { display: none !important; }

/* ---------- footer ---------- */
.footer { background: var(--night); color: var(--cream); border-top: 3px solid var(--magenta); position: relative; }
.footer::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M28 4L52 28L28 52L4 28Z' fill='none' stroke='rgba(251,242,222,0.05)' stroke-width='1.5'/%3E%3C/svg%3E");
}
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding: 64px 24px 44px; }
.footer__logo { font-weight: 900; font-size: 22px; letter-spacing: 1px; margin-bottom: 12px; }
.footer__tag { font-size: 14px; color: var(--muted-cream); }
.footer__socials { display: flex; gap: 10px; margin-top: 18px; }
.footer__socials a {
  width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--cream); border-radius: 12px; text-decoration: none; font-weight: 900; font-size: 12px;
  transition: all .15s;
}
.footer__socials a:hover { background: var(--magenta); border-color: var(--magenta); transform: translateY(-3px); }
.footer__col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 2.5px; color: var(--sun); margin-bottom: 16px; }
.footer__col a { display: block; color: var(--muted-cream); text-decoration: none; font-size: 14.5px; font-weight: 600; padding: 5px 0; }
.footer__col a:hover { color: var(--cream); }
.footer__admin { color: var(--teal) !important; }
.footer__bar {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding: 20px 24px; border-top: 1px solid rgba(251,242,222,.14);
  font-size: 13px; color: var(--muted-cream); position: relative; z-index: 1;
  max-width: var(--container); margin: 0 auto;
}
.footer__inner { max-width: var(--container); margin: 0 auto; position: relative; z-index: 1; }

/* ==================================================================
   RESPONSIVE
   ================================================================== */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .grid--3 { grid-template-columns: 1fr; }
  .auth-hero { grid-template-columns: 1fr; }
  .auth-hero__art { display: none; }
  .dash { grid-template-columns: 1fr; }
  .dash__side { flex-direction: row; flex-wrap: wrap; padding: 14px; position: sticky; top: var(--nav-h); z-index: 50; }
  .dash__side h3 { display: none; }
  .dash__link { width: auto; padding: 9px 14px; font-size: 13.5px; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--night); border-bottom: 3px solid var(--magenta);
    padding: 18px 24px 26px; gap: 4px; display: none; max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .nav__links.open { display: flex; }
  .nav__links > a { padding: 13px 6px; font-size: 17px; border-bottom: 1px solid rgba(251,242,222,.1); }
  .nav__drop-menu { position: static; transform: none; opacity: 1; pointer-events: auto; box-shadow: none; margin: 4px 0; }
  .nav__burger { display: flex; }
  .nav__cta { margin-top: 12px; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .grid--2 { grid-template-columns: 1fr; }
  .paygrid { grid-template-columns: 1fr; }
  .steps { gap: 8px; }
  .steps__bar { min-width: 10px; margin: 0 4px; }
  .steps__item span.steps__label { display: none; }
  .steps__item.on span.steps__label { display: inline; }
  .footer__inner { grid-template-columns: 1fr; gap: 26px; padding-top: 44px; }
}
