/* Laman awam /web — reka bentuk interaktif berdasarkan ilustrasi cat air (Zoo Taiping & Bukit Larut) */

body.web {
    --w-forest: #14532d; --w-leaf: #2f7d3a; --w-teal: #0e7490; --w-mist: #dff1f3; --w-amber: #f59e0b; --w-amber-d: #d97706;
    --w-cream: #fbf7ee; --w-ink: #1d2b24; --w-muted: #66756d; --w-line: #e6dfcf;
    --bs-body-bg: var(--w-cream); --bs-body-color: var(--w-ink); --bs-body-font-size: 1rem;
    background: var(--w-cream); color: var(--w-ink); font-size: 1rem;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
body.web h1, body.web h2, body.web h3, body.web .display-title { font-family: Georgia, "Times New Roman", serif; letter-spacing: -.01em; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.1rem; }
.web-main { min-height: 60vh; }
.pt-nav { padding-top: 72px; }
.btn-cta { background: var(--w-amber); border-color: var(--w-amber); color: #2b1c00; font-weight: 700; border-radius: 2rem; padding: .5rem 1.15rem; white-space: nowrap; }
.btn-cta:hover { background: var(--w-amber-d); border-color: var(--w-amber-d); color: #fff; }
.btn-glass { background: rgba(255, 255, 255, .55); backdrop-filter: blur(8px); border: 1px solid rgba(0, 0, 0, .08); color: var(--w-ink); border-radius: 2rem; white-space: nowrap; }
.btn-glass:hover { background: #fff; }
.btn-xl { padding: .8rem 1.6rem; font-size: 1.05rem; border-radius: 2.5rem; }

/* ---------- navbar ---------- */
.web-nav { position: fixed; inset: 0 0 auto 0; z-index: 1040; height: 68px; display: flex; align-items: center; background: rgba(251, 247, 238, .92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--w-line); transition: background .25s, border-color .25s, box-shadow .25s; }
.web-nav.over { background: linear-gradient(180deg, rgba(5, 32, 18, .6), rgba(5, 32, 18, 0)); border-color: transparent; }
.web-nav.over.scrolled, .web-nav.scrolled { background: rgba(251, 247, 238, .95); border-bottom: 1px solid var(--w-line); box-shadow: 0 4px 18px rgba(20, 60, 40, .08); }
.web-nav .brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--w-forest); font-weight: 800; }
.web-nav.over:not(.scrolled) .brand, .web-nav.over:not(.scrolled) .links > a, .web-nav.over:not(.scrolled) .links > .dropdown > .dropdown-toggle { color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.brand-mark { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 1px 4px rgba(20, 60, 40, .25); padding: 3px; flex: none; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-text { font-family: Georgia, serif; font-size: 1.15rem; line-height: 1; }
.brand-text small { font-size: 1em; font-weight: 600; opacity: .8; }
.web-nav .links { gap: .3rem; margin-left: 1rem; }
.web-nav .links > a, .web-nav .links > .dropdown > .dropdown-toggle { text-decoration: none; color: var(--w-ink); font-weight: 600; padding: .45rem .8rem; border-radius: 2rem; font-size: .93rem; transition: background .15s; display: inline-block; }
.web-nav .links > a:hover, .web-nav .links > .dropdown > .dropdown-toggle:hover { background: rgba(20, 83, 45, .08); }
.web-nav .links > a.active, .web-nav .links > .dropdown > .dropdown-toggle.active { background: var(--w-forest); color: #fff; text-shadow: none; }
.web-nav .links .dropdown-menu { border: 1px solid var(--w-line); border-radius: .8rem; padding: .4rem; margin-top: .4rem; }
.web-nav .links .dropdown-item { border-radius: .5rem; padding: .5rem .7rem; font-size: .92rem; }
.web-nav .links .dropdown-item.active, .web-nav .links .dropdown-item:active { background: var(--w-forest); color: #fff; }
.web-nav .links .dropdown-toggle::after { vertical-align: .1em; }

/* ---------- hero split (hover to expand) ---------- */
.hero-split { position: relative; display: flex; height: min(100vh, 860px); min-height: 560px; overflow: hidden; background: #0b2e1c; }
.hero-panel { position: relative; flex: 1 1 50%; overflow: hidden; color: #fff; text-decoration: none; transition: flex-grow .6s cubic-bezier(.2, .7, .2, 1); cursor: pointer; }
.hero-panel .bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.02); transition: transform 1.2s ease, filter .5s; }
.hero-panel:hover { flex-grow: 1.55; }
.hero-panel:hover .bg { transform: scale(1.09); }
.hero-split:hover .hero-panel:not(:hover) .bg { filter: saturate(.7) brightness(.8); }
.hero-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4, 30, 15, .78) 0%, rgba(4, 30, 15, .1) 55%, transparent 100%); }
.hero-panel .cap { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 2rem 2rem 4.2rem; }
.hero-panel .cap h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); margin: 0 0 .3rem; text-shadow: 0 2px 14px rgba(0, 0, 0, .5); }
.hero-panel .cap p { margin: 0 0 1rem; max-width: 30ch; opacity: .95; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.hero-panel .cap .go { opacity: 0; transform: translateY(12px); transition: all .35s .05s; }
.hero-panel:hover .cap .go { opacity: 1; transform: none; }
.hero-tag { position: absolute; z-index: 3; bottom: 4.2rem; left: 50%; transform: translateX(-50%); background: rgba(255, 255, 255, .9); backdrop-filter: blur(6px); color: var(--w-forest); padding: .35rem 1rem; border-radius: 2rem; font-weight: 700; font-size: .85rem; box-shadow: 0 6px 20px rgba(0, 0, 0, .18); white-space: nowrap; }
.scroll-hint { position: absolute; z-index: 3; bottom: 1rem; left: 50%; transform: translateX(-50%); color: #fff; font-size: 1.6rem; animation: bob 1.8s infinite; text-decoration: none; }
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }
@media (max-width: 767.98px) { .hero-split { flex-direction: column; height: auto; } .hero-panel { min-height: 62vh; flex: none; } .hero-panel .cap .go { opacity: 1; transform: none; } .hero-tag { display: none; } .scroll-hint { display: none; } }

.page-hero { position: relative; min-height: 420px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #10331f; }
.page-hero .bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.04); }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 32, 18, .85), rgba(5, 32, 18, .15) 65%, rgba(5, 32, 18, .35)); }
.page-hero .wrap { position: relative; z-index: 2; padding-bottom: 2.4rem; padding-top: 110px; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); text-shadow: 0 3px 18px rgba(0, 0, 0, .5); margin: 0 0 .4rem; }
.page-hero p.lead { max-width: 52ch; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.pill { display: inline-flex; align-items: center; gap: .4rem; background: rgba(255, 255, 255, .18); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .3); border-radius: 2rem; padding: .25rem .8rem; font-size: .82rem; font-weight: 600; }

