New home page
{ "@context": "https://schema.org", "@type": "LodgingBusiness", "name": "Manaar Stays", "description": "Quiet architectural homestay and private rooms in Patan & Jawalakhel, Lalitpur. Only 2 rooms per floor for personal space, orthopedic beds, fast Wi-Fi, and 24/7 hot shower.", "url": "https://manaarstays.com", "telephone": "+977-9765131653", "priceRange": "NPR 4000 - NPR 5000", "checkinTime": "13:00", "checkoutTime": "11:00", "address": { "@type": "PostalAddress", "streetAddress": "Shanti Chok Marg, Ward No. 4", "addressLocality": "Lalitpur", "addressRegion": "Bagmati Province", "postalCode": "44600", "addressCountry": "NP" }, "geo": { "@type": "GeoCoordinates", "latitude": "27.6744", "longitude": "85.3155" } }
LIVE CALENDAR SYNC · CHECK-IN 1:00 PM

Private Homestay & Rooms in Patan, Lalitpur

A calm 4-room residence on Shanti Chok Marg—only 2 rooms per floor for genuine personal space, minutes from Patan Durbar Square and Jawalakhel cafes.

Select a room to browse photos & live open dates:
Private Room at Manaar Stays Patan 1 / 7
FIRST FLOOR

Room 1 — First Floor Sanctuary

Up to 2 Guests · Orthopedic Queen Bed · Fast Wi-Fi

NPR 4,500 / night
REAL-TIME AVAILABILITY

Room 1 — First Floor Sanctuary

December 2026
Available Booked Your Stay
CHECK-IN Select date
CHECK-OUT Select date
TOTAL (0 NIGHTS) NPR 0
WhatsApp

Tap your check-in date, then tap your check-out date on the calendar.

Manaar Stays Main House in Patan, Lalitpur SHANTI CHOWK MARG · WARD 4, PATAN

4 Quiet Rooms Across 2 Private Floors

Unlike crowded hotels, Manaar Stays hosts just 2 rooms on the First Floor and 2 rooms on the Second Floor. Click any photo arrow or dot below to inspect every angle of each room.

Clean Common Bathroom with 24/7 Hot Water Shower at Manaar Stays Patan 24/7 HOT WATER SHOWER
UN众CROWDED LIVING · HONEST PROPERTY DETAILS

Personal Space & Clean Hot-Shower Facilities

With only two rooms per floor, the house remains quiet, airy, and uncrowded—feeling like a private residence rather than a busy guesthouse.

  • First Floor Bathroom: Clean, modern common bathroom equipped with a 24/7 hot-water geyser shower, located on the first floor (just 10 easy steps down from the second-floor rooms).
  • Second Floor Upgrade in Progress: A dedicated second-floor bathroom is currently under construction so each floor will soon have its own exclusive bathroom (quiet daytime work hours only).
  • House Standards: Indoor shoe-free hygiene, fresh hotel-grade white linens, fast fiber Wi-Fi, and balcony-only smoking.
DIRECT RESERVATION · ZERO PLATFORM FEES

Reserve Your Room & Pay via Fonepay QR

Fill out the short reservation form, scan the Fonepay QR to pay your stay total, and submit. You will receive confirmation as soon as we verify your payment.

Scan Fonepay QR to Pay Manaar Stays
FONEPAY ONLY · DIRECT MERCHANT

Scan & Pay with Any Nepali Bank / eSewa / Khalti

Account: MANAAR STAYS (Shyam Kumar Bhandari)

1. Select room & dates → 2. Scan Fonepay QR for the exact total → 3. Submit form to notify host immediately.

