/* ===== Kerala Routes — mobile app design system ===== */
:root{
  --green:#194d33;         /* primary deep green */
  --green-dark:#123a26;
  --green-mid:#2f6b47;     /* price badge */
  --gold:#f2c14e;          /* script accent */
  --ink:#1a1a1a;
  --muted:#7a8079;
  --line:#eceef0;
  --bg:#eef1f0;
  --card:#ffffff;
  --radius:18px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:'Poppins',Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  background:var(--bg);
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
}
/* Phone frame */
.app{
  max-width:460px;
  margin:0 auto;
  min-height:100vh;
  background:var(--card);
  position:relative;
  box-shadow:0 0 40px rgba(0,0,0,.12);
  padding-bottom:78px; /* room for bottom nav */
}
.script{font-family:'Dancing Script',cursive;color:var(--gold);font-weight:600}
.muted{color:var(--muted)}
i[data-lucide]{width:20px;height:20px;stroke-width:1.8}

/* Saved / favourited heart — red + filled, persisted via localStorage */
.icon-btn.faved,.heart.faved{color:#e23b4e}
.faved svg{fill:currentColor}
.heart,.icon-btn{transition:color .15s,transform .1s}
.heart:active,.icon-btn:active{transform:scale(.9)}

/* Toast (share link copied, etc.) */
.kr-toast{position:fixed;left:50%;bottom:90px;transform:translate(-50%,10px);background:#1a1a1a;color:#fff;padding:11px 20px;border-radius:999px;font-size:.85rem;font-weight:500;opacity:0;transition:opacity .25s,transform .25s;z-index:300;pointer-events:none;max-width:90%;box-shadow:0 6px 20px rgba(0,0,0,.25)}
.kr-toast.show{opacity:1;transform:translate(-50%,0)}

/* ===== Header ===== */
.app-header{padding:22px 20px 6px;display:flex;justify-content:space-between;align-items:flex-start}
.app-header h1{margin:0;font-size:1.9rem;font-weight:700;letter-spacing:-.5px}
.app-header .script{font-size:1.5rem;display:block;margin-top:-4px}
.avatar{width:42px;height:42px;border-radius:50%;background:#f0f2f1;display:flex;align-items:center;justify-content:center;color:var(--green);flex:0 0 auto}

/* ===== Search ===== */
.search-row{display:flex;gap:10px;padding:10px 20px 4px}
.search{flex:1;display:flex;align-items:center;gap:8px;background:#f4f6f5;border:1px solid #e7eae9;border-radius:14px;padding:12px 14px;color:var(--muted)}
.search input{border:none;background:transparent;outline:none;flex:1;font-family:inherit;font-size:.95rem;color:var(--ink)}
.filter-btn{width:48px;height:48px;border-radius:14px;background:#fff;border:1px solid #e7eae9;display:flex;align-items:center;justify-content:center;color:var(--green);cursor:pointer}

/* ===== Category chips ===== */
.cats{display:flex;gap:6px;overflow-x:auto;padding:16px 20px 8px;scrollbar-width:none}
.cats::-webkit-scrollbar{display:none}
.cat{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;gap:6px;width:60px;color:var(--muted);cursor:pointer}
.cat .ic{width:52px;height:52px;border-radius:16px;background:#f4f6f5;display:flex;align-items:center;justify-content:center;color:#3a4a40}
.cat.active .ic{background:var(--green);color:#fff}
.cat.active{color:var(--green);font-weight:600}
.cat span{font-size:.72rem}

/* ===== Section head ===== */
.section-head{display:flex;justify-content:space-between;align-items:center;padding:14px 20px 6px}
.section-head h2{margin:0;font-size:1.15rem;font-weight:700}
.section-head a{color:var(--green);text-decoration:none;font-size:.85rem;font-weight:600;display:flex;align-items:center;gap:2px}

/* ===== Package card (listing) ===== */
.deck{padding:6px 20px 10px;display:flex;flex-direction:column;gap:18px}
.card{border-radius:var(--radius);overflow:hidden;box-shadow:0 6px 20px rgba(0,0,0,.10);background:var(--card);text-decoration:none;color:inherit;display:block}
.card .photo{position:relative;height:210px;background-size:cover;background-position:center}
.card .photo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.35) 0%,rgba(0,0,0,0) 30%,rgba(0,0,0,0) 45%,rgba(0,0,0,.78) 100%)}
.badge-date{position:absolute;top:14px;left:14px;z-index:2;background:rgba(20,30,24,.7);color:#fff;font-size:.72rem;font-weight:600;letter-spacing:.5px;padding:6px 10px;border-radius:8px}
.heart{position:absolute;top:12px;right:12px;z-index:2;width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.92);display:flex;align-items:center;justify-content:center;color:#e23b4e;border:none;cursor:pointer}
.card .overlay{position:absolute;left:16px;right:16px;bottom:35px;z-index:2;color:#fff}
.dur{font-family:'Poppins',sans-serif;color:var(--green);font-size:0.85rem;font-weight:700;background:rgba(255,255,255,0.9);padding:4px 8px;border-radius:6px;display:inline-block;margin-bottom:8px}
.coming-soon{background:rgba(226,59,78,0.9);color:#fff;border-radius:6px;font-size:.9rem;display:inline-block;margin-left:4px}
.card .overlay h3{margin:0;font-size:1.55rem;font-weight:700;line-height:1.05}
.card .overlay .sub{font-family:'Dancing Script',cursive;color:var(--gold);font-size:1.35rem;font-weight:700;margin-top:-2px}
.card .overlay .tags{color:var(--gold);font-family:'Dancing Script',cursive;font-size:1.25rem;font-weight:700}
.loc{display:flex;align-items:center;gap:4px;font-size:.86rem;margin-top:6px;opacity:.95}
.loc i[data-lucide]{width:15px;height:15px}
.price-badge{position:absolute;right:16px;bottom:18px;z-index:3;background:var(--green-mid);color:#fff;border-radius:12px;padding:8px 14px;text-align:center;box-shadow:0 4px 12px rgba(0,0,0,.3)}
.price-badge b{font-size:1.25rem;display:block;line-height:1}
.price-badge small{font-size:.66rem;opacity:.9}
/* includes strip */
.includes{display:flex;justify-content:space-between;padding:12px 16px;border-top:1px solid var(--line)}
.includes div{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:.72rem;color:#41504a;flex:1}
.includes i[data-lucide]{width:18px;height:18px;color:var(--green)}

/* ===== Bottom nav ===== */
.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:460px;background:#fff;border-top:1px solid var(--line);display:flex;justify-content:space-around;padding:10px 6px calc(10px + env(safe-area-inset-bottom));z-index:40}
.bottom-nav a{display:flex;flex-direction:column;align-items:center;gap:3px;color:var(--muted);text-decoration:none;font-size:.68rem}
.bottom-nav a.active{color:var(--green);font-weight:600}

/* ================= DETAIL PAGE ================= */
.detail-hero{position:relative;height:360px;background-size:cover;background-position:center}
.detail-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.30) 0%,rgba(0,0,0,0) 35%,rgba(0,0,0,.72) 100%)}
.hero-top{position:absolute;top:16px;left:16px;right:16px;z-index:3;display:flex;justify-content:space-between}
.hero-top .right{display:flex;gap:10px}
.icon-btn{width:42px;height:42px;border-radius:50%;background:rgba(255,255,255,.92);display:flex;align-items:center;justify-content:center;color:#213028;border:none;cursor:pointer;text-decoration:none}
.hero-caption{position:absolute;left:20px;bottom:50px;z-index:3;color:#fff}
.hero-caption .badge-date{position:static;display:inline-block;margin-bottom:10px}
.hero-caption h1{margin:0;font-size:2.1rem;font-weight:700;line-height:1}
.hero-caption .script{font-size:1.9rem;display:block;margin-top:2px}

/* sheet overlaps hero */
.sheet{position:relative;margin-top:-22px;background:#fff;border-radius:24px 24px 0 0;padding:22px 20px 0;z-index:5}

.info-row{display:flex;justify-content:space-between;text-align:center;padding-bottom:18px}
.info-row .cell{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px}
.info-row .cell i[data-lucide]{color:var(--green);width:22px;height:22px}
.info-row .cell b{font-size:.9rem}
.info-row .cell small{font-size:.72rem;color:var(--muted)}

.loc-pill{display:flex;align-items:center;gap:8px;background:#f4f6f5;border-radius:12px;padding:12px 14px;color:#33403a;font-size:.92rem;margin-bottom:18px}
.loc-pill i[data-lucide]{color:var(--green);width:18px;height:18px}

.block{border-top:1px solid var(--line);padding:18px 0}
.block h2{margin:0 0 14px;font-size:1.12rem;font-weight:700}

.highlights{display:flex;gap:16px;overflow-x:auto;scrollbar-width:none}
.highlights::-webkit-scrollbar{display:none}
.hl{flex:0 0 auto;width:64px;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;color:#41504a;font-size:.72rem}
.hl .ic{width:56px;height:56px;border-radius:16px;background:#f1f5f2;display:flex;align-items:center;justify-content:center;color:var(--green)}

.about p{margin:0;color:#4a544e;line-height:1.6;font-size:.94rem}
.read-more{margin-top:10px;background:none;border:none;color:var(--green);font-weight:600;display:flex;align-items:center;gap:4px;cursor:pointer;font-family:inherit;font-size:.9rem;padding:0}
.about .more{display:none}
.about.open .more{display:inline}

/* what's-included list (bulleted inclusions with optional sub-note) */
.incl-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:11px}
.incl-list li{display:flex;gap:10px;align-items:flex-start;font-size:.92rem;color:#41504a;line-height:1.45}
.incl-list i[data-lucide]{width:18px;height:18px;color:var(--green);flex:0 0 auto;margin-top:2px}
.incl-list small{display:block;color:var(--muted);font-size:.78rem;margin-top:1px}

/* pill grid — menu dishes, resort activities */
.pill-grid{display:flex;flex-wrap:wrap;gap:8px}
.pill-grid .pill{display:flex;align-items:center;gap:7px;background:#f1f5f2;border-radius:999px;padding:8px 14px;font-size:.85rem;color:#33403a}
.pill-grid i[data-lucide]{width:15px;height:15px;color:var(--green)}
.block .sub-note{margin:-8px 0 12px;font-size:.82rem;color:var(--muted)}

/* good-to-know notes */
.notes{display:flex;flex-direction:column;gap:12px}
.note{display:flex;gap:10px;align-items:flex-start;font-size:.86rem;color:#5a635d;line-height:1.5}
.note i[data-lucide]{width:17px;height:17px;color:var(--green);flex:0 0 auto;margin-top:2px}

/* itinerary timeline */
.timeline{position:relative}
.tl-item{display:flex;gap:14px;padding-bottom:20px;position:relative}
.tl-item:last-child{padding-bottom:0}
.tl-dot{flex:0 0 auto;width:48px;height:48px;border-radius:50%;background:var(--green);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:.62rem;line-height:1;z-index:2}
.tl-dot b{font-size:.9rem}
/* clock-time dots for single-day itineraries (7:30 / AM) */
.tl-dot.time b{font-size:.72rem}
.tl-dot.time span{font-size:.58rem;opacity:.85}
.tl-item:not(:last-child)::before{content:"";position:absolute;left:23px;top:48px;bottom:0;width:2px;background:var(--line)}
.tl-body .route{font-weight:700;display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:1rem}
.tl-body .route i[data-lucide]{width:16px;height:16px;color:var(--green)}
.tl-body p{margin:6px 0 0;color:#5a635d;font-size:.9rem;line-height:1.5}

/* sticky book bar */
.book-bar{position:sticky;bottom:0;background:#fff;border-top:1px solid var(--line);padding:14px 20px calc(14px + env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:space-between;gap:14px;z-index:20}
.book-bar .price small{display:block;font-size:.72rem;color:var(--muted)}
.book-bar .price b{font-size:1.5rem}
.book-bar .price .allin{font-size:.72rem;color:var(--muted)}
.book-now{background:var(--green);color:#fff;border:none;border-radius:14px;padding:15px 30px;font-size:1rem;font-weight:600;cursor:pointer;font-family:inherit}
.secure{display:flex;align-items:center;justify-content:center;gap:6px;color:var(--muted);font-size:.76rem;padding:8px 0 0}
.secure i[data-lucide]{width:15px;height:15px}

/* trust badges */
.trust{display:flex;justify-content:space-between;gap:8px;padding:16px 20px 24px;text-align:center}
.trust div{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;font-size:.72rem;color:#5a635d}
.trust i[data-lucide]{color:var(--green);width:20px;height:20px}

/* ===== Booking sheet (customer details) ===== */
.sheet-overlay{position:fixed;inset:0;z-index:100;background:rgba(0,0,0,.45);display:none}
.sheet-overlay.open{display:block}
.sheet-panel{position:absolute;left:50%;transform:translateX(-50%);bottom:0;width:100%;max-width:460px;background:#fff;border-radius:22px 22px 0 0;max-height:94vh;overflow-y:auto;padding:0 20px 26px;animation:slideUp .28s ease}
@keyframes slideUp{from{transform:translate(-50%,100%)}to{transform:translate(-50%,0)}}
.sheet-head{position:sticky;top:0;background:#fff;display:flex;align-items:center;gap:12px;padding:18px 0 14px;border-bottom:1px solid var(--line);z-index:2}
.sheet-head h2{margin:0;font-size:1.2rem;font-weight:700}
.sheet-head .close-x{margin-left:auto;background:#f4f6f5;border:none;width:38px;height:38px;border-radius:50%;color:#333;cursor:pointer;display:flex;align-items:center;justify-content:center}
.sheet-trip{display:flex;gap:6px;align-items:center;color:var(--muted);font-size:.86rem;margin-top:14px}
.sheet-trip i[data-lucide]{width:15px;height:15px;color:var(--green)}
.field{display:flex;flex-direction:column;gap:6px;margin-top:16px}
.field label{font-size:.85rem;font-weight:600;color:#41504a}
.field input{padding:14px;border:1px solid #e0e4e2;border-radius:12px;font-family:inherit;font-size:1rem;outline:none}
.field input:focus{border-color:var(--green)}
.stepper{display:flex;align-items:center;border:1px solid #e0e4e2;border-radius:12px;overflow:hidden;width:fit-content}
.stepper button{background:#f4f6f5;color:var(--green);border:none;width:50px;height:50px;font-size:1.4rem;cursor:pointer;line-height:1}
.stepper input{border:none;width:70px;text-align:center;font-size:1.15rem;font-weight:600;padding:0}
.summary-row{display:flex;justify-content:space-between;align-items:center;margin-top:22px;padding:16px;background:#f1f5f2;border-radius:14px}
.summary-row small{color:var(--muted);font-size:.78rem}
.summary-row .t{text-align:right}
.summary-row .t b{font-size:1.4rem;color:var(--green)}
.confirm-btn{width:100%;margin-top:20px;background:var(--green);color:#fff;border:none;border-radius:14px;padding:16px;font-size:1.05rem;font-weight:600;cursor:pointer;font-family:inherit}
.confirm-btn:disabled{opacity:.6;cursor:default}
.form-status{margin-top:12px;font-size:.9rem;text-align:center;min-height:20px}
.form-status.error{color:#b00020}
/* success step */
.success-wrap{text-align:center;padding:34px 6px 10px}
.success-badge{width:78px;height:78px;border-radius:50%;background:#e8f5ec;color:var(--green);display:flex;align-items:center;justify-content:center;margin:0 auto 16px}
.success-badge i[data-lucide]{width:42px;height:42px}
.success-wrap h2{margin:0 0 6px;font-size:1.35rem}
.success-wrap .bid{font-size:.85rem;color:var(--muted)}
.wa-btn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;margin-top:24px;background:#25D366;color:#fff;border:none;border-radius:14px;padding:16px;font-size:1.05rem;font-weight:600;cursor:pointer;font-family:inherit;text-decoration:none}
.wa-btn i[data-lucide]{width:24px;height:24px}
.success-note{font-size:.84rem;color:var(--muted);margin-top:16px;line-height:1.55}
