:root{--brand:#0d6efd;--bg:#f7f8fa;--ink:#1f2937;--muted:#6b7280;--card:#fff;--bd:#e5e7eb}
*{box-sizing:border-box}
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;background:var(--bg);color:var(--ink);font-size:15px;line-height:1.5}
a{color:var(--brand);text-decoration:none}
.container{max-width:560px;margin:0 auto;padding:0 14px}
.topbar{background:#fff;border-bottom:1px solid var(--bd);padding:12px 14px;position:sticky;top:0;z-index:100;display:flex;align-items:center;gap:10px}
.topbar img{height:32px}
.topbar h1{font-size:17px;margin:0;font-weight:700}
.hero{padding:18px 14px 8px}
.hero h2{margin:0 0 4px;font-size:20px}
.hero p{margin:0;color:var(--muted);font-size:13px}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px 14px 80px}
.card{background:var(--card);border-radius:14px;overflow:hidden;border:1px solid var(--bd);display:block;color:inherit;transition:transform .15s}
.card:active{transform:scale(.98)}
.card .ph{aspect-ratio:4/5;background:#eef0f3 center/cover}
.card .body{padding:10px}
.card h3{font-size:13px;margin:0 0 4px;font-weight:600;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card .price{font-size:13px;color:var(--brand);font-weight:700}
.empty{padding:40px 20px;text-align:center;color:var(--muted)}
/* Single page */
.swiper{width:100%;aspect-ratio:4/5;background:#000}
.swiper-slide img{width:100%;height:100%;object-fit:cover;display:block}
.swiper-button-next,.swiper-button-prev{color:#fff;background:rgba(0,0,0,.35);width:38px;height:38px;border-radius:50%}
.swiper-button-next:after,.swiper-button-prev:after{font-size:16px;font-weight:700}
.swiper-pagination-bullet-active{background:#fff}
.actions{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;padding:12px 14px;background:#fff;position:sticky;bottom:0;border-top:1px solid var(--bd);z-index:50}
.btn{padding:11px 8px;border-radius:10px;border:0;font-weight:600;font-size:12px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px;text-align:center;line-height:1.2}
.btn i{font-size:14px}
.btn-wa{background:#25D366;color:#fff}
.btn-daftar{background:var(--brand);color:#fff}
.btn-share{background:#f1f5f9;color:var(--ink);border:1px solid var(--bd)}
.detail{padding:14px}
.detail h1{font-size:20px;margin:0 0 6px;font-weight:700}
.detail .price{font-size:22px;color:var(--brand);font-weight:800;margin:0 0 12px}
.kat{display:inline-block;background:#eef2ff;color:var(--brand);padding:3px 10px;border-radius:99px;font-size:11px;margin-bottom:8px;font-weight:600}
.desc{color:#374151;line-height:1.65}
.desc img{max-width:100%;height:auto;border-radius:8px}
.acc{margin-top:18px;border-top:1px solid var(--bd)}
.acc details{border-bottom:1px solid var(--bd)}
.acc summary{padding:14px 4px;cursor:pointer;font-weight:600;list-style:none;display:flex;justify-content:space-between;align-items:center}
.acc summary::-webkit-details-marker{display:none}
.acc summary:after{content:"+";font-size:20px;color:var(--muted)}
.acc details[open] summary:after{content:"−"}
.acc .acc-body{padding:0 4px 14px;color:#374151}
/* v2.3.5b — Quill list marker normalization: hormati data-list="bullet" vs "ordered" */
.acc-body ol,.acc-body ul{padding-left:1.5em;margin:.4em 0}
.acc-body ol{list-style:none;counter-reset:li}
.acc-body ol > li{position:relative;padding-left:.25em}
.acc-body ol > li[data-list="bullet"]{list-style:none}
.acc-body ol > li[data-list="bullet"]::before{content:"\2022";position:absolute;left:-1em;color:inherit}
.acc-body ol > li[data-list="ordered"]{counter-increment:li}
.acc-body ol > li[data-list="ordered"]::before{content:counter(li) ".";position:absolute;left:-1.4em;color:inherit}
.acc-body ol > li:not([data-list])::before{content:counter(li) ".";position:absolute;left:-1.4em;color:inherit;counter-increment:li}
.acc-body .ql-ui{display:none}
.back{display:inline-flex;align-items:center;gap:6px;padding:10px 14px;color:var(--muted);font-size:13px}
.foot{text-align:center;padding:20px;color:var(--muted);font-size:11px}
@media(min-width:600px){.grid{grid-template-columns:1fr 1fr 1fr}}

/* === v1.1.3 Template Variations === */
/* Editorial: 1 kolom besar */
body.tpl-editorial .grid{grid-template-columns:1fr;gap:14px;max-width:560px;margin:0 auto}
body.tpl-editorial .card{border-radius:18px}
body.tpl-editorial .card .ph{aspect-ratio:16/10}
body.tpl-editorial .card .body{padding:14px 16px}
body.tpl-editorial .card h3{font-size:16px;-webkit-line-clamp:3}
body.tpl-editorial .card .price{font-size:15px;margin-top:6px}
/* Compact: 3 kolom rapat */
body.tpl-compact .grid{grid-template-columns:repeat(3,1fr);gap:6px;padding:8px}
body.tpl-compact .card{border-radius:8px}
body.tpl-compact .card .body{padding:7px}
body.tpl-compact .card h3{font-size:11px;margin-bottom:2px}
body.tpl-compact .card .price{font-size:11px}
/* Magazine: featured + grid */
body.tpl-magazine .grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px}
body.tpl-magazine .grid .card:first-child{grid-column:1/-1}
body.tpl-magazine .grid .card:first-child .ph{aspect-ratio:16/9}
body.tpl-magazine .grid .card:first-child h3{font-size:16px}
@media(min-width:640px){
  body.tpl-magazine .grid{grid-template-columns:repeat(3,1fr)}
  body.tpl-magazine .grid .card:first-child{grid-column:span 2;grid-row:span 2}
  body.tpl-compact .grid{grid-template-columns:repeat(4,1fr)}
}

/* v1.2.6 — Harga Promo / Diskon */
.detail .price-promo{display:flex;flex-wrap:wrap;align-items:baseline;gap:10px;margin:0 0 12px}
.detail .price-promo .old{font-size:15px;color:#dc2626;text-decoration:line-through;font-weight:600}
.detail .price-promo .new{font-size:24px;color:var(--brand);font-weight:800}
.detail .price-promo .tag{font-size:11px;background:#dc2626;color:#fff;padding:2px 8px;border-radius:999px;font-weight:700;letter-spacing:.5px}
.card .price-promo{display:flex;flex-direction:column;gap:2px}
.card .price-promo .old{font-size:11px;color:#dc2626;text-decoration:line-through}
.card .price-promo .new{font-size:13px;color:var(--brand);font-weight:700}

/* v1.3.0 — Badges & sisa kursi */
.card{position:relative}
.card .ph{position:relative}
.kbadge-wrap{position:absolute;top:6px;left:6px;display:flex;flex-direction:column;gap:4px;z-index:2;align-items:flex-start}
.kbadge{display:inline-block;font-size:10px;font-weight:800;padding:3px 8px;border-radius:99px;color:#fff;letter-spacing:.4px;line-height:1.2;box-shadow:0 1px 3px rgba(0,0,0,.25);text-transform:uppercase}
.kbadge.pr{background:#dc2626}
.kbadge.lm{background:#ea580c}
.kbadge.bs{background:#0d6efd}
.detail .kbadge-wrap{position:static;flex-direction:row;flex-wrap:wrap;margin:0 0 10px}
.detail .kbadge{font-size:11px;padding:4px 10px}

.sisa-kursi{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;color:#374151;background:#f3f4f6;border:1px solid #e5e7eb;padding:3px 9px;border-radius:99px;margin-top:6px}
.sisa-kursi.urgent{color:#fff;background:#dc2626;border-color:#b91c1c;animation:pulseSisa 1.6s ease-in-out infinite}
.detail .sisa-kursi{font-size:13px;padding:6px 12px;margin:0 0 12px}
@keyframes pulseSisa{0%,100%{box-shadow:0 0 0 0 rgba(220,38,38,.45)}50%{box-shadow:0 0 0 8px rgba(220,38,38,0)}}

/* Logo width/height (inline style juga di-set dari setting) */
.topbar img{display:block;object-fit:contain}

/* v1.6.0 — Container & Content Width (desktop boxed/full) */
@media (min-width:1024px){
  body.cw-boxed{max-width:1200px;margin:0 auto;background:#fff;box-shadow:0 0 24px rgba(0,0,0,.06)}
  body.tw-boxed .grid,
  body.tw-boxed .hero,
  body.tw-boxed .month-filter,
  body.tw-boxed .detail,
  body.tw-boxed .acc,
  body.tw-boxed main,
  body.tw-boxed .legal-cards,
  body.tw-boxed .hero-slider,
  body.tw-boxed .wrap{max-width:920px;margin-left:auto;margin-right:auto}
  body.tw-boxed .topbar > *{max-width:920px;margin-left:auto;margin-right:auto}
}

/* v1.7.0 — Badge SEAT PENUH */
.seat-full{pointer-events:none;font-family:inherit}
.seat-full.overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.45);z-index:3}
.seat-full.overlay .lbl{background:#dc2626;color:#fff;font-weight:800;font-size:14px;letter-spacing:.08em;padding:8px 18px;border-radius:6px;box-shadow:0 4px 14px rgba(0,0,0,.35);text-transform:uppercase}
.card .seat-full.overlay .lbl{font-size:12px;padding:6px 12px}
.seat-full.ribbon{position:absolute;top:0;right:0;width:140px;height:140px;overflow:hidden;z-index:3}
.seat-full.ribbon span{position:absolute;display:block;width:200px;padding:6px 0;background:#dc2626;color:#fff;font-weight:800;font-size:12px;letter-spacing:.08em;text-align:center;transform:rotate(45deg);top:30px;right:-50px;box-shadow:0 2px 6px rgba(0,0,0,.3);text-transform:uppercase}
.card.is-full{opacity:.95}

/* v1.7.0 — Single katalog: batasi lebar di desktop agar nyaman dilihat */
body.single-katalog .swiper,
body.single-katalog .mobile-note,
body.single-katalog .actions,
body.single-katalog .detail{max-width:100%;margin-left:auto;margin-right:auto}
@media(min-width:780px){
  body.single-katalog .swiper,
  body.single-katalog .mobile-note,
  body.single-katalog .actions,
  body.single-katalog .detail{max-width:560px}
  body.single-katalog .topbar{max-width:560px;margin:0 auto}
}

/* v1.7.1 — Skeleton placeholder untuk loading state katalog */
.card.skeleton{pointer-events:none}
.card.skeleton .ph{background:linear-gradient(90deg,#eef0f3 0%,#f7f8fa 50%,#eef0f3 100%);background-size:200% 100%;animation:skel 1.2s ease-in-out infinite}
.card.skeleton .body{padding:10px}
.card.skeleton .sk-line{height:10px;background:linear-gradient(90deg,#eef0f3 0%,#f7f8fa 50%,#eef0f3 100%);background-size:200% 100%;animation:skel 1.2s ease-in-out infinite;border-radius:4px;margin:6px 0}
.card.skeleton .sk-line.w70{width:70%}
.card.skeleton .sk-line.w40{width:40%}
@keyframes skel{0%{background-position:200% 0}100%{background-position:-200% 0}}
.grid.is-loading{opacity:.7;transition:opacity .15s}

/* v2.2.1 — Shortcode [wafb_button] styles */
.wafb-sc{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 18px;font-weight:700;font-size:14px;line-height:1.2;text-decoration:none;cursor:pointer;transition:transform .15s,box-shadow .15s,background .15s;background:#25D366;color:#fff!important;border:2px solid #25D366;font-family:inherit}
.wafb-sc:before{content:"";display:inline-block;width:18px;height:18px;background-color:currentColor;-webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path d='M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z'/></svg>") no-repeat center/contain;mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path d='M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z'/></svg>") no-repeat center/contain}
.wafb-sc:hover{transform:translateY(-1px);box-shadow:0 6px 16px rgba(37,211,102,.35);background:#1ebe5d;border-color:#1ebe5d;color:#fff!important}
.wafb-sc-pill{border-radius:999px}
.wafb-sc-outline{background:transparent;color:#25D366!important;border-color:#25D366;border-radius:8px}
.wafb-sc-outline:hover{background:#25D366;color:#fff!important}
.wafb-sc-block{display:flex;width:100%;border-radius:10px;padding:14px 18px;font-size:15px}

@media(max-width:599px){
  body.mc-1 .grid{grid-template-columns:1fr;gap:14px;padding:12px 14px 80px}
  body.mc-1 .card .ph{aspect-ratio:4/5}
  body.mc-1 .card .ph img{object-fit:cover;width:100%;height:100%}
  body.mc-1 .card h3{font-size:15px}
  body.mc-1 .card .price{font-size:15px}
  body.mc-1.tpl-compact .grid{grid-template-columns:1fr}
  body.mc-1.tpl-magazine .grid{grid-template-columns:1fr}
}

/* v2.2.3 — Card Legalitas (Home + Shortcode [legal_cards]) */
.legal-cards{padding:12px 14px 4px}
.lc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.lc-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:12px 8px 10px;text-align:center;cursor:pointer;font:inherit;color:inherit;display:flex;flex-direction:column;align-items:center;gap:4px;transition:transform .12s,box-shadow .12s,border-color .12s;box-shadow:0 1px 2px rgba(15,81,50,.04)}
.lc-card:hover{border-color:#10b981;box-shadow:0 4px 14px rgba(16,185,129,.12);transform:translateY(-1px)}
.lc-card:active{transform:scale(.98)}
.lc-card .lc-ic{width:42px;height:42px;border-radius:50%;background:#ecfdf5;display:flex;align-items:center;justify-content:center;overflow:hidden;margin-bottom:2px}
.lc-card .lc-ic img{width:100%;height:100%;object-fit:cover}
.lc-card .lc-emo{font-size:22px;line-height:1}
.lc-card .lc-tt{font-size:13px;font-weight:800;color:#0f172a;line-height:1.2}
.lc-card .lc-sb{font-size:11px;color:#6b7280;line-height:1.25}
.lc-cta-wrap{display:flex;justify-content:center;margin-top:10px}
.lc-cta-btn{font:inherit;cursor:pointer;font-size:12.5px;font-weight:700;color:#0f5132;background:#ecfdf5;border:1px solid #cfe7d8;border-radius:99px;padding:8px 16px;line-height:1.2;transition:background .15s,border-color .15s}
.lc-cta-btn:hover{background:#d1fae5;border-color:#10b981}
@media(max-width:380px){.lc-card .lc-tt{font-size:12px}.lc-cta-btn{font-size:11.5px;padding:7px 12px}}
@media(min-width:600px){.lc-grid{gap:14px}.lc-card{padding:18px 14px 14px}.lc-card .lc-ic{width:56px;height:56px}.lc-card .lc-emo{font-size:28px}.lc-card .lc-tt{font-size:15px}.lc-card .lc-sb{font-size:12px}.lc-cta-btn{font-size:13.5px;padding:9px 18px}}
.lc-modal .lc-list{display:flex;flex-direction:column;gap:18px}
.lc-item{padding-top:14px;border-top:1px dashed #e5e7eb}
.lc-item:first-child{padding-top:0;border-top:0}
.lc-it-tt{margin:0 0 8px;font-size:14px;color:#0f5132;font-weight:800}

/* Modal — selalu center (mobile & desktop) */
.lc-modal{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;padding:14px}
.lc-modal.on{display:flex}
.lc-modal .lc-bd{position:absolute;inset:0;background:rgba(15,23,42,.55);animation:lcFade .15s ease-out}
.lc-modal .lc-md{position:relative;width:100%;max-width:560px;background:#fff;border-radius:18px;padding:18px 16px 22px;max-height:90vh;overflow:auto;animation:lcUp .2s ease-out;box-shadow:0 20px 50px rgba(15,23,42,.25)}
.lc-modal .lc-x{position:absolute;top:8px;right:10px;background:#f1f5f9;border:0;width:34px;height:34px;border-radius:50%;font-size:22px;line-height:1;cursor:pointer;color:#0f172a}
.lc-modal .lc-x:hover{background:#e2e8f0}
.lc-modal .lc-mt{margin:2px 36px 12px 4px;font-size:16px;color:#0f172a}
.lc-modal .lc-mi{margin:0 0 12px;border-radius:10px;overflow:hidden;background:#f8fafc;border:1px solid #e5e7eb}
.lc-modal .lc-mi img{display:block;width:100%;height:auto}
.lc-modal .lc-mb{color:#374151;font-size:14px;line-height:1.55}
.lc-modal .lc-foot{margin-top:14px;padding:12px 14px;background:#ecfdf5;border:1px solid #cfe7d8;border-radius:12px;color:#0f5132;font-size:13.5px;line-height:1.55;text-align:center}
.lc-modal .lc-foot a{color:#0f5132;font-weight:700;text-decoration:underline}
@media(min-width:600px){.lc-modal .lc-md{max-width:600px}}
@keyframes lcFade{from{opacity:0}to{opacity:1}}
@keyframes lcUp{from{transform:translateY(16px);opacity:.6}to{transform:translateY(0);opacity:1}}

/* Hero Slider (v2.2.3) */
.hero-slider{padding:10px 14px 0}
body.tw-boxed .hero-slider{max-width:920px;margin:0 auto}
.hs-stage{position:relative;border-radius:16px;overflow:hidden;background:transparent;aspect-ratio:16/7}
.hs-track{position:absolute;inset:0}
.hs-slide{position:absolute;inset:0;opacity:0;transition:opacity .5s ease}
.hs-slide.on{opacity:1}
.hs-slide img{width:100%;height:100%;object-fit:contain;display:block;background:transparent}
.hs-nav{position:absolute;top:50%;transform:translateY(-50%);width:36px;height:36px;border-radius:50%;border:0;background:rgba(255,255,255,.85);color:#0f172a;font-size:22px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px rgba(0,0,0,.18)}
.hs-nav:hover{background:#fff}
.hs-prev{left:10px} .hs-next{right:10px}
.hs-dots{position:absolute;left:0;right:0;bottom:10px;display:flex;justify-content:center;gap:6px}
.hs-dot{width:8px;height:8px;border-radius:50%;border:0;background:rgba(255,255,255,.55);cursor:pointer;padding:0}
.hs-dot.on{background:#fff;width:22px;border-radius:99px}
.hs-msg-card{margin-top:12px;background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:14px 16px;box-shadow:0 2px 10px rgba(15,81,50,.05);color:#0f172a;font-size:14px;line-height:1.6}
.hs-msg-card p{margin:0 0 8px} .hs-msg-card p:last-child{margin-bottom:0}
.hs-msg-card a{color:#0f5132;font-weight:600;text-decoration:underline}
@media(max-width:600px){.hs-stage{aspect-ratio:16/9;border-radius:14px}.hs-nav{width:32px;height:32px;font-size:20px}}
