/* Nofeshly — design system */
:root {
  --ink: #0b1b33;
  --ink-2: #33415c;
  --muted: #6b778c;
  --line: #e6e9f0;
  --bg: #f6f7fb;
  --card: #ffffff;
  --brand: #ff4f64;
  --brand-2: #ff7a59;
  --brand-ink: #ffffff;
  --navy: #0b1b33;
  --navy-2: #13294b;
  --good: #0f9d6b;
  --good-bg: #e7f7f0;
  --gold: #ffb020;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(11, 27, 51, .06), 0 2px 8px rgba(11, 27, 51, .05);
  --shadow: 0 10px 30px -10px rgba(11, 27, 51, .18), 0 4px 10px -4px rgba(11, 27, 51, .08);
  --shadow-lg: 0 30px 60px -20px rgba(11, 27, 51, .35);
  --font: 'Inter', 'Assistant', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
.dir-rtl { --font: 'Assistant', 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 800; }
h2, .h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 800; }
h3, .h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: rgba(255, 255, 255, .88); max-width: 640px; }
.sec { padding: 56px 20px; }
.sec-head { margin-bottom: 22px; }
.sec-head p { margin: 0; }
.link { color: var(--brand); font-weight: 600; }
.hp { position: absolute; left: -9999px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; border: 1px solid var(--line); background: #fff; color: var(--ink);
  padding: 12px 20px; border-radius: 12px; font: 700 .98rem var(--font); cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); color: var(--ink); }