1:00 PMCheck-in
11:00 AMCheck-out
2 RoomsPer Floor Max
24/7Hot Water & Wi-Fi
Select room and dates to see total
NPR 0
#msb-landing-app { --msb-bg: #FAF8F5; --msb-surface: #FFFFFF; --msb-ink: #080808; --msb-muted: #57534E; --msb-border: #E5DFD6; --msb-accent: #D71920; --msb-accent-dark: #B01218; --msb-avail: #15803D; --msb-avail-bg: #ECFDF3; --msb-booked: #B91C1C; --msb-booked-bg: #FEF2F2; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif; color: var(--msb-ink); background: var(--msb-bg); line-height: 1.5; -webkit-font-smoothing: antialiased; } #msb-landing-app *, #msb-landing-app *::before, #msb-landing-app *::after { box-sizing: border-box; } .msb-container { max-width: 1220px; margin: 0 auto; padding: 0 20px; } /* TOP BAR */ .msb-topbar { position: sticky; top: 0; z-index: 40; background: rgba(250, 248, 245, 0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--msb-border); } .msb-topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; } .msb-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--msb-ink); } .msb-brand-title { display: block; font-weight: 800; letter-spacing: 0.14em; font-size: 14px; } .msb-brand-sub { display: block; font-size: 10px; letter-spacing: 0.12em; color: var(--msb-muted); } .msb-nav { display: flex; align-items: center; gap: 20px; } .msb-nav a { text-decoration: none; color: var(--msb-ink); font-size: 13px; font-weight: 600; } .msb-nav-call { padding: 8px 14px; border: 1px solid var(--msb-ink); border-radius: 999px; } /* HERO SECTION */ .msb-hero { padding: 34px 0 54px; border-bottom: 1px solid var(--msb-border); } .msb-hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: stretch; } .msb-hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; color: var(--msb-accent); margin-bottom: 8px; } .msb-pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--msb-avail); box-shadow: 0 0 0 4px rgba(21, 128, 61, 0.18); } .msb-hero-title { font-family: Georgia, "Times New Roman", serif; font-size: clamp(28px, 3.5vw, 42px); font-weight: 400; line-height: 1.15; margin: 0 0 10px; color: var(--msb-ink); } .msb-hero-title em { font-style: italic; color: var(--msb-accent); } .msb-hero-lead { margin: 0 0 16px; font-size: 14px; color: var(--msb-muted); } /* ROOM AVAILABILITY PILLS */ .msb-today-strip { margin-bottom: 14px; } .msb-strip-label { font-size: 12px; color: var(--msb-muted); margin-bottom: 7px; } .msb-room-tags { display: flex; flex-wrap: wrap; gap: 8px; } .msb-room-tag { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--msb-border); background: var(--msb-surface); color: var(--msb-ink); font-size: 12px; font-weight: 600; cursor: pointer; transition: all 0.2s ease; } .msb-room-tag.active { background: var(--msb-ink); color: #FFFFFF; border-color: var(--msb-ink); } .msb-tag-status { font-size: 10px; padding: 2px 7px; border-radius: 999px; font-weight: 700; } .msb-tag-status.is-avail { background: var(--msb-avail-bg); color: var(--msb-avail); } .msb-tag-status.is-booked { background: var(--msb-booked-bg); color: var(--msb-booked); } /* HERO CLICKABLE PHOTO SLIDER */ .msb-hero-stage { position: relative; border-radius: 18px; overflow: hidden; height: 350px; background: #141414; box-shadow: 0 18px 40px rgba(8, 8, 8, 0.1); } .msb-hero-img { width: 100%; height: 100%; object-fit: cover; display: block; } .msb-slide-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: 36px; height: 36px; border-radius: 50%; border: none; background: rgba(8, 8, 8, 0.72); color: #FFFFFF; font-size: 15px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s ease; } .msb-slide-btn:hover { background: var(--msb-accent); } .msb-slide-btn.prev { left: 12px; } .msb-slide-btn.next { right: 12px; } .msb-photo-counter { position: absolute; top: 12px; right: 12px; z-index: 4; background: rgba(8, 8, 8, 0.75); color: #FFFFFF; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; } .msb-hero-stage-overlay { position: absolute; inset: auto 0 0 0; padding: 20px; background: linear-gradient(to top, rgba(8, 8, 8, 0.9), rgba(8, 8, 8, 0.12)); color: #FFFFFF; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; pointer-events: none; } .msb-floor-pill { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.12em; padding: 3px 9px; border-radius: 999px; background: var(--msb-accent); color: #FFFFFF; margin-bottom: 5px; } .msb-stage-title { margin: 0; font-size: 19px; font-weight: 600; color: #FFFFFF; } .msb-stage-meta { margin: 3px 0 0; font-size: 12px; color: rgba(255, 255, 255, 0.85); } .msb-stage-price { text-align: right; white-space: nowrap; } .msb-stage-price strong { display: block; font-size: 19px; } .msb-stage-price span { font-size: 11px; opacity: 0.85; } /* HERO THUMBNAIL STRIP */ .msb-hero-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; } .msb-thumb-item { width: 64px; height: 46px; border-radius: 8px; object-fit: cover; cursor: pointer; border: 2px solid transparent; opacity: 0.65; flex-shrink: 0; transition: all 0.15s ease; } .msb-thumb-item.active, .msb-thumb-item:hover { opacity: 1; border-color: var(--msb-accent); } /* HERO FAST CALENDAR CARD */ .msb-hero-booking-card { background: var(--msb-surface); border: 1px solid var(--msb-border); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 14px 34px rgba(8, 8, 8, 0.05); } .msb-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 12px; } .msb-kicker { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.12em; color: var(--msb-accent); } .msb-card-head h3 { margin: 3px 0 0; font-size: 16px; font-weight: 700; } .msb-cal-nav { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; } .msb-cal-nav button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--msb-border); background: var(--msb-bg); cursor: pointer; font-weight: 700; } .msb-legend { display: flex; gap: 14px; font-size: 11px; color: var(--msb-muted); margin-bottom: 10px; } .msb-legend .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 4px; } .msb-legend .dot.avail { background: var(--msb-avail); } .msb-legend .dot.booked { background: var(--msb-booked); } .msb-legend .dot.selected { background: var(--msb-accent); } /* CALENDAR GRID */ .msb-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; text-align: center; } .msb-cal-dow { font-size: 11px; font-weight: 700; color: var(--msb-muted); padding: 4px 0; } .msb-cal-day { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; border-radius: 10px; font-size: 12px; font-weight: 600; border: 1px solid transparent; cursor: pointer; user-select: none; } .msb-cal-day.empty { cursor: default; } .msb-cal-day.past { color: #B8B2A8; cursor: not-allowed; } .msb-cal-day.avail { background: var(--msb-avail-bg); color: var(--msb-avail); border-color: rgba(21, 128, 61, 0.2); } .msb-cal-day.avail:hover { border-color: var(--msb-accent); } .msb-cal-day.booked { background: var(--msb-booked-bg); color: var(--msb-booked); text-decoration: line-through; cursor: not-allowed; opacity: 0.78; } .msb-cal-day.selected, .msb-cal-day.in-range { background: var(--msb-accent) !important; color: #FFFFFF !important; border-color: var(--msb-accent) !important; text-decoration: none; } /* FAST SUMMARY BOX */ .msb-fast-summary { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--msb-border); } .msb-date-boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; } .msb-date-box { background: var(--msb-bg); padding: 8px 10px; border-radius: 10px; border: 1px solid var(--msb-border); } .msb-date-box small { display: block; font-size: 9px; font-weight: 700; letter-spacing: 0.08em; color: var(--msb-muted); } .msb-date-box strong { font-size: 13px; } .msb-accent-text { color: var(--msb-accent); } .msb-fast-actions { display: flex; gap: 8px; } .msb-btn-primary { flex: 1; background: var(--msb-accent); color: #FFFFFF; border: none; border-radius: 10px; padding: 12px 16px; font-size: 13px; font-weight: 700; cursor: pointer; transition: background 0.2s ease; } .msb-btn-primary:hover { background: var(--msb-accent-dark); } .msb-btn-outline { display: inline-flex; align-items: center; justify-content: center; padding: 11px 15px; border: 1px solid var(--msb-ink); border-radius: 10px; color: var(--msb-ink); background: transparent; text-decoration: none; font-size: 13px; font-weight: 600; cursor: pointer; } .msb-btn-full { width: 100%; } .msb-hint { margin: 8px 0 0; font-size: 11px; color: var(--msb-muted); } /* 2. CIRCULAR HOUSE CARD + ARCHITECTURAL THREAD TIMELINE */ .msb-timeline-section { padding: 60px 0 36px; } .msb-house-anchor { text-align: center; max-width: 680px; margin: 0 auto; } .msb-circle-frame { position: relative; width: 240px; height: 240px; margin: 0 auto 22px; border-radius: 50%; padding: 8px; background: var(--msb-surface); border: 2px solid var(--msb-accent); box-shadow: 0 20px 45px rgba(8, 8, 8, 0.12); } .msb-circle-frame img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; } .msb-circle-badge { position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); background: var(--msb-ink); color: #FFFFFF; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; padding: 5px 12px; border-radius: 999px; white-space: nowrap; } .msb-anchor-title { font-family: Georgia, "Times New Roman", serif; font-size: 32px; font-weight: 400; margin: 10px 0 8px; } .msb-anchor-sub { color: var(--msb-muted); font-size: 14px; margin: 0 auto; } .msb-thread-stem { width: 2px; height: 50px; margin: 20px auto 0; background: linear-gradient(to bottom, var(--msb-accent), var(--msb-ink)); } /* FLOOR THREAD BLOCKS */ .msb-floors-wrapper { position: relative; padding-bottom: 16px; } .msb-floors-wrapper::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--msb-border); transform: translateX(-50%); z-index: 0; } .msb-floor-group { position: relative; z-index: 1; margin-bottom: 52px; } .msb-floor-node { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 24px; } .msb-node-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--msb-accent); border: 4px solid var(--msb-bg); box-shadow: 0 0 0 2px var(--msb-accent); margin-bottom: 10px; } .msb-floor-heading { background: var(--msb-bg); padding: 6px 22px; border: 1px solid var(--msb-border); border-radius: 999px; font-family: Georgia, "Times New Roman", serif; font-size: 24px; margin: 0; } .msb-floor-note { background: var(--msb-bg); font-size: 12px; color: var(--msb-muted); margin: 6px 0 0; padding: 2px 12px; } .msb-floor-rooms-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; } .msb-room-card { background: var(--msb-surface); border: 1px solid var(--msb-border); border-radius: 18px; overflow: hidden; box-shadow: 0 12px 30px rgba(8, 8, 8, 0.05); display: flex; flex-direction: column; } .msb-room-card-media { position: relative; height: 260px; background: #141414; } .msb-room-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; } .msb-room-card-status { position: absolute; top: 12px; left: 12px; padding: 5px 11px; border-radius: 999px; font-size: 11px; font-weight: 700; } .msb-room-card-price { position: absolute; bottom: 12px; right: 12px; background: rgba(8, 8, 8, 0.88); color: #FFFFFF; padding: 6px 12px; border-radius: 10px; font-size: 13px; font-weight: 700; } .msb-card-thumbs { display: flex; gap: 6px; padding: 10px 20px 0; overflow-x: auto; } .msb-card-thumbs img { width: 52px; height: 38px; border-radius: 6px; object-fit: cover; cursor: pointer; border: 2px solid transparent; opacity: 0.65; flex-shrink: 0; } .msb-card-thumbs img.active, .msb-card-thumbs img:hover { opacity: 1; border-color: var(--msb-accent); } .msb-room-card-body { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 13px; flex: 1; } .msb-room-card-body h4 { margin: 0; font-size: 19px; } .msb-room-card-body p { margin: 4px 0 0; font-size: 13px; color: var(--msb-muted); } .msb-amenities-chips { display: flex; flex-wrap: wrap; gap: 6px; } .msb-amenities-chips span { font-size: 11px; padding: 4px 9px; border-radius: 6px; background: var(--msb-bg); border: 1px solid var(--msb-border); } .msb-mini-cal-wrap { background: var(--msb-bg); border: 1px solid var(--msb-border); border-radius: 12px; padding: 12px; } .msb-mini-cal-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 700; margin-bottom: 8px; } .msb-card-footer { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px solid var(--msb-border); } .msb-card-calc { font-size: 12px; color: var(--msb-muted); } .msb-card-calc strong { display: block; font-size: 15px; color: var(--msb-ink); } /* 3. BATHROOM & PRIVACY SECTION */ .msb-bathroom-section { padding: 52px 0; border-top: 1px solid var(--msb-border); background: var(--msb-surface); } .msb-bathroom-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 32px; align-items: center; } .msb-bathroom-media { position: relative; border-radius: 18px; overflow: hidden; height: 320px; box-shadow: 0 16px 36px rgba(8, 8, 8, 0.08); } .msb-bathroom-media img { width: 100%; height: 100%; object-fit: cover; display: block; } .msb-bath-badge { position: absolute; bottom: 14px; left: 14px; background: var(--msb-ink); color: #FFFFFF; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; padding: 6px 12px; border-radius: 999px; } .msb-bathroom-info h2 { font-family: Georgia, "Times New Roman", serif; font-size: 30px; font-weight: 400; margin: 8px 0 12px; } .msb-bathroom-info p { font-size: 14px; color: var(--msb-muted); margin: 0 0 14px; } .msb-bath-list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; } /* 4. CHECKOUT / FONEPAY QR SECTION */ .msb-checkout-section { padding: 56px 0 72px; border-top: 1px solid var(--msb-border); background: var(--msb-bg); } .msb-checkout-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 32px; align-items: start; } .msb-checkout-info h2 { font-family: Georgia, "Times New Roman", serif; font-size: 32px; font-weight: 400; margin: 8px 0 12px; } .msb-checkout-info > p { color: var(--msb-muted); font-size: 14px; } .msb-qr-card { display: flex; align-items: center; gap: 18px; background: var(--msb-surface); border: 2px solid var(--msb-ink); border-radius: 16px; padding: 16px; margin: 20px 0; } .msb-qr-box { width: 140px; height: 140px; flex-shrink: 0; border: 1px solid var(--msb-border); border-radius: 10px; padding: 6px; background: #FFFFFF; } .msb-qr-box img { width: 100%; height: 100%; object-fit: contain; display: block; } .msb-qr-pill { display: inline-block; background: var(--msb-accent); color: #FFFFFF; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; padding: 3px 8px; border-radius: 6px; } .msb-qr-details h3 { margin: 6px 0 4px; font-size: 15px; } .msb-qr-details p { margin: 2px 0; font-size: 12.5px; } .msb-qr-note { color: var(--msb-muted); font-size: 11.5px !important; margin-top: 6px !important; } .msb-perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; } .msb-perks div { padding: 10px; border: 1px solid var(--msb-border); border-radius: 12px; background: var(--msb-surface); text-align: center; } .msb-perks strong { display: block; font-size: 15px; color: var(--msb-accent); } .msb-perks span { font-size: 11px; color: var(--msb-muted); } .msb-form-card { background: var(--msb-surface); border: 1px solid var(--msb-border); border-radius: 18px; padding: 24px; box-shadow: 0 14px 34px rgba(8, 8, 8, 0.05); } .msb-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; } .msb-form-row-single { grid-template-columns: 1fr; } .msb-form-row label { display: flex; flex-direction: column; gap: 5px; font-size: 12px; font-weight: 600; } .msb-form-row input, .msb-form-row select { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--msb-border); background: var(--msb-bg); font-size: 14px; color: var(--msb-ink); } .msb-price-bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: var(--msb-bg); border: 1px solid var(--msb-border); border-radius: 12px; margin-bottom: 14px; } .msb-price-bar span { font-size: 13px; color: var(--msb-muted); } .msb-price-bar strong { font-size: 20px; color: var(--msb-accent); } .msb-feedback { margin-top: 12px; font-size: 13px; font-weight: 600; } @media (max-width: 920px) { .msb-hero-grid, .msb-floor-rooms-grid, .msb-bathroom-grid, .msb-checkout-grid { grid-template-columns: 1fr; } .msb-floors-wrapper::before { left: 20px; } .msb-floor-node { align-items: flex-start; padding-left: 12px; text-align: left; } } @media (max-width: 580px) { .msb-nav a:not(.msb-nav-call) { display: none; } .msb-date-boxes, .msb-form-row { grid-template-columns: 1fr; } .msb-qr-card { flex-direction: column; text-align: center; } .msb-perks { grid-template-columns: repeat(2, 1fr); } } (function () { // Helper to convert Google Drive share links into fast direct image URLs const gdriveImg = (id) => `https://drive.google.com/thumbnail?id=${id}&sz=w1200`; const MSB_CONFIG = { ajaxUrl: (window.MSB_PUBLIC && window.MSB_PUBLIC.ajax_url) || "/wp-admin/admin-ajax.php", whatsapp: "9779765131653", currency: "NPR", // Replace with your uploaded WordPress Media Library URL for your Fonepay QR fonepayQrUrl: "https://api.qrserver.com/v1/create-qr-code/?size=240x240&data=fonepay://manaarstays-9765131653", rooms: [ { id: 1, floor: "First Floor Rooms (Only 2 Rooms on Floor)", floorShort: "FIRST FLOOR · ROOM 1", floorNote: "Steps from the 1st-floor common hot-water shower · Peaceful, uncrowded layout", name: "Room 1 — First Floor Sanctuary", price: 4500, maxGuests: 2, images: [ gdriveImg("1SjLQXa2QMzNAKqC8xZaXYSUPDG9SxSPo"), gdriveImg("1JMmjsVSjQB8FkuW7mW4cjP1kfNNT5lCN"), gdriveImg("1qfbfrgvSiYh1plltJ3ry4IHFiVd1Atnp"), gdriveImg("1ucwYLM7I_AzQrqrhJDs2ea-fg3nfN65_"), gdriveImg("1pz-TOL3CXI31on9_InTudGZrMapgxTDj"), gdriveImg("1OadnNkTic29ZhX13w1NZEHag5ek72Jj_"), gdriveImg("1o0X8UAIF328W-ak_eZHoD8aG3_swwDCq") ], desc: "Sunlit first-floor private room with orthopedic queen mattress, dedicated study desk, warm lighting, and easy access to the first-floor hot-water shower.", amenities: ["Queen Orthopedic Bed", "Study Desk", "High-Speed Wi-Fi", "1st Floor Hot Shower"] }, { id: 2, floor: "First Floor Rooms (Only 2 Rooms on Floor)", floorShort: "FIRST FLOOR · ROOM 2", floorNote: "Steps from the 1st-floor common hot-water shower · Peaceful, uncrowded layout", name: "Room 2 — First Floor Classic", price: 4500, maxGuests: 2, images: [ gdriveImg("1GblPpgtSjwI4wrOcKLX14npRX6dm4vwM"), gdriveImg("1QBoCAS2lV_ruZh5jG7vLPZK4-NPi7kXb") ], desc: "Quiet, airy first-floor room designed for personal privacy with crisp white hotel linens, wardrobe storage, and fast fiber Wi-Fi.", amenities: ["Queen Bed", "High-Speed Wi-Fi", "24/7 Hot Water", "Private Floor Feel"] }, { id: 3, floor: "Second Floor Rooms (Only 2 Rooms on Floor)", floorShort: "SECOND FLOOR · ROOM 3", floorNote: "Uses 1st-floor hot-water shower (10 steps down) while 2nd-floor bathroom is being completed", name: "Room 3 — Second Floor Loft", price: 4200, maxGuests: 2, images: [ gdriveImg("16LpRHyztkKNKE2IcCP-Rcfs6J9NtMxK7"), gdriveImg("1kAvCEFCKFbdatBP2CetUG1xGRwiZK7QD"), gdriveImg("1EW7l18O9T6cnhCJxqsZ6YLUkg7kOuuy0"), gdriveImg("1ut-euoAPzOwEwfHKUHwNMx4_PwlyMapz"), gdriveImg("1KArWt1J_VgNykwIOqbPJUKF3HjewTCSd") ], desc: "Bright second-floor retreat with natural daylight, minimalist wood accents, and access to the first-floor hot-water bathroom just 10 steps down.", amenities: ["Queen Bed", "High-Speed Wi-Fi", "Natural Light", "10 Steps to Hot Shower"] }, { id: 4, floor: "Second Floor Rooms (Only 2 Rooms on Floor)", floorShort: "SECOND FLOOR · ROOM 4", floorNote: "Uses 1st-floor hot-water shower (10 steps down) while 2nd-floor bathroom is being completed", name: "Room 4 — Second Floor Retreat", price: 4200, maxGuests: 2, images: [ gdriveImg("1uS8nH3_Y6ix4UeCT08_8Ay7BK1txxiUb"), gdriveImg("1JoFOuNetgSZc3KhGJkbWgFODqPmfC5Bl"), gdriveImg("1r9eUaUyqILM2MzmPbXO4pwkn0Sqfc0op") ], desc: "Calm, uncrowded second-floor room ideal for solo travelers or couples seeking quiet residential comfort in Patan.", amenities: ["Queen Bed", "High-Speed Wi-Fi", "Quiet Residential", "10 Steps to Hot Shower"] } ] }; if (MSB_CONFIG.fonepayQrUrl) { document.getElementById("msb-fonepay-qr-img").src = MSB_CONFIG.fonepayQrUrl; } const today = new Date(); today.setHours(0, 0, 0, 0); const fmtDate = (d) => { const y = d.getFullYear(); const m = String(d.getMonth() + 1).padStart(2, "0"); const day = String(d.getDate()).padStart(2, "0"); return `${y}-${m}-${day}`; }; const todayStr = fmtDate(today); const tomorrow = new Date(today); tomorrow.setDate(tomorrow.getDate() + 1); const tomorrowStr = fmtDate(tomorrow); const state = { activeRoomId: 1, slideIndex: { 1: 0, 2: 0, 3: 0, 4: 0 }, viewYear: today.getFullYear(), viewMonth: today.getMonth(), checkIn: "", checkOut: "", blockedRanges: [] }; function isNightBooked(roomId, dateStr) { return state.blockedRanges.some( (b) => Number(b.room_id) === Number(roomId) && dateStr >= b.check_in && dateStr < b.check_out ); } function isRangeFree(roomId, inStr, outStr) { if (!inStr || !outStr || outStr Number(b.room_id) === Number(roomId) && b.check_in inStr ); } function calcNights(inStr, outStr) { if (!inStr || !outStr || outStr r.id === Number(roomId)); if (!room) return; const len = room.images.length; const cur = state.slideIndex[room.id] || 0; state.slideIndex[room.id] = (cur + delta + len) % len; renderAll(); } function setRoomPhoto(roomId, idx) { state.slideIndex[Number(roomId)] = Number(idx); renderAll(); } async function loadLiveAvailability() { try { const res = await fetch(`${MSB_CONFIG.ajaxUrl}?action=msb_get_availability`); const json = await res.json(); if (json && json.success && Array.isArray(json.data.blocked)) { state.blockedRanges = json.data.blocked; if (json.data.synced_at) { document.getElementById("msb-sync-badge").textContent = `LIVE AIRBNB SYNC (${json.data.synced_at}) · CHECK-IN 1:00 PM`; } } } catch (e) {} renderAll(); } function handleDatePick(roomId, dateStr) { if (dateStr < todayStr || isNightBooked(roomId, dateStr)) return; state.activeRoomId = Number(roomId); if (!state.checkIn || (state.checkIn && state.checkOut) || dateStr { const el = document.createElement("div"); el.className = "msb-cal-dow"; el.textContent = d; frag.appendChild(el); }); const firstDay = new Date(year, month, 1).getDay(); const daysInMonth = new Date(year, month + 1, 0).getDate(); for (let i = 0; i < firstDay; i++) { const empty = document.createElement("div"); empty.className = "msb-cal-day empty"; frag.appendChild(empty); } for (let day = 1; day <= daysInMonth; day++) { const dStr = fmtDate(new Date(year, month, day)); const cell = document.createElement("div"); cell.className = "msb-cal-day"; cell.textContent = day; const isActiveRoom = Number(roomId) === Number(state.activeRoomId); if (dStr handleDatePick(roomId, dStr)); } if (isActiveRoom && state.checkIn) { if (dStr === state.checkIn || dStr === state.checkOut) { cell.classList.add("selected"); } else if (state.checkOut && dStr > state.checkIn && dStr r.id === state.activeRoomId) || MSB_CONFIG.rooms[0]; const photoIdx = state.slideIndex[activeRoom.id] || 0; // Room Pills const tagsWrap = document.getElementById("msb-hero-room-tags"); tagsWrap.innerHTML = ""; MSB_CONFIG.rooms.forEach((room) => { const availToday = !isNightBooked(room.id, todayStr); const btn = document.createElement("button"); btn.type = "button"; btn.className = "msb-room-tag" + (room.id === activeRoom.id ? " active" : ""); btn.innerHTML = ` ${room.name.split("—")[0].trim()} ${availToday ? "Available Today" : "Booked Tonight"} `; btn.addEventListener("click", () => { state.activeRoomId = room.id; syncFormInputs(); renderAll(); }); tagsWrap.appendChild(btn); }); // Hero Slider Photo & Counter document.getElementById("msb-hero-img").src = activeRoom.images[photoIdx]; document.getElementById("msb-hero-photo-count").textContent = `${photoIdx + 1} / ${activeRoom.images.length}`; document.getElementById("msb-hero-floor-badge").textContent = activeRoom.floorShort; document.getElementById("msb-hero-room-name").textContent = activeRoom.name; document.getElementById("msb-hero-room-meta").textContent = `Up to ${activeRoom.maxGuests} Persons · ${activeRoom.amenities.slice(0, 3).join(" · ")}`; document.getElementById("msb-hero-room-price").textContent = formatMoney(activeRoom.price); // Hero Thumbnail Strip const thumbsWrap = document.getElementById("msb-hero-thumbs"); thumbsWrap.innerHTML = ""; activeRoom.images.forEach((src, i) => { const img = document.createElement("img"); img.src = src; img.alt = `${activeRoom.name} photo ${i + 1}`; img.className = "msb-thumb-item" + (i === photoIdx ? " active" : ""); img.addEventListener("click", () => setRoomPhoto(activeRoom.id, i)); thumbsWrap.appendChild(img); }); // Hero Calendar document.getElementById("msb-cal-room-heading").textContent = activeRoom.name; document.getElementById("msb-hero-month-label").textContent = new Date( state.viewYear, state.viewMonth, 1 ).toLocaleString("en-US", { month: "long", year: "numeric" }); const heroCal = document.getElementById("msb-hero-calendar"); heroCal.innerHTML = ""; heroCal.appendChild(buildCalendarCells(activeRoom.id, state.viewYear, state.viewMonth)); // Summary const nights = calcNights(state.checkIn, state.checkOut); const total = nights * activeRoom.price; document.getElementById("msb-disp-checkin").textContent = state.checkIn || "Select date"; document.getElementById("msb-disp-checkout").textContent = state.checkOut || "Select date"; document.getElementById("msb-disp-nights").textContent = nights; document.getElementById("msb-disp-total").textContent = formatMoney(total); const waMsg = encodeURIComponent( `Namaste Manaar Stays! I'd like to book ${activeRoom.name}` + (state.checkIn ? ` from ${state.checkIn}` : "") + (state.checkOut ? ` to ${state.checkOut} (${nights} nights, ${formatMoney(total)})` : "") ); document.getElementById("msb-hero-wa-btn").href = `https://wa.me/${MSB_CONFIG.whatsapp}?text=${waMsg}`; } function renderFloors() { const container = document.getElementById("msb-floors-container"); container.innerHTML = ""; const floors = [...new Set(MSB_CONFIG.rooms.map((r) => r.floor))]; const monthLabel = new Date(state.viewYear, state.viewMonth, 1).toLocaleString("en-US", { month: "short", year: "numeric" }); floors.forEach((floorTitle) => { const floorRooms = MSB_CONFIG.rooms.filter((r) => r.floor === floorTitle); const group = document.createElement("div"); group.className = "msb-floor-group"; group.innerHTML = `

