/* Karcis — mobile (app-like) */
body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); font-size: 15px; }
body.has-buybar { padding-bottom: calc(150px + env(safe-area-inset-bottom)); }

.m-top { position: sticky; top: 0; z-index: 1030; background: var(--ink); color: #fff; padding: 10px 16px; display: flex; align-items: center; gap: 12px; min-height: 56px; }
.m-top .k-brand { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: #fff; display: inline-flex; align-items: center; gap: 8px; letter-spacing: -0.03em; }
.m-top .mark { width: 26px; height: 18px; background: var(--sun); border-radius: 4px; position: relative; }
.m-top .mark::before, .m-top .mark::after { content:""; position:absolute; top:5px; width:8px; height:8px; border-radius:50%; background: var(--ink); }
.m-top .mark::before { left:-4px; } .m-top .mark::after { right:-4px; }
.m-top .icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-size: 1.2rem; }
.m-top .icon-btn:active { background: rgba(255,255,255,.12); }
.m-top .title { font-weight: 700; font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.m-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; background: #fff; border-top: 1px solid var(--line); display: flex; padding-bottom: env(safe-area-inset-bottom); }
.m-tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 0 8px; font-size: .7rem; font-weight: 600; color: var(--muted); }
.m-tabbar a i { font-size: 1.3rem; }
.m-tabbar a.active { color: var(--plum); }

.m-sec { padding: 26px 16px 0; }
.m-sec-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.m-sec-head h2 { font-size: 1.4rem; margin: 0; }
.m-sec-head a { font-weight: 700; font-size: .85rem; }

/* Carousel mobile */
.m-hero { background: var(--ink); padding: 4px 16px 22px; }
.m-hero .carousel-item { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 5; }
.m-hero .carousel-item::after { content:""; position:absolute; inset:0; background: linear-gradient(0deg, rgba(30,21,64,.95) 0%, rgba(30,21,64,.35) 55%, rgba(30,21,64,0) 80%); }
.m-hero-cap { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 36px; color: #fff; }
.m-hero-cap h2 { font-size: 2rem; line-height: 1; margin: 10px 0 8px; }
.m-hero-cap .meta { font-size: .85rem; color: rgba(255,255,255,.82); margin-bottom: 14px; }
.m-hero .carousel-indicators { margin-bottom: 14px; }
.m-hero .carousel-indicators [data-bs-target] { width: 18px; height: 4px; border-radius: 2px; border: 0; }
.m-hero .carousel-indicators .active { background: var(--sun); width: 30px; }

.h-scroll { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 2px 16px 6px; scrollbar-width: none; }
.h-scroll::-webkit-scrollbar { display: none; }
.h-scroll > * { scroll-snap-align: start; flex: 0 0 auto; }
.h-scroll .stub { width: 240px; }

.cat-chip { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 76px; color: var(--ink); font-size: .74rem; font-weight: 600; text-align: center; line-height: 1.2; }
.cat-chip .ico { width: 56px; height: 56px; border-radius: 16px; background: #fff; display: grid; place-items: center; font-size: 1.4rem; color: var(--plum); border: 1px solid var(--line); }
.cat-chip:active .ico { background: var(--plum-tint); }

/* Katalog list (kartu horizontal) */
.row-card { display: flex; background: #fff; border-radius: var(--r-md); overflow: hidden; color: var(--ink); position: relative; }
.row-card:active { color: var(--ink); background: #FBFAFF; }
.row-card img { width: 104px; flex: 0 0 104px; object-fit: cover; }
.row-card .perf { width: 0; border-left: 2px dashed var(--line); margin: 10px 0; position: relative; }
.row-card .bd { padding: 12px 14px; min-width: 0; flex: 1; }
.row-card .t { font-weight: 700; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row-card .mt { font-size: .78rem; color: var(--muted); margin-top: 3px; }
.row-card .p { font-weight: 700; color: var(--plum); font-size: .9rem; margin-top: 6px; }
.row-card + .row-card { margin-top: 10px; }

.m-why { background: var(--ink); color: #fff; margin-top: 32px; padding: 30px 16px; }
.m-why h2 { font-size: 1.6rem; }
.m-why-item { display: flex; gap: 14px; padding: 14px 0; border-top: 1px dashed rgba(255,255,255,.18); }
.m-why-item i { color: var(--sun); font-size: 1.3rem; }
.m-why-item strong { display: block; margin-bottom: 2px; }
.m-why-item p { margin: 0; font-size: .85rem; color: rgba(255,255,255,.68); }

/* Explore */
.m-search { padding: 12px 16px; background: var(--ink); }
.m-search input { border-radius: 999px; padding-left: 40px; }
.m-search .wrap { position: relative; }
.m-search .wrap i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.pill-scroll { display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px; scrollbar-width: none; background: #fff; border-bottom: 1px solid var(--line); }
.pill-scroll::-webkit-scrollbar { display: none; }
.pill { flex: 0 0 auto; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: .82rem; color: var(--ink); background: #fff; }
.pill.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination { --bs-pagination-color: var(--ink); --bs-pagination-active-bg: var(--plum); --bs-pagination-active-border-color: var(--plum); --bs-pagination-font-size: .85rem; flex-wrap: wrap; gap: 4px; }

/* Detail */
.m-ev-banner { aspect-ratio: 16 / 10; background: var(--ink); }
.m-ev-head { background: #fff; padding: 18px 16px; border-radius: var(--r-lg) var(--r-lg) 0 0; margin-top: -22px; position: relative; }
.m-ev-head h1 { font-size: 1.75rem; line-height: 1.05; margin: 8px 0 12px; }
.m-ev-head .ln { display: flex; gap: 10px; font-size: .88rem; margin-top: 6px; }
.m-ev-head .ln i { color: var(--plum); }
.m-tabs { position: sticky; top: 56px; z-index: 1020; background: #fff; display: flex; border-bottom: 1px solid var(--line); }
.m-tabs .nav-link { flex: 1; border: 0; border-bottom: 3px solid transparent; border-radius: 0; color: var(--muted); font-weight: 700; font-size: .88rem; padding: 12px 4px; background: transparent; }
.m-tabs .nav-link.active { color: var(--ink); border-bottom-color: var(--plum); }
.m-block { background: #fff; padding: 18px 16px; margin-top: 8px; }
.m-block h5 { font-size: 1.05rem; margin-bottom: 12px; }
.m-block .prose p { line-height: 1.7; color: var(--ink-soft); font-size: .93rem; }
.gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
.facility { padding: 10px 12px; font-size: .86rem; }
.info-kv { display: grid; grid-template-columns: 110px 1fr; gap: 8px 12px; font-size: .9rem; margin: 0; }
.info-kv dt { color: var(--muted); font-weight: 500; } .info-kv dd { margin: 0; font-weight: 600; }

.m-buybar { position: fixed; left: 0; right: 0; bottom: calc(62px + env(safe-area-inset-bottom)); z-index: 1025; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px; display: flex; align-items: center; gap: 12px; box-shadow: 0 -6px 18px rgba(30,21,64,.06); }
.m-buybar .lbl { font-size: .74rem; color: var(--muted); }
.m-buybar .amt { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; line-height: 1.1; }
.m-buybar .btn { margin-left: auto; padding: .7rem 1.2rem; }

.m-page { padding: 18px 16px; }
.m-page h1 { font-size: 1.7rem; }
.m-card { background: #fff; border-radius: var(--r-md); padding: 16px; }
.m-card + .m-card { margin-top: 12px; }
.form-control, .form-select { font-size: 16px; } /* cegah auto-zoom iOS */
.steps { padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--line); gap: 4px; }
.steps li { font-size: .72rem; gap: 6px; }
.steps li::before { flex-basis: 24px; height: 24px; font-size: .75rem; }
.steps li:not(.current) span { display: none; }
.steps li:not(:last-child)::after { min-width: 8px; }
.m-tabbar a { font-size: .66rem; }
.m-tabbar a i { font-size: 1.2rem; }

/* Detail event: banner utuh, kepala tidak menumpuk gambar */
.m-ev-banner { aspect-ratio: auto; background: #120C29; }
.m-ev-head { margin-top: 0; border-radius: 0; }

/* ==========================================================
   Carousel beranda (mobile): kartu tegak 4:5, gambar penuh satu
   kartu, judul & tombol menumpang di bawah.
   Ukuran banner mobile yang pas: 1080 x 1350 px (rasio 4:5).
   ========================================================== */
.m-hero { padding: 4px 16px 22px; }
.m-hero .carousel-item { aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden; position: relative; background: #120C29; }
.m-hero .carousel-item::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(30,21,64,.95) 0%, rgba(30,21,64,.35) 38%, rgba(30,21,64,0) 60%); }
.m-hero .hero-full { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.m-hero .m-hero-cap { z-index: 2; bottom: 34px; }
.m-hero .carousel-indicators { z-index: 3; margin-bottom: 12px; }