.btn.primary { background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: var(--brand-ink); border: 0; box-shadow: 0 8px 20px -8px rgba(255, 79, 100, .7); }
.btn.primary:hover { color: #fff; box-shadow: 0 12px 26px -8px rgba(255, 79, 100, .8); }
.btn.big { width: 100%; padding: 16px; font-size: 1.08rem; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.btn[aria-busy="true"]::after { content: ''; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Header */
.demo-bar { background: #fff4d6; color: #7a5300; text-align: center; font-size: .85rem; padding: 6px 12px; font-weight: 600; }
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid rgba(11, 27, 51, .06); }
.top-in { display: flex; align-items: center; gap: 28px; height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-mark { flex: none; }
.logo.small { font-size: 1.15rem; }
.nav { display: flex; gap: 6px; flex: 1; }
.nav a { padding: 8px 14px; border-radius: 999px; font-weight: 600; color: var(--ink-2); font-size: .96rem; }
.nav a:hover { background: #f1f3f8; color: var(--ink); }
.nav a.on { background: var(--ink); color: #fff; }
.prefs { display: flex; gap: 8px; }
.pick { position: relative; }
.pick summary { list-style: none; cursor: pointer; padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: .9rem; border: 1px solid var(--line); background: #fff; }
.pick summary::-webkit-details-marker { display: none; }
.pick-menu { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 8px; min-width: 170px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px; z-index: 60; border: 1px solid var(--line); }
.pick-menu a { padding: 8px 10px; border-radius: 8px; font-size: .9rem; }
.pick-menu a:hover, .pick-menu a.on { background: #f1f3f8; color: var(--ink); }
.pick-menu a.on { font-weight: 700; }

/* Hero */
.hero { position: relative; color: #fff; padding: 84px 0 64px; overflow: visible; isolation: isolate; }
.hero.small { padding: 60px 0 48px; background: linear-gradient(135deg, var(--navy), var(--navy-2)); }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--navy); }
/* Cinematic hero: slow Ken Burns zoom, cross-fading destinations (added by app.js), layered colour grade. */
.hero-bg::before, .hero-slide { content: ''; position: absolute; inset: -2%; background: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=2000&q=65') center 60% / cover no-repeat;
  animation: kenburns 14s ease-out both; will-change: transform; }
.hero-slide { opacity: 0; transition: opacity 1.8s ease; animation: none; }
.hero-slide.on { opacity: 1; animation: kenburns 9s ease-out both; }
.hero-bg::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(60% 70% at 88% 0%, rgba(255, 122, 89, .28), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(46, 196, 182, .22), transparent 65%),
    linear-gradient(180deg, rgba(6, 16, 34, .62) 0%, rgba(6, 16, 34, .28) 42%, rgba(6, 16, 34, .80) 100%); }
@keyframes kenburns { from { transform: scale(1.12) translate3d(1%, 1%, 0); } to { transform: scale(1) translate3d(0, 0, 0); } }
.hero-place { position: absolute; bottom: 18px; inset-inline-end: 24px; z-index: 3; display: flex; align-items: center; gap: 10px; color: #fff;
  font-size: .85rem; font-weight: 700; letter-spacing: .02em; text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }
.hero-place span { transition: opacity .6s; }
.hero-dots { display: flex; gap: 6px; }
.hero-dots i { width: 22px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .35); overflow: hidden; position: relative; }
.hero-dots i.on::after { content: ''; position: absolute; inset: 0; background: #fff; transform-origin: inline-start; animation: heroprog 6s linear both; }
@keyframes heroprog { from { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .hero-bg::before, .hero-slide.on { animation: none; } .hero-dots i.on::after { animation: none; } }
@media (max-width: 640px) { .hero-place { bottom: 12px; inset-inline-end: 14px; font-size: .78rem; } }
.hero-in { position: relative; }
.kicker { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25);
  font-size: .82rem; font-weight: 700; letter-spacing: .04em; margin-bottom: 18px; backdrop-filter: blur(6px); }
.hero h1 { max-width: 820px; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.stats { list-style: none; display: flex; flex-wrap: wrap; gap: 34px; padding: 0; margin: 30px 0 0; }
.stats li { display: flex; flex-direction: column; }
.stats b { font-size: 1.5rem; font-weight: 800; }
.stats span { opacity: .8; font-size: .9rem; }

/* Search form */
.search { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1.3fr auto; gap: 6px; align-items: stretch; background: #fff; color: var(--ink);
  padding: 8px; border-radius: 20px; box-shadow: var(--shadow-lg); margin-top: 28px; position: relative; }
.search .f { display: flex; flex-direction: column; justify-content: center; padding: 8px 14px; border-radius: 14px; position: relative; min-width: 0; }
.search .f:hover, .search .f:focus-within { background: #f5f6fa; }
.search .f + .f::before { content: ''; position: absolute; inset-inline-start: -3px; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.search .f:hover::before, .search .f:focus-within::before, .search .f:hover + .f::before, .search .f:focus-within + .f::before { opacity: 0; }
.f > span, .guests summary > span { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.search input, .search select { border: 0; background: transparent; font: 600 1rem var(--font); color: var(--ink); padding: 4px 0; outline: none; width: 100%; min-width: 0; }
.search > .btn { border-radius: 14px; padding: 0 30px; font-size: 1.05rem; }
.search.compact { margin-top: 0; box-shadow: var(--shadow); }
.guests { cursor: pointer; }
.guests summary { list-style: none; display: flex; flex-direction: column; }
.guests summary::-webkit-details-marker { display: none; }
.guests summary b { font-weight: 600; padding: 4px 0; white-space: nowrap; }
.guest-box { position: absolute; top: calc(100% + 10px); inset-inline-start: 0; background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 16px; z-index: 40;
  display: grid; gap: 12px; min-width: 260px; border: 1px solid var(--line); cursor: default; }
.guest-box label { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; }
.guest-box select { width: auto; border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; background: #fff; }
.ages { display: grid; gap: 10px; }
.suggest { position: absolute; top: calc(100% + 10px); inset-inline-start: 0; width: min(440px, 92vw); background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 6px; z-index: 45; border: 1px solid var(--line); }
.suggest button { display: flex; width: 100%; gap: 12px; align-items: center; text-align: start; border: 0; background: none; padding: 10px 12px; border-radius: 10px; cursor: pointer; font: inherit; color: var(--ink); }
.suggest button:hover, .suggest button.on { background: #f3f4f8; }
.suggest small { color: var(--muted); display: block; }
.suggest .pin { width: 34px; height: 34px; border-radius: 10px; background: #fff0f2; display: grid; place-items: center; flex: none; }

/* Why strip */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.why-item { display: flex; gap: 14px; align-items: flex-start; background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.why-item > span { font-size: 1.6rem; width: 48px; height: 48px; display: grid; place-items: center; background: #fff3ef; border-radius: 14px; flex: none; }
.why-item p { margin: 2px 0 0; font-size: .92rem; }

/* Grids & cards */
.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); overflow: hidden; }
.pad { padding: 22px; }
.dest { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; grid-auto-flow: dense; }
.dest-tile { position: relative; border-radius: var(--radius); overflow: hidden; color: #fff; box-shadow: var(--shadow-sm); background: var(--navy-2); }
.dest-tile:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.dest-tile:nth-child(8) { grid-column: span 2; }
.dest-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.dest-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(5, 15, 30, .78)); }
.dest-tile span { position: absolute; bottom: 14px; inset-inline-start: 16px; z-index: 1; font-weight: 800; font-size: 1.3rem; letter-spacing: -.01em; }
.dest-tile:hover img { transform: scale(1.06); }
.dest-tile:hover { color: #fff; }
.extra { padding: 22px; display: flex; flex-direction: column; gap: 4px; transition: transform .2s, box-shadow .2s; }
.extra:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.extra-ico { font-size: 1.6rem; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, #fff3ef, #ffe8ec); margin-bottom: 8px; }
.extra p { flex: 1; font-size: .93rem; }
.post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card h3 a:hover, .post-card:hover h3 { color: var(--brand); }

/* Results */
.band { background: linear-gradient(135deg, var(--navy), var(--navy-2)); padding: 22px 0; }
.results { display: grid; grid-template-columns: 250px 1fr; gap: 28px; padding-top: 30px; padding-bottom: 60px; }
.filters { position: sticky; top: 90px; align-self: start; background: #fff; border-radius: var(--radius); padding: 20px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.filter-group b { width: 100%; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.chip { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: .88rem; font-weight: 600; background: #fff; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.hotel-row { display: grid; grid-template-columns: 280px 1fr 200px; margin-bottom: 18px; transition: box-shadow .2s, transform .2s; }
.hotel-row:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.hr-img img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; }
.hr-body { padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.hr-body h2 { margin: 0; }
.hr-price { padding: 18px 20px; border-inline-start: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-end; gap: 6px; text-align: end; }
.price { font-size: 1.55rem; font-weight: 800; letter-spacing: -.02em; }
.stars { color: var(--gold); letter-spacing: 1px; font-size: .95rem; }
.badge { display: inline-grid; place-items: center; min-width: 38px; height: 30px; padding: 0 8px; border-radius: 10px 10px 10px 2px; background: var(--navy); color: #fff; font-weight: 800; font-size: .92rem; }
.score { display: flex; gap: 10px; align-items: center; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-block; font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #f1f3f8; color: var(--ink-2); }
.tag.good { background: var(--good-bg); color: var(--good); }
.alert { background: #fff6e5; border: 1px solid #ffe1a8; color: #7a5300; padding: 14px 16px; border-radius: var(--radius-sm); margin: 14px 0; }
.alert.ok { background: var(--good-bg); border-color: #bde9d5; color: var(--good); }

/* Hotel page */
.hotel-head { padding-top: 26px; }
.back { display: inline-block; margin-bottom: 12px; font-weight: 600; }
.hotel-head h1 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 210px 210px; gap: 8px; border-radius: 22px; overflow: hidden; margin: 18px 0 8px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: filter .2s; }
.gallery img:hover { filter: brightness(1.05); }
.gallery .g-main { grid-row: span 2; }
.hotel-body { display: grid; grid-template-columns: 1fr 340px; gap: 30px; padding-top: 24px; padding-bottom: 60px; }
.hotel-side { display: grid; gap: 18px; align-content: start; position: sticky; top: 90px; }
.band-mini { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin-bottom: 16px; }
.band-mini label { display: flex; flex-direction: column; font-size: .78rem; font-weight: 700; color: var(--muted); gap: 4px; }
.band-mini input, .band-mini select { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font: 600 .95rem var(--font); color: var(--ink); background: #fff; }
.rates { display: grid; gap: 14px; margin-bottom: 34px; }
.rate { display: grid; grid-template-columns: 150px 1fr 200px; align-items: stretch; }
.rate img, .rate-ph { width: 100%; height: 100%; min-height: 130px; object-fit: cover; background: #f1f3f8; display: grid; place-items: center; font-size: 2rem; }
.rate-info { padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.rate-info h3 { margin: 0; }
.rate-buy { padding: 16px 18px; border-inline-start: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 6px; text-align: end; }
.facilities { padding: 0; margin: 0 0 12px; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; font-size: .9rem; }
.facilities li::before { content: '✓'; color: var(--good); font-weight: 800; margin-inline-end: 6px; }
.map { width: 100%; height: 220px; border: 0; border-radius: 12px; }
.prose { font-size: 1.04rem; color: var(--ink-2); }
.prose h2, .prose h3 { color: var(--ink); margin-top: 1.4em; }
.prose img { border-radius: 14px; height: auto; margin: 1em 0; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: start; }
.prose blockquote { border-inline-start: 4px solid var(--brand); margin: 1em 0; padding: 4px 16px; color: var(--ink); background: #fff; border-radius: 8px; }
.lightbox { position: fixed; inset: 0; background: rgba(5, 12, 24, .92); display: grid; place-items: center; z-index: 100; cursor: zoom-out; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 12px; }

/* Checkout */
.checkout { display: grid; grid-template-columns: 1fr 380px; gap: 26px; padding-top: 34px; padding-bottom: 60px; align-items: start; }
.checkout .f { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.checkout .f > span { color: var(--ink-2); }
.checkout input, .checkout textarea { border: 1px solid #d5dae4; border-radius: 12px; padding: 13px 14px; font: 500 1rem var(--font); color: var(--ink); background: #fff; transition: border .15s, box-shadow .15s; }
.checkout input:focus, .checkout textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(255, 79, 100, .12); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.summary { position: sticky; top: 90px; }
.summary img { border-radius: 12px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; margin-bottom: 12px; }
.summary dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: .92rem; margin: 14px 0; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; text-align: end; }
.total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px dashed var(--line); margin-top: 16px; padding-top: 16px; font-weight: 700; }
.total strong { font-size: 1.6rem; }
.pay-target { min-height: 260px; margin: 18px 0; }
.big-ok { width: 74px; height: 74px; border-radius: 50%; background: var(--good-bg); color: var(--good); font-size: 2.4rem; font-weight: 800; display: grid; place-items: center; margin: 0 auto 16px; }
.sec-title { margin-top: 40px; }

/* Blog */
.blog, .article { display: grid; grid-template-columns: 1fr 320px; gap: 34px; }
.blog-side { display: grid; gap: 18px; align-content: start; }
.cats { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.cta-side { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; border: 0; }
.cta-side .muted { color: rgba(255, 255, 255, .75); }
.article-main { min-width: 0; }
.article h1 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.featured { width: 100%; border-radius: 20px; margin: 10px 0 26px; aspect-ratio: 16 / 9; object-fit: cover; }
.cats-inline { display: flex; gap: 8px; flex-wrap: wrap; }
.cats-inline a { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--brand); }
.comments { margin-top: 40px; }
.comment { border-bottom: 1px solid var(--line); padding: 14px 0; }
.comment-form { margin-top: 20px; }
.comment-form .f { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.comment-form input, .comment-form textarea { border: 1px solid #d5dae4; border-radius: 12px; padding: 12px; font: inherit; }
.pager { display: flex; gap: 14px; align-items: center; justify-content: center; margin-top: 30px; }

/* Footer */
.foot { background: var(--navy); color: #c9d2e3; margin-top: 40px; }
.foot-in { display: grid; grid-template-columns: 1.4fr 2fr; gap: 20px; padding: 48px 20px 30px; }
.foot .logo { color: #fff; }
.foot .muted { color: #8b97ad; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 24px; align-content: start; justify-content: flex-end; }
.foot-links a:hover { color: #fff; }
.foot-in > p { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 20px; margin: 0; }

/* Responsive */
@media (max-width: 900px) {
  .search { grid-template-columns: 1fr 1fr; }
  .search .where { grid-column: 1 / -1; }
  .search > .btn { grid-column: 1 / -1; padding: 14px; }
  .search .f + .f::before { display: none; }
}
@media (max-width: 1000px) {
  .results, .hotel-body, .checkout, .blog, .article { grid-template-columns: 1fr; }
  .filters, .hotel-side, .summary { position: static; }
  .grid.four, .dest { grid-template-columns: repeat(2, 1fr); }
  .grid.three { grid-template-columns: 1fr 1fr; }
  .hotel-row { grid-template-columns: 220px 1fr; }
  .hr-price { grid-column: 1 / -1; border-inline-start: 0; border-top: 1px solid var(--line); flex-direction: row; align-items: center; justify-content: space-between; }
  .nav { display: none; }
}
@media (max-width: 640px) {
  .top-in { gap: 10px; height: 62px; }
  .logo { font-size: 1.15rem; }
  .hero { padding: 48px 0 40px; }
  .why, .grid.two, .grid.three, .row2 { grid-template-columns: 1fr; }
  .hotel-row, .rate { grid-template-columns: 1fr; }
  .hr-img img { min-height: 190px; max-height: 220px; }
  .rate img, .rate-ph { max-height: 180px; }
  .rate-buy { border-inline-start: 0; border-top: 1px solid var(--line); flex-direction: row; align-items: center; justify-content: space-between; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 110px; }
  .gallery .g-main { grid-column: span 2; grid-row: auto; }
  .gallery img:nth-child(n+4) { display: none; }
  .foot-in { grid-template-columns: 1fr; }
  .foot-links { justify-content: flex-start; }
  .stats { gap: 22px; }
  .dest { grid-auto-rows: 150px; }
  .dest-tile:nth-child(1) { grid-row: span 1; }
}

/* Legal, a11y, checkout consent */
.skip { position: absolute; top: -60px; inset-inline-start: 12px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 10px; color: #fff; }
:focus-visible { outline: 3px solid rgba(255, 79, 100, .55); outline-offset: 2px; }
.legal { display: grid; grid-template-columns: 240px 1fr; gap: 26px; align-items: start; }
.legal-nav { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 90px; }
.legal-nav b { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px; }
.legal-nav a { padding: 8px 10px; border-radius: 10px; font-weight: 600; color: var(--ink-2); }
.legal-nav a.on { background: #fff0f2; color: var(--brand); }
.legal-doc h2 { font-size: 1.15rem; margin-top: 1.6em; }
.legal-doc li { margin-bottom: .4em; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; margin: 6px 0 18px; color: var(--ink-2); cursor: pointer; }
.agree input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.agree a { color: var(--brand); text-decoration: underline; }
.secure-line { grid-column: 1 / -1; margin: 0; font-size: .85rem; color: #8b97ad; }
@media (max-width: 1000px) { .legal { grid-template-columns: 1fr; } .legal-nav { position: static; flex-direction: row; flex-wrap: wrap; } }

/* Loading skeletons (streamed results) */
.loading-line { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-weight: 600; }
.dot-pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--brand); animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: .3; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.1); } }
.skeleton { display: grid; grid-template-columns: 280px 1fr; min-height: 180px; margin-bottom: 18px; }
.skeleton.rate { grid-template-columns: 150px 1fr; min-height: 130px; }
.sk-img, .sk-lines i { background: linear-gradient(90deg, #eef0f5 25%, #f7f8fb 50%, #eef0f5 75%); background-size: 200% 100%; animation: shimmer 1.3s infinite; }
.sk-lines { padding: 20px; display: grid; gap: 12px; align-content: start; }
.sk-lines i { display: block; height: 14px; border-radius: 6px; }
.sk-lines i:nth-child(1) { width: 60%; height: 18px; } .sk-lines i:nth-child(2) { width: 85%; } .sk-lines i:nth-child(3) { width: 40%; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (max-width: 640px) { .skeleton { grid-template-columns: 1fr; } .sk-img { height: 160px; } }

/* LiteAPI payment SDK button */
.pay-target button { display: block; width: 100%; margin-top: 16px; padding: 16px; border: 0; border-radius: 12px; cursor: pointer;
  background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff; font: 800 1.08rem var(--font); box-shadow: 0 8px 20px -8px rgba(255, 79, 100, .7); }
.pay-target button:hover { filter: brightness(1.05); }

/* Accounts */
.acct-btn { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: .9rem; }
.avatar { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 800; }
.auth { display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: 980px; margin: 40px auto; padding: 0; overflow: hidden; }
.auth-side { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; padding: 40px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 460px;
  background-image: linear-gradient(180deg, rgba(8,20,40,.2), rgba(8,20,40,.85)), url('https://images.unsplash.com/photo-1501117716987-c8e1ecb210af?auto=format&fit=crop&w=1000&q=70'); background-size: cover; background-position: center; }
.auth-side p { color: rgba(255,255,255,.85); }
.auth-main { padding: 36px; }
.gbtn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 13px; border: 1px solid #d5dae4; border-radius: 12px; background: #fff; font: 700 1rem var(--font); color: var(--ink); cursor: pointer; }
.gbtn:hover { background: #f7f8fb; color: var(--ink); }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .85rem; margin: 18px 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.auth form .f, .find form .f { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.auth input, .find input { border: 1px solid #d5dae4; border-radius: 12px; padding: 12px 14px; font: 500 1rem var(--font); }
.tabs { display: flex; gap: 6px; background: #f1f3f8; padding: 4px; border-radius: 12px; margin-bottom: 18px; }
.tabs a { flex: 1; text-align: center; padding: 9px; border-radius: 9px; font-weight: 700; color: var(--ink-2); }
.tabs a.on { background: #fff; box-shadow: var(--shadow-sm); color: var(--ink); }
.account { padding-top: 34px; padding-bottom: 60px; }
.account-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.bk { display: grid; grid-template-columns: 160px 1fr auto; gap: 0; margin-bottom: 14px; align-items: stretch; }
.bk img, .bk .rate-ph { width: 100%; height: 100%; min-height: 120px; object-fit: cover; }
.bk-body { padding: 16px 20px; }
.bk-side { padding: 16px 20px; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 8px; border-inline-start: 1px solid var(--line); }
.st { font-size: .8rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.st.ok { background: var(--good-bg); color: var(--good); } .st.bad { background: #fde8eb; color: #c2183c; } .st.wait { background: #fff4d6; color: #7a5300; }
.voucher dl { display: grid; grid-template-columns: 180px 1fr; gap: 10px 18px; margin: 18px 0; }
.voucher dt { color: var(--muted); } .voucher dd { margin: 0; font-weight: 600; }
.cancel-box { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 18px; }
@media (max-width: 760px) { .auth { grid-template-columns: 1fr; margin: 20px 12px; } .auth-side { min-height: 180px; } .bk { grid-template-columns: 1fr; } .bk-side { border-inline-start: 0; border-top: 1px solid var(--line); flex-direction: row; justify-content: space-between; } .voucher dl { grid-template-columns: 1fr; } .acct-label { display: none; } }
@media print { .top, .foot, .cancel-box, .no-print, .demo-bar { display: none !important; } body { background: #fff; } .card { box-shadow: none; border: 0; } }