${floorTitle}

${floorRooms[0].floorNote}

`; const grid = group.querySelector(".msb-floor-rooms-grid"); floorRooms.forEach((room) => { const availToday = !isNightBooked(room.id, todayStr); const photoIdx = state.slideIndex[room.id] || 0; const isSelectedRoom = room.id === state.activeRoomId; const nights = isSelectedRoom ? calcNights(state.checkIn, state.checkOut) : 0; const total = nights * room.price; const card = document.createElement("article"); card.className = "msb-room-card"; card.innerHTML = `
${room.name} - Photo ${photoIdx + 1} ${photoIdx + 1} / ${room.images.length} ${availToday ? "Available Today" : "Booked Tonight"} ${formatMoney(room.price)} / night
${room.images.map((src, i) => `Thumbnail ${i + 1}`).join("")}

${room.name}

${room.desc}

${room.amenities.map((a) => `${a}`).join("")}
Live Availability (${monthLabel}) Tap green dates
`; card.querySelector(`[data-prev="${room.id}"]`).addEventListener("click", () => stepRoomPhoto(room.id, -1)); card.querySelector(`[data-next="${room.id}"]`).addEventListener("click", () => stepRoomPhoto(room.id, 1)); card.querySelectorAll("[data-thumb]").forEach((t) => { t.addEventListener("click", () => { const [rId, idx] = t.getAttribute("data-thumb").split(":"); setRoomPhoto(rId, idx); }); }); card.querySelector(`[data-mini-cal="${room.id}"]`).appendChild( buildCalendarCells(room.id, state.viewYear, state.viewMonth) ); card.querySelector(`[data-book-room="${room.id}"]`).addEventListener("click", () => { state.activeRoomId = room.id; syncFormInputs(); renderAll(); document.getElementById("msb-quick-book").scrollIntoView({ behavior: "smooth" }); }); grid.appendChild(card); }); container.appendChild(group); }); } function syncFormInputs() { const roomSelect = document.getElementById("msb-form-room"); if (roomSelect.options.length === 0) { MSB_CONFIG.rooms.forEach((r) => { const opt = document.createElement("option"); opt.value = r.id; opt.textContent = `${r.name} (${formatMoney(r.price)}/night)`; roomSelect.appendChild(opt); }); } roomSelect.value = String(state.activeRoomId); const inInput = document.getElementById("msb-form-checkin"); const outInput = document.getElementById("msb-form-checkout"); inInput.min = todayStr; outInput.min = state.checkIn || tomorrowStr; if (state.checkIn) inInput.value = state.checkIn; if (state.checkOut) outInput.value = state.checkOut; const room = MSB_CONFIG.rooms.find((r) => r.id === Number(roomSelect.value)) || MSB_CONFIG.rooms[0]; const nights = calcNights(inInput.value, outInput.value); const total = nights * room.price; document.getElementById("msb-form-breakdown").textContent = nights > 0 ? `${room.name} · ${nights} night(s) × ${formatMoney(room.price)}` : `${room.name} · Select check-in & check-out dates`; document.getElementById("msb-form-total").textContent = formatMoney(total); } function renderAll() { renderHero(); renderFloors(); syncFormInputs(); } // Hero Slider & Month Navigation document.getElementById("msb-hero-prev-img").addEventListener("click", () => stepRoomPhoto(state.activeRoomId, -1)); document.getElementById("msb-hero-next-img").addEventListener("click", () => stepRoomPhoto(state.activeRoomId, 1)); document.getElementById("msb-hero-prev-month").addEventListener("click", () => { state.viewMonth -= 1; if (state.viewMonth { state.viewMonth += 1; if (state.viewMonth > 11) { state.viewMonth = 0; state.viewYear += 1; } renderAll(); }); document.getElementById("msb-hero-fast-book-btn").addEventListener("click", () => { syncFormInputs(); document.getElementById("msb-quick-book").scrollIntoView({ behavior: "smooth" }); document.getElementById("msb-form-name").focus(); }); ["msb-form-room", "msb-form-checkin", "msb-form-checkout"].forEach((id) => { document.getElementById(id).addEventListener("change", () => { state.activeRoomId = Number(document.getElementById("msb-form-room").value); state.checkIn = document.getElementById("msb-form-checkin").value; state.checkOut = document.getElementById("msb-form-checkout").value; renderAll(); }); }); document.getElementById("msb-direct-form").addEventListener("submit", async (e) => { e.preventDefault(); const feedback = document.getElementById("msb-form-feedback"); const btn = document.getElementById("msb-form-submit"); const roomId = Number(document.getElementById("msb-form-room").value); const inVal = document.getElementById("msb-form-checkin").value; const outVal = document.getElementById("msb-form-checkout").value; if (!isRangeFree(roomId, inVal, outVal)) { feedback.style.color = "#B91C1C"; feedback.textContent = "Those dates overlap an existing booking. Please choose green available dates."; return; } btn.disabled = true; btn.textContent = "Submitting Reservation..."; feedback.textContent = ""; const fd = new FormData(e.target); fd.append("action", "msb_submit_booking"); try { const res = await fetch(MSB_CONFIG.ajaxUrl, { method: "POST", body: fd }); const json = await res.json(); if (json && json.success) { const b = json.data.booking; feedback.style.color = "#15803D"; feedback.innerHTML = `Reservation #${b.booking_code} received for ${b.room_name} (${b.check_in} to ${b.check_out}, ${b.currency} ${b.total_amount}). We have emailed your details and will confirm your dates as soon as Fonepay payment is verified.`; e.target.reset(); state.checkIn = ""; state.checkOut = ""; loadLiveAvailability(); } else { feedback.style.color = "#B91C1C"; feedback.textContent = (json && json.data && json.data.message) || "Please check your dates and try again."; } } catch (err) { feedback.style.color = "#B91C1C"; feedback.textContent = "Network error while submitting booking. Please message us on WhatsApp (+977 9765131653)."; } finally { btn.disabled = false; btn.textContent = "I Have Scanned Fonepay QR — Submit Booking →"; } }); renderAll(); loadLiveAvailability(); })();