/* ---------- sections ---------- */
.section { padding: 4rem 0; }
.section.tint { background: linear-gradient(180deg, #f3ecda, var(--w-cream)); }
.section.mist { background: linear-gradient(180deg, var(--w-mist), var(--w-cream)); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 800; color: var(--w-leaf); }
.section h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; margin: .25rem 0 .7rem; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hero-panel, .hero-panel .bg { transition: none; } }

.stat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin-top: -3rem; position: relative; z-index: 5; }
.stat-tile { background: #fff; border-radius: 1.2rem; padding: 1.1rem 1.2rem; box-shadow: 0 14px 34px rgba(20, 60, 40, .12); border: 1px solid var(--w-line); text-align: center; }
.stat-tile .n { font-family: Georgia, serif; font-size: 2rem; font-weight: 700; color: var(--w-forest); line-height: 1.1; }
.stat-tile .l { font-size: .82rem; color: var(--w-muted); }

.photo-card { position: relative; border-radius: 1.3rem; overflow: hidden; display: block; color: #fff; text-decoration: none; min-height: 260px; box-shadow: 0 10px 30px rgba(20, 60, 40, .14); }
.photo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.photo-card:hover img { transform: scale(1.08); }
.photo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4, 30, 15, .85), transparent 60%); }
.photo-card .txt { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 1.1rem 1.2rem; }
.photo-card .txt h3 { font-size: 1.25rem; margin: 0 0 .15rem; }
.photo-card .txt p { margin: 0; font-size: .88rem; opacity: .92; }
.photo-card.tall { min-height: 380px; }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 110px; gap: .7rem; }
.gallery figure { margin: 0; border-radius: 1rem; overflow: hidden; position: relative; cursor: zoom-in; background: #ddd; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery figure:hover img { transform: scale(1.08); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; color: #fff; padding: .5rem .8rem; font-size: .8rem; font-weight: 600; background: linear-gradient(0deg, rgba(0, 0, 0, .6), transparent); opacity: 0; transition: opacity .3s; }
.gallery figure:hover figcaption { opacity: 1; }
.g-a { grid-column: span 5; grid-row: span 3; } .g-b { grid-column: span 4; grid-row: span 2; } .g-c { grid-column: span 3; grid-row: span 2; } .g-d { grid-column: span 4; grid-row: span 1; } .g-e { grid-column: span 3; grid-row: span 2; } .g-f { grid-column: span 4; grid-row: span 2; }
@media (max-width: 767.98px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; } .gallery figure { grid-column: span 1 !important; grid-row: span 1 !important; } .gallery .g-a { grid-column: span 2 !important; grid-row: span 2 !important; } }
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(5, 15, 10, .92); display: grid; place-items: center; padding: 1.5rem; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1100px, 100%); max-height: 82vh; border-radius: 1rem; box-shadow: 0 20px 80px rgba(0, 0, 0, .6); }
.lb-close { position: absolute; top: 1rem; right: 1rem; background: rgba(255, 255, 255, .15); color: #fff; border: 0; width: 44px; height: 44px; border-radius: 50%; font-size: 1.2rem; }
.lb-cap { color: #fff; text-align: center; margin-top: .7rem; }

.step-card { background: #fff; border: 1px solid var(--w-line); border-radius: 1.2rem; padding: 1.3rem; height: 100%; box-shadow: 0 8px 24px rgba(20, 60, 40, .06); }
.step-num { width: 42px; height: 42px; border-radius: 50%; background: var(--w-forest); color: #fff; display: grid; place-items: center; font-weight: 800; font-family: Georgia, serif; margin-bottom: .7rem; }
.accordion { --bs-accordion-bg: #fff; --bs-accordion-border-color: var(--w-line); --bs-accordion-active-bg: #f3ecda; --bs-accordion-active-color: var(--w-forest); --bs-accordion-btn-focus-box-shadow: none; }

/* ---------- price cards / tabs ---------- */
.seg { display: inline-flex; background: #fff; border: 1px solid var(--w-line); border-radius: 2.5rem; padding: .3rem; gap: .2rem; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; padding: .55rem 1.1rem; border-radius: 2rem; font-weight: 700; color: var(--w-muted); display: inline-flex; gap: .4rem; align-items: center; }
.seg button.active { background: var(--w-forest); color: #fff; }
.price-card { background: #fff; border: 1.5px solid var(--w-line); border-radius: 1.2rem; padding: 1.1rem 1.2rem; text-align: center; height: 100%; transition: transform .2s, box-shadow .2s, border-color .2s; }
.price-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(20, 60, 40, .12); border-color: var(--w-leaf); }
.price-card .who { font-weight: 700; }
.price-card .sub { color: var(--w-muted); font-size: .8rem; min-height: 2.2em; }
.price-card .amt { font-family: Georgia, serif; font-size: 2rem; font-weight: 700; color: var(--w-forest); }
.price-card .ico { font-size: 1.8rem; color: var(--w-leaf); }

/* ---------- checkout wizard ---------- */
.stepper { display: flex; gap: .5rem; margin: 1.2rem 0 1.4rem; }
.stepper .st { flex: 1; text-align: center; position: relative; font-size: .82rem; font-weight: 700; color: var(--w-muted); }
.stepper .st .dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto .3rem; background: #fff; border: 2px solid var(--w-line); transition: all .25s; }
.stepper .st.active { color: var(--w-forest); } .stepper .st.active .dot { border-color: var(--w-forest); background: var(--w-forest); color: #fff; box-shadow: 0 0 0 5px rgba(47, 125, 58, .18); }
.stepper .st.done .dot { background: var(--w-leaf); border-color: var(--w-leaf); color: #fff; }
.stepper .st::before { content: ""; position: absolute; top: 17px; left: -50%; width: 100%; height: 3px; background: var(--w-line); z-index: 0; }
.stepper .st:first-child::before { display: none; }
.stepper .st.done::before, .stepper .st.active::before { background: var(--w-leaf); }
.stepper .dot { position: relative; z-index: 1; }
.step-pane { display: none; animation: fadeUp .35s ease; }
.step-pane.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.tk { display: flex; align-items: center; gap: .9rem; background: #fff; border: 2px solid var(--w-line); border-radius: 1.1rem; padding: .75rem .9rem; transition: border-color .15s, box-shadow .15s, background .15s; }
.tk.on { border-color: var(--w-leaf); background: #f3faf3; box-shadow: 0 0 0 4px rgba(47, 125, 58, .13); }
.tk .ico { width: 48px; height: 48px; border-radius: .9rem; display: grid; place-items: center; font-size: 1.5rem; background: #eaf5ec; color: var(--w-forest); flex: none; }
.tk .nm { font-weight: 700; line-height: 1.2; } .tk .sub { font-size: .78rem; color: var(--w-muted); }
.tk .pr { font-family: Georgia, serif; font-weight: 700; color: var(--w-forest); }
.qty { display: inline-flex; align-items: center; gap: .15rem; margin-left: auto; }
.qty button { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid #cfd8d2; background: #fff; font-size: 1.25rem; font-weight: 700; line-height: 1; }
.qty button:hover { border-color: var(--w-leaf); background: #eaf5ec; }
.qty input { width: 46px; text-align: center; border: 0; background: transparent; font-weight: 800; font-size: 1.1rem; pointer-events: none; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { border: 1.5px solid var(--w-line); background: #fff; border-radius: 2rem; padding: .35rem .9rem; font-size: .85rem; font-weight: 700; color: var(--w-ink); }
.chip:hover, .chip.on { border-color: var(--w-forest); background: var(--w-forest); color: #fff; }
.summary { position: sticky; top: 86px; background: #fff; border: 1px solid var(--w-line); border-radius: 1.3rem; padding: 1.2rem; box-shadow: 0 14px 34px rgba(20, 60, 40, .1); }
.summary .total { font-family: Georgia, serif; font-size: 2.1rem; font-weight: 800; color: var(--w-forest); line-height: 1; }
.summary .line { display: flex; justify-content: space-between; gap: .5rem; font-size: .88rem; padding: .3rem 0; border-bottom: 1px dashed var(--w-line); }
.form-card { background: #fff; border: 1px solid var(--w-line); border-radius: 1.3rem; padding: 1.4rem; box-shadow: 0 8px 26px rgba(20, 60, 40, .06); }
.form-control, .form-select { border-radius: .8rem; border-color: #d9d2bf; padding: .6rem .85rem; }

/* ---------- e-ticket ---------- */
.eticket { display: flex; background: #fff; border-radius: 1.2rem; overflow: hidden; border: 1px solid var(--w-line); box-shadow: 0 10px 28px rgba(20, 60, 40, .1); position: relative; page-break-inside: avoid; }
.eticket .l { flex: 1; padding: 1.1rem 1.3rem; background: linear-gradient(135deg, #f3faf3, #fff); }
.eticket .l .tag { font-size: .7rem; letter-spacing: .12em; font-weight: 800; color: var(--w-leaf); text-transform: uppercase; }
.eticket .l .ti { font-family: Georgia, serif; font-size: 1.25rem; font-weight: 700; }
.eticket .r { width: 176px; padding: 1rem; text-align: center; border-left: 2px dashed #cfd8d2; position: relative; background: #fff; }
.eticket .r::before, .eticket .r::after { content: ""; position: absolute; left: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--w-cream); }
.eticket .r::before { top: -10px; } .eticket .r::after { bottom: -10px; }
.eticket .qrb { width: 128px; height: 128px; margin: 0 auto .3rem; } .eticket .qrb svg { width: 100%; height: 100%; }
.eticket .code { font-family: "Courier New", monospace; font-weight: 800; letter-spacing: .06em; font-size: .85rem; }
.eticket.used { filter: grayscale(1); opacity: .6; }
.eticket.used::after { content: "TELAH DIGUNAKAN"; position: absolute; top: 40%; left: 8%; transform: rotate(-8deg); font-weight: 900; font-size: 1.6rem; color: #b3261e; border: 4px solid #b3261e; padding: .1rem .7rem; border-radius: .5rem; }
@media (max-width: 575.98px) { .eticket { flex-direction: column; } .eticket .r { width: 100%; border-left: 0; border-top: 2px dashed #cfd8d2; } .eticket .r::before, .eticket .r::after { display: none; } }
@media print {
    .web-nav, .web-footer, .no-print, .offcanvas, .lightbox { display: none !important; }
    body.web { background: #fff; } .pt-nav { padding-top: 0; } .wrap { max-width: 100%; }
    .eticket { box-shadow: none; break-inside: avoid; }
}

/* ---------- misc ---------- */
.timeline { position: relative; padding-left: 1.6rem; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 3px; background: linear-gradient(var(--w-leaf), var(--w-teal)); border-radius: 3px; }
.timeline .tl { position: relative; margin-bottom: 1.1rem; }
.timeline .tl::before { content: ""; position: absolute; left: -1.6rem; top: .3rem; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 3px solid var(--w-teal); }
.notice { border-radius: 1rem; padding: 1rem 1.2rem; background: #fff8e6; border: 1px solid #f3dea3; }
.login-gate { text-align: center; padding: 2.5rem 1rem; }
.web-footer { background: #0f3320; color: #fff; padding: 2.6rem 0 1.6rem; margin-top: 4rem; }
.web-footer a { color: #cfe6d5; text-decoration: none; } .web-footer a:hover { color: #fff; text-decoration: underline; }
.web-footer .brand { color: #fff; display: flex; gap: .55rem; align-items: center; }
.tabs-soft .nav-link { border-radius: 2rem; font-weight: 700; color: var(--w-muted); }
.tabs-soft .nav-link.active { background: var(--w-forest); color: #fff; }
.kbd-hint { font-size: .75rem; color: var(--w-muted); }
.trip-card { background: #fff; border: 2px solid var(--w-line); border-radius: 1.1rem; padding: .9rem 1rem; }
.trip-card .bar { height: .5rem; background: #ece6d6; border-radius: 1rem; overflow: hidden; margin: .4rem 0; } .trip-card .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--w-leaf), var(--w-teal)); }

/* Georgia uses old-style numerals (0 looks like "o") — keep prices and figures lining */
.summary .total, .price-card .amt, .stat-tile .n, .tk .pr, #rvTotal, #cartTotal { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-variant-numeric: tabular-nums; }

.tk.special .pr::after { content: "harga khas"; margin-left: .4rem; font: 700 .65rem system-ui; color: #b45309; background: #fff3cd; border-radius: 1rem; padding: .1rem .45rem; vertical-align: middle; }

/* ---------- Bukit Larut: troli gaya POS ---------- */
.bl-prop { background: #fff; border: 2px solid var(--w-line); border-radius: 1.3rem; overflow: hidden; box-shadow: 0 8px 26px rgba(20, 60, 40, .07); transition: border-color .2s, box-shadow .2s; }
.bl-prop.active { border-color: var(--w-leaf); box-shadow: 0 0 0 4px rgba(47, 125, 58, .14); }
.bl-cover { position: relative; min-height: 230px; background: #cfe3d6 center/cover no-repeat; cursor: zoom-in; }
.bl-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 30, 15, .35), transparent 50%); }
.bl-tag { position: absolute; z-index: 2; right: .8rem; bottom: .8rem; background: rgba(255, 255, 255, .92); border-radius: 2rem; padding: .2rem .7rem; font-size: .75rem; font-weight: 700; color: var(--w-forest); }
.bl-body { padding: 1.1rem 1.2rem 1.3rem; }
.bl-thumbs { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .2rem; }
.bl-thumbs img { width: 76px; height: 56px; object-fit: cover; border-radius: .6rem; cursor: zoom-in; border: 2px solid transparent; flex: none; }
.bl-thumbs img:hover { border-color: var(--w-leaf); }
.whole-btn { border-radius: 1rem; text-align: center; line-height: 1.25; }
.whole-btn.active { background: var(--w-forest); color: #fff; border-color: var(--w-forest); }
.whole-btn:disabled { opacity: .45; }
.bl-rooms { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .8rem; }
.wtile { position: relative; background: #fff; border: 2px solid var(--w-line); border-radius: 1.1rem; padding: .6rem; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; user-select: none; }
.wtile.room:hover { transform: translateY(-2px); border-color: var(--w-leaf); }
.wtile.on { border-color: var(--w-leaf); background: #f3faf3; box-shadow: 0 0 0 4px rgba(47, 125, 58, .14); }
.wtile .ph { height: 110px; border-radius: .8rem; background: #e7f1ea center/cover no-repeat; display: grid; place-items: center; font-size: 2.2rem; color: var(--w-leaf); margin-bottom: .5rem; position: relative; cursor: zoom-in; }
.wtile .ph .more { position: absolute; right: .35rem; bottom: .35rem; background: rgba(0, 0, 0, .55); color: #fff; font-size: .68rem; border-radius: 1rem; padding: .05rem .5rem; }
.wtile .nm { font-weight: 700; line-height: 1.2; } .wtile .sub { font-size: .76rem; color: var(--w-muted); }
.wtile .pr { font-weight: 800; color: var(--w-forest); font-family: system-ui, sans-serif; }
.wtile .chk { position: absolute; top: .5rem; right: .5rem; z-index: 3; width: 26px; height: 26px; border-radius: 50%; background: var(--w-leaf); color: #fff; display: none; place-items: center; font-size: .9rem; }
.wtile.on .chk { display: grid; }
.wtile .busy { display: none; position: absolute; z-index: 3; top: .5rem; left: .5rem; background: #b3261e; color: #fff; font-size: .7rem; font-weight: 800; border-radius: 1rem; padding: .05rem .55rem; }
.wtile.isbusy { opacity: .5; cursor: not-allowed; filter: grayscale(.6); } .wtile.isbusy .busy { display: block; }
.wtile.row-tile { display: flex; align-items: center; gap: .8rem; cursor: default; padding: .7rem .9rem; }
.wtile.row-tile .ico { width: 46px; height: 46px; border-radius: .9rem; background: #eaf5ec; color: var(--w-forest); display: grid; place-items: center; font-size: 1.4rem; flex: none; overflow: hidden; }
.wtile.row-tile .ico img { width: 100%; height: 100%; object-fit: cover; }
.grow { flex: 1; min-width: 0; }
.slot { display: flex; align-items: center; gap: .6rem; background: #fff; border: 2px solid var(--w-line); border-radius: 1rem; padding: .7rem .9rem; cursor: pointer; height: 100%; }
.slot:has(input:checked) { border-color: var(--w-leaf); background: #f3faf3; box-shadow: 0 0 0 4px rgba(47, 125, 58, .14); }
.slot.full { opacity: .5; cursor: not-allowed; }
.summary .cl { display: flex; gap: .5rem; justify-content: space-between; padding: .45rem 0; border-bottom: 1px dashed var(--w-line); }
.gal { position: fixed; inset: 0; z-index: 2100; background: rgba(5, 15, 10, .93); display: grid; place-items: center; padding: 1.2rem; }
.gal[hidden] { display: none; }
.gal img { max-width: min(1100px, 92vw); max-height: 80vh; border-radius: 1rem; box-shadow: 0 20px 80px rgba(0, 0, 0, .6); }
.gal button { position: absolute; background: rgba(255, 255, 255, .16); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 50%; font-size: 1.2rem; }
.gal .gal-x { top: 1rem; right: 1rem; } .gal .gal-p { left: 1rem; top: 50%; } .gal .gal-n { right: 1rem; top: 50%; }
.gal-c { position: absolute; bottom: 1.2rem; left: 0; right: 0; text-align: center; color: #fff; }
@media (max-width: 575.98px) { .bl-rooms { grid-template-columns: repeat(2, 1fr); } .bl-cover { min-height: 180px; } }

/* ---------- dd/mm/yyyy popup date picker (replaces native <input type=date>) ---------- */
.wdp-group { width: 100%; }
.wdp-display { background: #fff; cursor: pointer; caret-color: transparent; }
.wdp-display:focus { box-shadow: 0 0 0 .2rem rgba(47, 125, 58, .18); border-color: var(--w-leaf); }
.wdp-btn { color: var(--w-muted); border-color: var(--bs-border-color); }
.wdp-btn:hover { color: var(--w-forest); background: #eaf5ec; }
.wdp-modal .modal-content { border-radius: 1.1rem; border: 0; box-shadow: 0 20px 60px rgba(20, 60, 40, .25); }
.wdp-modal .modal-header { border-bottom: 0; display: flex; align-items: center; gap: .4rem; }
.wdp-modal .wdp-title { flex: 1; text-align: center; font-weight: 800; font-family: Georgia, "Times New Roman", serif; color: var(--w-forest); }
.wdp-modal .wdp-nav { border-radius: 50%; width: 34px; height: 34px; padding: 0; display: inline-grid; place-items: center; }
.wdp-modal .modal-footer { border-top: 0; }
.wdp-dow, .wdp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.wdp-dow span { text-align: center; font-size: .72rem; font-weight: 800; color: var(--w-muted); padding: .3rem 0; }
.wdp-grid button { border: 0; background: transparent; padding: .5rem 0; border-radius: .6rem; font-size: .88rem; font-weight: 600; color: var(--w-ink); cursor: pointer; }
.wdp-grid button:hover:not(:disabled) { background: #eaf5ec; }
.wdp-grid button.today { box-shadow: inset 0 0 0 1.5px var(--w-leaf); }
.wdp-grid button.selected { background: var(--w-forest); color: #fff; font-weight: 800; }
.wdp-grid button:disabled { color: #ced4da; cursor: not-allowed; }
.wdp-grid .wdp-empty { visibility: hidden; }

/* ---------- mobile menu drawer (custom — Bootstrap's offcanvas defaults to 400px, wider than most
   phone screens, leaving no visible backdrop strip to tap-to-close) ---------- */
body.menu-open { overflow: hidden; }
.menu-burger { position: relative; width: 20px; height: 15px; display: inline-block; vertical-align: middle; }
.menu-burger span { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s ease, opacity .2s ease, top .25s ease; }
.menu-burger span:nth-child(1) { top: 0; }
.menu-burger span:nth-child(2) { top: 6.5px; }
.menu-burger span:nth-child(3) { top: 13px; }
[data-menu-toggle][aria-expanded="true"] .menu-burger span:nth-child(1) { top: 6.5px; transform: rotate(45deg); }
[data-menu-toggle][aria-expanded="true"] .menu-burger span:nth-child(2) { opacity: 0; }
[data-menu-toggle][aria-expanded="true"] .menu-burger span:nth-child(3) { top: 6.5px; transform: rotate(-45deg); }

.menu-backdrop { position: fixed; inset: 0; z-index: 1045; background: rgba(8, 22, 14, .55); opacity: 0; transition: opacity .3s ease; }
.menu-backdrop.show { opacity: 1; }

.mobile-menu { position: fixed; top: 0; right: 0; bottom: 0; z-index: 1050; width: min(86vw, 340px); background: var(--w-cream); box-shadow: -24px 0 60px rgba(10, 30, 20, .3); display: flex; flex-direction: column; transform: translateX(100%); visibility: hidden; transition: transform .35s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .35s; }
.mobile-menu.show { transform: translateX(0); visibility: visible; transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; padding: 1.15rem 1.25rem; border-bottom: 1px solid var(--w-line); flex: none; }
.mobile-menu-head h5 { font-family: Georgia, "Times New Roman", serif; color: var(--w-forest); }
.mobile-menu-body { padding: 1.1rem; display: grid; gap: .6rem; align-content: start; overflow-y: auto; }
.mobile-menu-body > * { opacity: 0; transform: translateX(16px); transition: opacity .3s ease, transform .3s ease; }
.mobile-menu.show .mobile-menu-body > * { opacity: 1; transform: none; }

/* ---------- floating "selesaikan bayaran" hold-timer (web/zoo-order, web/bl-order) ---------- */
.hold-bar { position: fixed; left: 50%; bottom: 1.1rem; transform: translateX(-50%); z-index: 1030; display: flex; align-items: center; gap: .5rem; background: rgba(29, 43, 36, .92); color: #fff; padding: .55rem 1.3rem; border-radius: 2rem; font-weight: 600; font-size: .92rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); backdrop-filter: blur(6px); white-space: nowrap; max-width: calc(100vw - 2rem); }
.hold-bar .val { font-variant-numeric: tabular-nums; font-weight: 800; color: var(--w-amber); }
.hold-bar.low .val { color: #ff6b6b; }
@media (max-width: 480px) { .hold-bar { font-size: .82rem; padding: .5rem 1rem; } }

/* ---------- floating chat widget (Admin > Chat Laman Web — WhatsApp / Telegram / Bot AI) ---------- */
.chat-widget { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 1035; }
.chat-fab { width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--w-forest); color: #fff; font-size: 1.5rem; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(20, 60, 40, .35); cursor: pointer; transition: transform .2s ease, background .2s ease; }
.chat-fab:hover { transform: translateY(-3px); background: var(--w-leaf); }
.chat-fab i { transition: transform .25s ease; }
.chat-fab.is-open i { transform: rotate(90deg); }

.chat-panel { position: absolute; right: 0; bottom: calc(100% + .75rem); width: min(92vw, 360px); max-height: min(70vh, 520px); background: var(--w-cream); border-radius: 1.1rem; box-shadow: 0 20px 60px rgba(10, 30, 20, .3); display: flex; flex-direction: column; overflow: hidden; opacity: 0; transform: translateY(12px) scale(.97); transform-origin: bottom right; transition: opacity .22s ease, transform .22s ease; }
.chat-panel.show { opacity: 1; transform: none; }
.chat-panel[hidden] { display: none; }
@media (max-width: 420px) { .chat-panel { width: calc(100vw - 1.6rem); right: -.2rem; } }

.chat-panel-head { background: var(--w-forest); color: #fff; padding: .85rem 1rem; display: flex; align-items: center; gap: .3rem; flex: none; }
.chat-panel-head .btn-back { background: none; border: 0; color: #fff; opacity: .85; padding: 0 .4rem 0 0; font-size: 1.1rem; line-height: 1; }
.chat-panel-head .btn-back[hidden] { display: none; }

.chat-picker { padding: .9rem; display: grid; gap: .6rem; overflow-y: auto; }
.chat-picker[hidden] { display: none; }
.chat-option { display: flex; align-items: center; gap: .7rem; text-align: left; background: #fff; border: 1.5px solid var(--w-line); border-radius: .9rem; padding: .7rem .8rem; text-decoration: none; color: var(--w-ink); cursor: pointer; transition: border-color .15s, transform .15s; width: 100%; }
.chat-option:hover { border-color: var(--w-leaf); transform: translateY(-1px); }
.chat-option .ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem; flex: none; color: #fff; }
.chat-option .ico.wa { background: #25d366; }
.chat-option .ico.tg { background: #229ed9; }
.chat-option .ico.ai { background: var(--w-forest); }

.chat-ai { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.chat-ai[hidden] { display: none; }
.chat-messages { flex: 1; overflow-y: auto; padding: .9rem; display: flex; flex-direction: column; gap: .5rem; }
.chat-msg { max-width: 85%; padding: .5rem .75rem; border-radius: .9rem; font-size: .88rem; line-height: 1.4; }
.chat-msg.bot { align-self: flex-start; background: #fff; border: 1px solid var(--w-line); border-bottom-left-radius: .25rem; }
.chat-msg.me { align-self: flex-end; background: var(--w-forest); color: #fff; border-bottom-right-radius: .25rem; }
.chat-typing { display: flex; gap: .25rem; padding: 0 .9rem .5rem; flex: none; }
.chat-typing[hidden] { display: none; }
.chat-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--w-muted); display: inline-block; animation: chatTyping 1s infinite ease-in-out; }
.chat-typing span:nth-child(2) { animation-delay: .15s; }
.chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes chatTyping { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.chat-input-row { display: flex; gap: .5rem; padding: .7rem; border-top: 1px solid var(--w-line); flex: none; }
.chat-input-row input { flex: 1; }

/* ---------- Peta Interaktif Zoo (web/maps-zoo — Leaflet 2D pan/zoom over the printed map image) ---------- */
.zoomap-shell { display: flex; gap: 1.25rem; align-items: flex-start; }
.zoomap-view { flex: 1 1 66%; min-width: 0; position: relative; border-radius: 1rem; overflow: hidden; box-shadow: 0 10px 30px rgba(20, 60, 40, .15); border: 1px solid var(--w-line); }
#zooMap { width: 100%; height: min(75vh, 720px); background: #dfe6da; }
.zoomap-hint { position: absolute; left: .75rem; bottom: .75rem; z-index: 500; background: rgba(255, 255, 255, .92); color: var(--w-ink); padding: .3rem .8rem; border-radius: 2rem; box-shadow: 0 2px 10px rgba(0, 0, 0, .15); pointer-events: none; }
.zoomap-legend { flex: 1 1 34%; max-width: 380px; align-self: stretch; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--w-line); border-radius: 1rem; padding: 1rem; }
.zoomap-search { display: flex; align-items: center; gap: .5rem; background: var(--w-cream); border: 1px solid var(--w-line); border-radius: 2rem; padding: .4rem .9rem; margin-bottom: .75rem; color: var(--w-muted); }
.zoomap-search input { border: 0; background: transparent; flex: 1; outline: none; color: var(--w-ink); }
.zoomap-list { overflow-y: auto; max-height: min(60vh, 620px); display: flex; flex-direction: column; gap: .3rem; }
.zoomap-item { display: flex; gap: .6rem; align-items: flex-start; text-align: left; border: 1px solid transparent; background: transparent; border-radius: .6rem; padding: .45rem .5rem; cursor: pointer; width: 100%; }
.zoomap-item:hover, .zoomap-item.active { background: var(--w-mist); border-color: var(--w-line); }
.zoomap-item .num { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--w-forest); color: #fff; font-weight: 800; font-size: .75rem; display: grid; place-items: center; }
.zoomap-item .txt { font-size: .85rem; line-height: 1.25; }
.leaflet-div-icon.zoo-pin { background: transparent; border: none; }
.zoo-pin-badge { width: 30px; height: 30px; border-radius: 50%; background: var(--w-forest); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .8rem; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .4); cursor: pointer; }
.zoo-pin-pop { font-size: .85rem; max-width: 220px; }
#zooMap3d { width: 100%; height: min(75vh, 720px); background: #dfe6da; }
#zooMap3d canvas { display: block; touch-action: none; }
.zoomap-3d-card { position: absolute; right: .75rem; top: .75rem; z-index: 500; background: #fff; border-radius: .8rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); padding: .8rem 2rem .8rem .9rem; max-width: 260px; font-size: .85rem; }
.zoomap-3d-card .btn-close { position: absolute; top: .5rem; right: .5rem; width: .6rem; height: .6rem; }
@media (max-width: 991.98px) {
    .zoomap-shell { flex-direction: column; }
    .zoomap-legend { max-width: none; width: 100%; }
    #zooMap, #zooMap3d { height: 60vh; }
}
