/* ==========================================================================
   DweepGo — mobile-first UI
   ========================================================================== */
:root {
  /* Colours from the islands: deep sea, lagoon, shallows, coral sand */
  --brand: #0b7075;
  --brand-600: #095e62;
  --brand-700: #084e52;
  --brand-50: #e8f2f1;
  --brand-100: #cfe5e3;
  --accent: var(--brand);
  --accent-600: var(--brand-600);
  --deep: #0f2d32;
  --shallow: #3bb4a9;
  --shallow-l: #8ed8cf;
  --coral: #d9694c;
  --coral-bg: #fbece6;
  --ink: #0f2d32;
  --ink-2: #33494d;
  --muted: #66797b;
  --line: #e1e7e7;
  --line-2: #edf1f1;
  --bg: #f5f7f7;
  --card: #ffffff;
  --lagoon-pale: #dcefeb;
  --sand: #f4ede1;
  --sand-2: #e9e0d0;
  --success: #15803d;
  --success-bg: #e9f7ee;
  --warning: #b45309;
  --warning-bg: #fef4e6;
  --danger: #c2410c;
  --danger-2: #dc2626;
  --danger-bg: #fdeeea;
  --info: #1d4ed8;
  --info-bg: #eaf1fe;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 45, 50, .05);
  --shadow: 0 1px 2px rgba(15, 45, 50, .05), 0 8px 24px rgba(15, 45, 50, .07);
  --shadow-lg: 0 16px 40px rgba(15, 45, 50, .12);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-display: "Manjari", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --tabbar-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
@supports (color: color-mix(in srgb, red 50%, white)) {
  :root {
    --brand-600: color-mix(in srgb, var(--brand) 84%, black);
    --brand-700: color-mix(in srgb, var(--brand) 70%, black);
    --brand-50: color-mix(in srgb, var(--brand) 8%, white);
    --brand-100: color-mix(in srgb, var(--brand) 18%, white);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.5; color: var(--ink);
  background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-600); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.25; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: 1.6rem; font-weight: 800; }
h2 { font-size: 1.25rem; font-weight: 750; }
h3 { font-size: 1.05rem; font-weight: 700; }
h2.card-title { font-size: 1.05rem; font-weight: 700; } /* section titles inside cards: H2 for the outline, H3 size on screen */
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.25rem 0; }
small, .small { font-size: .85em; }
.muted { color: var(--muted); }
.strong { font-weight: 700; }
.nowrap { white-space: nowrap; }
.text-right { text-align: right; }
.text-center { text-align: center; }
.success-text { color: var(--success); }
.danger-text { color: var(--danger-2); }
.hide { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: middle; }
.ic-sm { width: 16px; height: 16px; }
.ic-lg { width: 28px; height: 28px; }
.ic-xl { width: 40px; height: 40px; }

/* ---------- layout helpers */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.container-sm { max-width: 760px; }
.container-xs { max-width: 460px; }
.stack > * + * { margin-top: 16px; }
.stack-sm > * + * { margin-top: 8px; }
.row { display: flex; align-items: center; gap: 12px; }
.row.wrap { flex-wrap: wrap; }
.row.top { align-items: flex-start; }
.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.grid { display: grid; gap: 16px; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.mb-0 { margin-bottom: 0 !important; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px;
  border-radius: 12px; border: 1px solid transparent; font: inherit; font-weight: 650; font-size: .95rem; cursor: pointer;
  background: var(--card); color: var(--ink); text-decoration: none; line-height: 1.2; transition: background .15s, border-color .15s, color .15s, transform .05s;
  -webkit-tap-highlight-color: transparent; white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn:disabled, .btn.disabled { opacity: .55; pointer-events: none; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-600); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-600); color: #fff; }
.btn-outline { border-color: var(--line); background: var(--card); color: var(--ink); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--line-2); color: var(--ink); }
.btn-soft { background: var(--brand-50); color: var(--brand-700); }
.btn-soft:hover { background: var(--brand-100); color: var(--brand-700); }
.btn-danger { background: var(--danger-bg); color: var(--danger-2); }
.btn-danger:hover { background: #fbd9d0; color: var(--danger-2); }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { background: #166534; color: #fff; }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1fb457; color: #fff; }
.btn-sm { min-height: 34px; padding: 6px 12px; font-size: .85rem; border-radius: 10px; }
.btn-lg { min-height: 52px; padding: 14px 22px; font-size: 1.02rem; border-radius: 14px; }
.btn-block { display: flex; width: 100%; }
.btn-icon { width: 44px; padding: 0; }
.btn-icon.btn-sm { width: 34px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--brand); cursor: pointer; font-weight: 600; }
.inline-form { display: inline; }

/* ---------- cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card-pad { padding: 18px; }
@media (min-width: 768px) { .card-pad { padding: 22px; } }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line-2); }
.card-head h2, .card-head h3 { margin: 0; font-size: 1rem; }
.card-body { padding: 18px; }
.card-foot { padding: 12px 18px; border-top: 1px solid var(--line-2); }
.card.flat { box-shadow: none; }
.section { padding: 28px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-head h2 { margin: 0; }
.section-head a { font-weight: 600; font-size: .9rem; white-space: nowrap; }

/* ---------- forms */
.field { margin-bottom: 16px; }
.field > label, .label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--ink-2); }
.field .hint, .hint { font-size: .8rem; color: var(--muted); margin-top: 5px; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=date], input[type=datetime-local],
input[type=search], input[type=url], input[type=time], input[type=month], select, textarea {
  width: 100%; min-height: 46px; padding: 10px 13px; font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1px solid #d5dde5; border-radius: 12px; outline: none; transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none; appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }
input[type=checkbox], input[type=radio] { width: 20px; height: 20px; accent-color: var(--brand); flex: none; margin: 0; }
input[type=file] { font-size: .9rem; max-width: 100%; }
.field-error { color: var(--danger-2); font-size: .82rem; margin-top: 5px; font-weight: 500; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--danger-2); }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: .92rem; padding: 4px 0; }
.check input { margin-top: 1px; }
.check-card { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; background: #fff; }
.check-card:has(input:checked) { border-color: var(--brand); background: var(--brand-50); }
.check-card.extra-guest { cursor: default; background: #f7f9fb; }
.check-card.extra-guest > svg { flex: none; margin-top: 3px; }
.input-prefix { position: relative; }
.input-prefix > span { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; pointer-events: none; }
.input-prefix > input { padding-left: 30px; }
.input-suffix { position: relative; }
.input-suffix > span { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .85rem; pointer-events: none; }
.form-row { display: grid; gap: 0 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } .form-row.three { grid-template-columns: 1fr 1fr 1fr; } }
.form-row.always { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.form-row > .field { min-width: 0; }
input[type=date], input[type=datetime-local], input[type=time] { min-width: 0; max-width: 100%; }
.detail-grid > * { min-width: 0; }
.form-section { padding-bottom: 6px; margin-bottom: 18px; border-bottom: 1px solid var(--line-2); }
.form-section:last-child { border-bottom: 0; }
.form-section h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.sticky-actions { position: sticky; bottom: 0; background: linear-gradient(to top, var(--bg) 70%, transparent); padding: 14px 0 calc(14px + var(--safe-b)); z-index: 5; }
.panel-body .sticky-actions { bottom: calc(var(--tabbar-h) + var(--safe-b)); }
@media (min-width: 1024px) { .panel-body .sticky-actions { bottom: 0; } }

/* ---------- badges & chips */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .01em; white-space: nowrap; }
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-warning { background: var(--warning-bg); color: var(--warning); }
.badge-danger { background: var(--danger-bg); color: var(--danger); }
.badge-info { background: var(--info-bg); color: var(--info); }
.badge-neutral { background: var(--line-2); color: var(--ink-2); }
.badge-brand { background: var(--brand-50); color: var(--brand-700); }
.badge-accent { background: #fff0eb; color: var(--accent-600); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chips::-webkit-scrollbar { display: none; }
@media (max-width: 767px) { .chips-bleed { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; scroll-padding-left: 16px; } }
@media (min-width: 768px) { .chips { flex-wrap: wrap; overflow: visible; padding-bottom: 0; } }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-weight: 600; font-size: .86rem; white-space: nowrap; }
.chip.active, .chip:hover { border-color: var(--brand); color: var(--brand-700); background: var(--brand-50); }
.chip .n { background: var(--line-2); border-radius: 999px; padding: 0 7px; font-size: .75rem; }
.chip.active .n { background: #fff; }

/* ---------- alerts & flashes */
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; font-size: .92rem; border: 1px solid transparent; }
.alert .ic { margin-top: 1px; }
.alert-info { background: var(--info-bg); color: #1e3a8a; border-color: #d6e3fc; }
.alert-lagoon { background: var(--lagoon-pale); color: var(--deep); border-color: var(--brand-100); }
.alert-lagoon a { color: var(--brand); font-weight: 600; }
.alert-success { background: var(--success-bg); color: #14532d; border-color: #cdebd8; }
.alert-error { background: var(--danger-bg); color: #9a3412; border-color: #f8d3c7; }
.alert-warning { background: var(--warning-bg); color: #92400e; border-color: #fbe0bd; }
.alert a { font-weight: 700; color: inherit; text-decoration: underline; }
.flashes { position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: 1000; width: min(560px, calc(100% - 24px)); display: grid; gap: 8px; }
.flashes .alert { box-shadow: var(--shadow-lg); animation: drop .3s ease; }
.flashes .alert .close { margin-left: auto; background: none; border: 0; cursor: pointer; color: inherit; opacity: .6; padding: 0; }
@keyframes drop { from { transform: translateY(-12px); } to { transform: none; } }
.notice-bar { background: var(--sand); border-bottom: 1px solid #f1e7d6; color: #7c5a1d; font-size: .82rem; padding: 7px 0; }
.demo-bar { background: #fff3cd; color: #7a5800; font-size: .8rem; text-align: center; padding: 6px 12px; font-weight: 600; }
.impersonate-bar { background: #111827; color: #fff; font-size: .85rem; padding: 8px 16px; display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; }
.impersonate-bar button { background: #fff; color: #111827; border: 0; border-radius: 8px; padding: 4px 10px; font-weight: 700; cursor: pointer; }

/* ---------- public header */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.topbar .container { display: flex; align-items: center; gap: 14px; height: 60px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.08rem; color: var(--ink); letter-spacing: -.02em; white-space: nowrap; }
.brand:hover { color: var(--ink); }
.brand img { height: 40px; width: auto; max-width: 190px; object-fit: contain; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(140deg, var(--brand), #14b8a6); display: grid; place-items: center; color: #fff; flex: none; }
.brand-mark .ic { width: 20px; height: 20px; stroke-width: 2.2; }
.top-search { flex: 1; max-width: 420px; display: none; position: relative; }
.top-search input { min-height: 40px; border-radius: 999px; padding-left: 40px; background: var(--bg); border-color: var(--line); font-size: .92rem; }
.top-search .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 18px; height: 18px; }
.top-nav { display: none; align-items: center; gap: 4px; margin-left: auto; }
.top-nav > a, .top-nav > .dropdown > button { padding: 8px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 600; font-size: .92rem; display: inline-flex; gap: 6px; align-items: center; background: none; border: 0; cursor: pointer; font-family: inherit; }
.top-nav > a:hover, .top-nav > .dropdown > button:hover { background: var(--line-2); color: var(--ink); }
.top-mobile { margin-left: auto; display: flex; gap: 4px; align-items: center; }
.icon-link { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: var(--ink-2); background: none; border: 0; cursor: pointer; }
.icon-link:hover { background: var(--line-2); color: var(--ink); }
.dot { position: absolute; top: 6px; right: 6px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; line-height: 1; }
.dot:empty, .dot[data-n="0"] { display: none; }
@media (min-width: 900px) {
  .top-search { display: block; }
  .top-nav { display: flex; }
  .top-mobile { display: none; }
}
.top-nav > a { white-space: nowrap; }
/* medium screens: keep the main sections, drop the extras (they stay in the hero chips and the footer) */
@media (min-width: 900px) and (max-width: 1239px) {
  .top-nav > a.nav-x { display: none; }
  .top-nav > a, .top-nav > .dropdown > button { padding: 8px 9px; }
  .top-search { min-width: 160px; }
}
.dropdown { position: relative; }
.dropdown-menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 6px; display: none; z-index: 60; }
.dropdown.open .dropdown-menu { display: block; }
.dropdown-menu a, .dropdown-menu button { display: flex; width: 100%; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 9px; color: var(--ink-2); font-weight: 550; font-size: .92rem; background: none; border: 0; font-family: inherit; cursor: pointer; text-align: left; }
.dropdown-menu a:hover, .dropdown-menu button:hover { background: var(--line-2); color: var(--ink); }
.dropdown-menu .sep { height: 1px; background: var(--line); margin: 6px 0; }

/* ---------- bottom tab bar (mobile app feel) */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(255, 255, 255, .97); backdrop-filter: blur(12px); border-top: 1px solid var(--line); display: flex; padding-bottom: var(--safe-b); height: calc(var(--tabbar-h) + var(--safe-b)); }
.tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: .68rem; font-weight: 650; color: var(--muted); position: relative; -webkit-tap-highlight-color: transparent; }
.tabbar a .ic { width: 23px; height: 23px; }
.tabbar a.active { color: var(--brand); }
.tabbar a.active .ic { stroke-width: 2.3; }
.tabbar .dot { top: 6px; right: calc(50% - 20px); }
.has-tabbar { padding-bottom: calc(var(--tabbar-h) + var(--safe-b) + 12px); }
@media (min-width: 900px) { .tabbar.public-tabbar { display: none; } .has-tabbar.public { padding-bottom: 0; } }

/* ---------- footer */
.site-footer { background: #0c2531; color: #b6c6cf; padding: 40px 0 28px; margin-top: 40px; font-size: .9rem; }
.site-footer a { color: #dbe7ec; }
.site-footer a:hover { color: #fff; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
.footer-grid .about { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } .footer-grid .about { grid-column: auto; } }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 28px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: .82rem; }

/* ---------- hero & home */
.search-panel { position: relative; z-index: 2; margin-top: -64px; }
.search-card { background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: 14px; display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.search-card .sc-field { display: flex; flex-direction: column; gap: 3px; background: var(--bg); border-radius: 12px; padding: 8px 12px; border: 1px solid transparent; }
.search-card .sc-field:focus-within { border-color: var(--brand); background: #fff; }
.search-card .sc-field label { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.search-card .sc-field select, .search-card .sc-field input { border: 0; padding: 0; min-height: 26px; background-color: transparent; box-shadow: none !important; font-weight: 600; font-size: 15px; }
.search-card .sc-wide { grid-column: 1 / -1; }
.search-card .btn { grid-column: 1 / -1; }
@media (min-width: 900px) { .search-card { grid-template-columns: 1.4fr 1fr 1fr 1fr auto; align-items: stretch; } .search-card .sc-wide { grid-column: auto; } .search-card .btn { grid-column: auto; height: auto; } }

.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 1000px) { .cat-grid { grid-template-columns: repeat(10, 1fr); } }
.cat-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 7px; padding: 12px 4px; border-radius: 16px; color: var(--ink); font-weight: 650; font-size: .76rem; line-height: 1.2; }
.cat-item:hover { background: #fff; color: var(--brand-700); box-shadow: var(--shadow); }
.cat-icon { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700); }
.cat-icon .ic { width: 27px; height: 27px; stroke-width: 1.8; }
.cat-item:nth-child(3n+2) .cat-icon { background: #fff1ec; color: #d9542f; }
.cat-item:nth-child(3n+3) .cat-icon { background: #eef4ff; color: #3559c7; }
.cat-item .n { color: var(--muted); font-weight: 500; font-size: .7rem; }

.island-strip { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.island-strip::-webkit-scrollbar { display: none; }
.island-pill { flex: none; display: flex; flex-direction: column; justify-content: flex-end; width: 132px; height: 92px; border-radius: 16px; padding: 10px 12px; color: #fff; font-weight: 750; background: linear-gradient(160deg, #19a1a9, #08515a); position: relative; overflow: hidden; }
.island-pill:nth-child(4n+2) { background: linear-gradient(160deg, #ffa07a, #e25c3a); }
.island-pill:nth-child(4n+3) { background: linear-gradient(160deg, #5aa0ff, #2449a8); }
.island-pill:nth-child(4n+4) { background: linear-gradient(160deg, #2dd4bf, #0f766e); }
.island-pill span { font-weight: 500; font-size: .75rem; opacity: .85; }
.island-pill:hover { color: #fff; transform: translateY(-2px); }
.island-pill::before { content: ""; position: absolute; right: -18px; top: -18px; width: 70px; height: 70px; border-radius: 50%; background: rgba(255,255,255,.15); }

.banner-slider { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.banner-slider::-webkit-scrollbar { display: none; }
.banner { flex: 0 0 100%; scroll-snap-align: start; border-radius: 20px; min-height: 160px; padding: 22px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(135deg, var(--accent), #ffb26b) center / cover no-repeat; position: relative; overflow: hidden; }
.banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,.05)); }
.banner > * { position: relative; }
.banner h3 { color: #fff; font-size: 1.3rem; margin-bottom: 4px; }
.banner p { margin: 0 0 10px; opacity: .92; }
@media (min-width: 768px) { .banner { flex-basis: calc(50% - 6px); min-height: 200px; } }

.trust-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 900px) { .trust-row { grid-template-columns: repeat(4, 1fr); } }
.trust { display: flex; gap: 12px; align-items: flex-start; padding: 14px; background: #fff; border-radius: 16px; border: 1px solid var(--line); }
.trust .ic { color: var(--brand); width: 26px; height: 26px; }
.trust b { display: block; font-size: .9rem; }
.trust span { font-size: .8rem; color: var(--muted); }

.cta-band { background: linear-gradient(120deg, #0c2531, #11404d); color: #fff; border-radius: 22px; padding: 26px; display: grid; gap: 16px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c4d6dd; margin: 0; }
@media (min-width: 768px) { .cta-band { grid-template-columns: 1fr auto; padding: 36px; } }

/* ---------- listing cards */
.listing-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .listing-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 1100px) { .listing-grid { grid-template-columns: repeat(4, 1fr); } }
.listing-grid.scroll { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.listing-grid.scroll::-webkit-scrollbar { display: none; }
.listing-grid.scroll .lcard { flex: 0 0 64%; scroll-snap-align: start; }
@media (min-width: 760px) { .listing-grid.scroll .lcard { flex-basis: calc(33.333% - 12px); } }
@media (min-width: 1100px) { .listing-grid.scroll .lcard { flex-basis: calc(25% - 14px); } }
.lcard { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); color: var(--ink); transition: box-shadow .2s, transform .2s; min-width: 0; }
.lcard:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.lcard-img { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--brand-50), #f2f7f8); overflow: hidden; }
.lcard-img img { width: 100%; height: 100%; object-fit: cover; }
.lcard-img .ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--brand); opacity: .45; }
.lcard-img .ph .ic { width: 46px; height: 46px; stroke-width: 1.4; }
.lcard-tags { position: absolute; left: 8px; top: 8px; display: flex; gap: 5px; flex-wrap: wrap; }
.lcard-tags .badge { background: rgba(255,255,255,.95); color: var(--ink); box-shadow: var(--shadow-sm); }
.lcard-tags .badge.feat { background: var(--accent); color: #fff; }
.wish-btn { position: absolute; right: 8px; top: 8px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); display: grid; place-items: center; cursor: pointer; color: var(--ink-2); box-shadow: var(--shadow-sm); z-index: 2; }
.wish-btn .ic { width: 18px; height: 18px; }
.wish-btn.on { color: #e11d48; }
.wish-btn.on .ic { fill: #e11d48; }
.lcard-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.lcard-title { font-weight: 700; font-size: .93rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lcard-meta { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lcard-meta .ic { width: 13px; height: 13px; }
.lcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 6px; }
.price { font-weight: 800; font-size: 1.02rem; color: var(--ink); }
.price small { font-weight: 500; color: var(--muted); font-size: .76rem; }
.rating { display: inline-flex; align-items: center; gap: 3px; font-size: .78rem; font-weight: 700; color: var(--ink-2); }
.rating svg { width: 13px; height: 13px; fill: #f59e0b; }
.stars { display: inline-flex; gap: 1px; vertical-align: middle; }
.stars .star { width: 15px; height: 15px; fill: #e2e8f0; }
.stars .star.on { fill: #f59e0b; }
.stars .star.half { fill: #fcd34d; }

/* ---------- search page */
.search-layout { display: grid; gap: 20px; }
@media (min-width: 1000px) { .search-layout { grid-template-columns: 270px 1fr; align-items: start; } }
.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
@media (max-width: 999px) {
  .filters { position: fixed; inset: auto 0 0 0; z-index: 90; border-radius: 22px 22px 0 0; max-height: 86vh; overflow-y: auto; transform: translateY(105%); transition: transform .25s ease; padding-bottom: calc(20px + var(--safe-b)); box-shadow: var(--shadow-lg); }
  .filters.open { transform: none; }
}
@media (min-width: 1000px) { .filters { position: sticky; top: 76px; } .filter-toggle, .filters .sheet-close { display: none !important; } }
.backdrop { position: fixed; inset: 0; background: rgba(15,31,46,.45); z-index: 80; display: none; }
.backdrop.show { display: block; }
.toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.toolbar .grow { min-width: 140px; }

/* ---------- listing detail */
.detail-grid { display: grid; gap: 22px; }
@media (min-width: 1000px) { .detail-grid { grid-template-columns: 1fr 380px; align-items: start; } }
.gallery { position: relative; border-radius: 20px; overflow: hidden; background: #e7eef1; }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track img { flex: 0 0 100%; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; scroll-snap-align: center; cursor: zoom-in; }
@media (min-width: 760px) { .gallery-track img { aspect-ratio: 16 / 10; } }
.gallery-count { position: absolute; right: 12px; bottom: 12px; background: rgba(0,0,0,.6); color: #fff; font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); display: none; place-items: center; cursor: pointer; box-shadow: var(--shadow); }
.gallery-nav.prev { left: 12px; } .gallery-nav.next { right: 12px; }
@media (hover: hover) { .gallery:hover .gallery-nav { display: grid; } }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.thumbs img { width: 72px; height: 54px; object-fit: cover; border-radius: 10px; cursor: pointer; opacity: .7; flex: none; border: 2px solid transparent; }
.thumbs img.active, .thumbs img:hover { opacity: 1; border-color: var(--brand); }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.92); display: none; align-items: center; justify-content: center; }
.lightbox.show { display: flex; }
.lightbox img { max-width: 96vw; max-height: 86vh; object-fit: contain; border-radius: 8px; }
.lightbox .lb-close { position: absolute; top: 14px; right: 14px; background: rgba(255,255,255,.15); color: #fff; border: 0; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lightbox .lb-nav { position: absolute; top: 50%; background: rgba(255,255,255,.15); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lightbox .lb-prev { left: 10px; } .lightbox .lb-next { right: 10px; }
.title-block h1 { font-size: 1.45rem; margin-bottom: 6px; }
@media (min-width: 768px) { .title-block h1 { font-size: 1.85rem; } }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-size: .88rem; align-items: center; }
.meta-row span { display: inline-flex; align-items: center; gap: 5px; }
.rate-table { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; }
.rate { background: var(--brand-50); border-radius: 14px; padding: 12px; text-align: center; }
.rate b { display: block; font-size: 1.15rem; color: var(--brand-700); }
.rate span { font-size: .78rem; color: var(--ink-2); font-weight: 600; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 640px) { .spec-grid { grid-template-columns: repeat(3, 1fr); } }
.spec { background: var(--bg); border-radius: 12px; padding: 10px 12px; }
.spec span { display: block; font-size: .74rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.spec b { font-size: .93rem; }
.feature-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.feature-list li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; background: var(--success-bg); color: #14532d; border-radius: 999px; font-size: .84rem; font-weight: 600; }
.feature-list .ic { width: 15px; height: 15px; }
.vendor-mini { display: flex; gap: 12px; align-items: center; }
.avatar { width: 46px; height: 46px; border-radius: 14px; object-fit: cover; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; font-weight: 800; flex: none; font-size: 1.05rem; overflow: hidden; }
.avatar.lg { width: 76px; height: 76px; border-radius: 22px; font-size: 1.6rem; }
.avatar.sm { width: 34px; height: 34px; border-radius: 10px; font-size: .85rem; }
.avatar.round { border-radius: 50%; }
.review { padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.review:last-child { border-bottom: 0; }
.review .reply { margin-top: 8px; padding: 10px 12px; background: var(--bg); border-radius: 12px; font-size: .9rem; border-left: 3px solid var(--brand); }

.booking-box { position: sticky; top: 76px; }
.booking-box .card-pad { padding: 18px; }
.bb-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 14px; }
.bb-price b { font-size: 1.5rem; }
.price-lines { display: grid; gap: 8px; font-size: .92rem; }
.price-lines .pl { display: flex; justify-content: space-between; gap: 12px; }
.price-lines .pl.discount span:last-child { color: var(--success); font-weight: 700; }
.price-lines .pl.total { font-weight: 800; font-size: 1.05rem; border-top: 1px dashed var(--line); padding-top: 10px; margin-top: 2px; }
.price-lines .pl.paynow { color: var(--brand-700); font-weight: 700; }
.quote-box { background: var(--bg); border-radius: 14px; padding: 14px; margin: 14px 0; }
.quote-error { color: var(--danger-2); font-weight: 600; font-size: .9rem; }
.mobile-book-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px calc(10px + var(--safe-b)); display: flex; align-items: center; gap: 12px; box-shadow: 0 -6px 20px rgba(15,31,46,.08); }
@media (min-width: 1000px) { .mobile-book-bar { display: none; } }
.listing-page.has-tabbar { padding-bottom: calc(88px + var(--safe-b)); }
@media (min-width: 1000px) { .listing-page.has-tabbar { padding-bottom: 0; } }

/* ---------- store page */
.store-hero { position: relative; height: 170px; background: linear-gradient(135deg, var(--brand), #14b8a6) center / cover; }
@media (min-width: 768px) { .store-hero { height: 250px; } }
.store-head { position: relative; display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; padding-top: 14px; }
/* only the logo overlaps the banner; the name and tagline always sit below it, so they stay readable on any banner */
.store-head .avatar.lg { border: 4px solid #fff; box-shadow: var(--shadow); background: #fff; margin-top: -60px; flex: none; }
.store-head .grow { padding-top: 2px; min-width: 0; }
.store-head h1 { line-height: 1.25; }
.store-stats { display: flex; gap: 18px; flex-wrap: wrap; font-size: .88rem; color: var(--muted); }
.store-stats b { color: var(--ink); }
.vendor-card { display: flex; gap: 12px; align-items: center; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); }
.vendor-card:hover { box-shadow: var(--shadow); color: var(--ink); }

/* ---------- tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; padding: 10px 14px; background: #fafbfc; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr.clickable { cursor: pointer; }
.table tr.clickable:hover td { background: #fafcfd; }
.table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.table .actions { text-align: right; white-space: nowrap; }
@media (max-width: 760px) {
  .table.stackable thead { display: none; }
  .table.stackable, .table.stackable tbody, .table.stackable tr, .table.stackable td { display: block; width: 100%; }
  .table.stackable tr { padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .table.stackable tr:last-child { border-bottom: 0; }
  .table.stackable td { border: 0; padding: 3px 0; display: flex; justify-content: space-between; gap: 14px; text-align: right; }
  .table.stackable td::before { content: attr(data-label); font-weight: 600; color: var(--muted); font-size: .8rem; text-align: left; flex: none; }
  .table.stackable td.primary { display: block; text-align: left; font-size: .98rem; padding-bottom: 6px; }
  .table.stackable td.primary::before { display: none; }
  .table.stackable td.actions { justify-content: flex-end; padding-top: 8px; }
  .table.stackable td.actions::before { display: none; }
  .table.stackable .num { text-align: right; }
}
.thumb-sm { width: 48px; height: 40px; border-radius: 8px; object-fit: cover; background: var(--brand-50); flex: none; }

/* ---------- lists */
.list-item { display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line-2); color: var(--ink); }
.list-item:last-child { border-bottom: 0; }
a.list-item:hover { background: #fafcfd; color: var(--ink); }
.list-item .li-main { flex: 1; min-width: 0; }
.list-item .li-title { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-item .li-sub { font-size: .82rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-item.unread { background: var(--brand-50); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: .92rem; margin: 0; }
.kv dt { color: var(--muted); font-weight: 500; }
.kv dd { margin: 0; text-align: right; font-weight: 600; word-break: break-word; }
.kv.left dd { text-align: left; }

/* ---------- stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.stat-label { font-size: .78rem; font-weight: 650; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.stat-label .ic { width: 16px; height: 16px; }
.stat-value { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; }
.stat-sub { font-size: .76rem; color: var(--muted); }
.stat.hl { background: linear-gradient(135deg, var(--brand), #13a8a0); border: 0; color: #fff; }
.stat.hl .stat-label, .stat.hl .stat-sub { color: rgba(255,255,255,.85); }
.stat.dark { background: #0f2a36; border: 0; color: #fff; }
.stat.dark .stat-label, .stat.dark .stat-sub { color: #a9c0c9; }

/* ---------- bar chart */
.bars { display: flex; align-items: flex-end; gap: 4px; height: 150px; padding-top: 10px; }
.bars .bar { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 4px; min-width: 0; position: relative; }
.bars .bar i { display: block; width: 100%; max-width: 28px; background: var(--brand); border-radius: 6px 6px 2px 2px; min-height: 2px; opacity: .85; transition: opacity .15s; }
.bars .bar:hover i { opacity: 1; background: var(--accent); }
.bars .bar span { font-size: .62rem; color: var(--muted); }
.bars .bar[data-tip]:hover::after { content: attr(data-tip); position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: .72rem; padding: 4px 8px; border-radius: 6px; white-space: nowrap; z-index: 3; }
.hbar { display: flex; align-items: center; gap: 10px; font-size: .88rem; margin-bottom: 10px; }
.hbar .hb-label { width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbar .hb-track { flex: 1; height: 10px; background: var(--line-2); border-radius: 99px; overflow: hidden; }
.hbar .hb-track i { display: block; height: 100%; background: var(--brand); border-radius: 99px; }
.hbar .hb-val { width: 90px; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- tabs & pagination */
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { padding: 10px 14px; font-weight: 650; font-size: .9rem; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; margin-bottom: -1px; }
.tabs a.active { color: var(--brand-700); border-bottom-color: var(--brand); }
.tabs a .n { background: var(--line-2); color: var(--ink-2); border-radius: 99px; padding: 0 7px; font-size: .74rem; }
.tabs a.active .n { background: var(--brand-50); color: var(--brand-700); }
.seg { display: inline-flex; background: var(--line-2); border-radius: 12px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg a { padding: 6px 12px; border-radius: 9px; font-size: .84rem; font-weight: 650; color: var(--ink-2); }
.seg a.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.pagination { display: flex; gap: 6px; justify-content: center; align-items: center; margin: 22px 0 6px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 40px; height: 40px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-weight: 650; color: var(--ink-2); font-size: .9rem; }
.pagination .current { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- empty states */
.empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty .ic { width: 52px; height: 52px; color: var(--brand); opacity: .5; stroke-width: 1.4; margin: 0 auto 10px; display: block; }
.empty h3 { color: var(--ink); }

/* ---------- timeline */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 16px 28px; font-size: .9rem; }
.timeline li::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: -6px; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ""; position: absolute; left: 2px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--line); }
.timeline li.done::after { background: var(--brand); border-color: var(--brand); }
.timeline li.bad::after { background: var(--danger-2); border-color: var(--danger-2); }
.timeline li span { display: block; color: var(--muted); font-size: .8rem; }

/* ---------- booking card (lists) */
.bk { display: flex; gap: 12px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); align-items: center; }
.bk:hover { box-shadow: var(--shadow); color: var(--ink); }
.bk img, .bk .bk-ph { width: 74px; height: 64px; border-radius: 12px; object-fit: cover; background: var(--brand-50); flex: none; display: grid; place-items: center; color: var(--brand); }
.bk-main { flex: 1; min-width: 0; }
.bk-title { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bk-sub { font-size: .82rem; color: var(--muted); }
.bk-right { text-align: right; display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.date-tile { width: 56px; text-align: center; border-radius: 12px; background: var(--brand-50); color: var(--brand-700); padding: 6px 0; flex: none; line-height: 1.1; }
.date-tile b { display: block; font-size: 1.25rem; }
.date-tile span { font-size: .7rem; font-weight: 700; text-transform: uppercase; }

/* ---------- panel (vendor/admin) */
.panel-body { background: #f3f6f8; }
.panel-shell { min-height: 100vh; }
.sidebar { position: fixed; z-index: 95; top: 0; bottom: 0; left: 0; width: 272px; background: #0d2833; color: #c7d6dc; transform: translateX(-100%); transition: transform .22s ease; display: flex; flex-direction: column; overflow-y: auto; }
.sidebar.open { transform: none; box-shadow: var(--shadow-lg); }
.sidebar .brand { color: #fff; padding: 18px 18px 12px; }
.sidebar .brand:hover { color: #fff; }
.side-section { padding: 10px 12px; }
.side-label { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: #6f8c97; font-weight: 800; padding: 8px 10px 6px; }
.side-nav a { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 10px; color: #c7d6dc; font-weight: 550; font-size: .92rem; margin-bottom: 2px; }
.side-nav a .ic { width: 19px; height: 19px; opacity: .85; }
.side-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.side-nav a.active { background: rgba(20, 184, 166, .16); color: #fff; }
.side-nav a.active .ic { color: #5eead4; opacity: 1; }
.side-nav .count { margin-left: auto; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 800; border-radius: 99px; padding: 1px 7px; }
.side-foot { margin-top: auto; padding: 14px 18px; border-top: 1px solid rgba(255,255,255,.07); font-size: .82rem; }
.side-foot a { color: #9fb6bf; }
.panel-top { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); height: 58px; display: flex; align-items: center; gap: 8px; padding: 0 10px; }
.panel-top h1 { font-size: 1.05rem; margin: 0; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.panel-main { padding: 18px 16px 24px; max-width: 1200px; margin: 0 auto; }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.panel-head h1 { margin: 0; font-size: 1.45rem; }
.panel-head .sub { color: var(--muted); font-size: .9rem; margin-top: 2px; }
.panel-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); display: flex; padding-bottom: var(--safe-b); height: calc(var(--tabbar-h) + var(--safe-b)); }
.panel-tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: .66rem; font-weight: 650; color: var(--muted); position: relative; }
.panel-tabbar a.active { color: var(--brand); }
.panel-tabbar a .ic { width: 22px; height: 22px; }
.panel-tabbar .fab { flex: none; width: 52px; height: 52px; margin: -18px 6px 0; border-radius: 18px; background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(10,126,140,.35); }
.panel-tabbar .fab .ic { width: 26px; height: 26px; }
.panel-tabbar .dot { top: 6px; right: calc(50% - 20px); }
.panel-content { padding-bottom: calc(var(--tabbar-h) + var(--safe-b) + 16px); }
@media (min-width: 1024px) {
  .sidebar { transform: none; }
  .panel-shell { padding-left: 272px; }
  .panel-body .demo-bar, .panel-body .impersonate-bar { margin-left: 272px; }
  .panel-top .menu-btn { display: none; }
  .panel-tabbar { display: none; }
  .panel-content { padding-bottom: 0; }
  .panel-main { padding: 26px 32px 40px; }
}

/* ---------- photo manager */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (min-width: 640px) { .photo-grid { grid-template-columns: repeat(5, 1fr); } }
.photo { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 1; background: var(--line-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo .photo-actions { position: absolute; inset: auto 0 0 0; display: flex; justify-content: space-between; padding: 5px; background: linear-gradient(to top, rgba(0,0,0,.6), transparent); }
.photo .photo-actions button { border: 0; background: rgba(255,255,255,.95); border-radius: 8px; width: 30px; height: 30px; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.photo .cover-tag { position: absolute; left: 6px; top: 6px; }
.photo .photo-handle { position: absolute; right: 6px; top: 6px; width: 32px; height: 32px; border: 0; border-radius: 8px; background: rgba(255,255,255,.95); color: var(--ink); display: grid; place-items: center; cursor: grab; touch-action: none; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.photo .photo-handle svg { width: 18px; height: 18px; fill: currentColor; }
.photo .photo-handle:focus-visible { outline: 3px solid var(--brand); outline-offset: 1px; }
.photo.dragging { opacity: .55; outline: 2px dashed var(--brand); outline-offset: -2px; }
.photo.dragging .photo-handle { cursor: grabbing; }
.photo .cover-tag[hidden] { display: none; }
.photo.new { outline: 2px dashed var(--brand); }
.dropzone { border: 2px dashed #c5d3dc; border-radius: 16px; padding: 22px; text-align: center; background: #fafcfd; cursor: pointer; display: block; color: var(--muted); }
.dropzone:hover { border-color: var(--brand); background: var(--brand-50); }
.dropzone .ic { width: 34px; height: 34px; color: var(--brand); margin: 0 auto 6px; display: block; }
.dropzone input { display: none; }
.repeater-row { display: grid; grid-template-columns: 1fr 110px 120px 40px; gap: 8px; margin-bottom: 8px; align-items: center; }
@media (max-width: 560px) { .repeater-row { grid-template-columns: 1fr 1fr; } .repeater-row > :first-child { grid-column: 1 / -1; } }

/* ---------- checklist */
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li a { display: flex; gap: 10px; align-items: center; padding: 10px 0; color: var(--ink); border-bottom: 1px solid var(--line-2); font-weight: 550; font-size: .92rem; }
.checklist li:last-child a { border-bottom: 0; }
.checklist .tick { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; flex: none; color: #fff; }
.checklist .done .tick { background: var(--success); border-color: var(--success); }
.checklist .done span { text-decoration: line-through; color: var(--muted); }
.progress { height: 8px; background: var(--line-2); border-radius: 99px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--success); border-radius: 99px; }

/* ---------- share / QR */
.share-card { background: linear-gradient(135deg, #0d2833, #134a57); color: #fff; border-radius: 18px; padding: 18px; }
.share-card .link { background: rgba(255,255,255,.1); border-radius: 10px; padding: 9px 12px; font-family: ui-monospace, Menlo, monospace; font-size: .82rem; word-break: break-all; margin: 10px 0; }
.qr-box { background: #fff; border-radius: 14px; padding: 10px; width: 152px; height: 152px; display: grid; place-items: center; }
.qr-box img, .qr-box canvas { width: 132px !important; height: 132px !important; }

/* ---------- chat */
.chat { display: flex; flex-direction: column; height: calc(100vh - 220px); min-height: 380px; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; background: #f7f9fa; }
.msg { max-width: 80%; padding: 9px 13px; border-radius: 16px 16px 16px 4px; background: #fff; border: 1px solid var(--line); align-self: flex-start; font-size: .93rem; white-space: pre-wrap; word-wrap: break-word; }
.msg.mine { align-self: flex-end; background: var(--brand); color: #fff; border-color: var(--brand); border-radius: 16px 16px 4px 16px; }
.msg time { display: block; font-size: .68rem; opacity: .7; margin-top: 3px; }
/* a message held back by the contact filter: only its sender (and admins) see it */
.msg.blocked, .msg.mine.blocked { background: var(--danger-bg); color: var(--danger); border: 1px solid currentColor; }
.msg-warn { display: block; font-size: .84rem; line-height: 1.45; }
.msg-warn b { display: block; font-size: .9rem; margin-bottom: 2px; }
.msg-orig { display: block; margin-top: 6px; padding-top: 6px; border-top: 1px dashed currentColor; font-size: .82rem; opacity: .65; }
.msg-who { display: block; font-size: .72rem; font-weight: 700; opacity: .75; margin-bottom: 2px; }
.chat-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); background: #fff; }
.chat-form textarea { min-height: 46px; height: 46px; resize: none; border-radius: 22px; padding: 11px 16px; }

/* ---------- calendar */
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal .dow { font-size: .7rem; font-weight: 800; text-align: center; color: var(--muted); padding: 4px 0; text-transform: uppercase; }
.cal-day { min-height: 64px; border-radius: 10px; background: #fff; border: 1px solid var(--line-2); padding: 5px; font-size: .72rem; position: relative; overflow: hidden; }
.cal-day .d { font-weight: 800; font-size: .8rem; }
.cal-day.today { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.cal-day.full { background: #fdeeea; }
.cal-day.partial { background: #fff8eb; }
.cal-day.blocked { background: repeating-linear-gradient(45deg, #f1f5f9, #f1f5f9 6px, #e2e8f0 6px, #e2e8f0 12px); }
.cal-day.empty { background: transparent; border: 0; }
.cal-day .u { display: block; margin-top: 3px; font-weight: 700; color: var(--ink-2); }
.cal-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: .8rem; color: var(--muted); }
.cal-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; vertical-align: -1px; margin-right: 4px; border: 1px solid var(--line); }

/* ---------- modal */
dialog.modal { border: 0; border-radius: 20px; padding: 0; width: min(520px, calc(100% - 24px)); box-shadow: var(--shadow-lg); }
dialog.modal::backdrop { background: rgba(15,31,46,.5); }
dialog.modal .modal-head { padding: 16px 18px; border-bottom: 1px solid var(--line-2); display: flex; justify-content: space-between; align-items: center; }
dialog.modal .modal-head h3 { margin: 0; }
dialog.modal .modal-body { padding: 18px; }
@media (max-width: 600px) { dialog.modal { margin: auto auto 0; width: 100%; max-width: 100%; border-radius: 22px 22px 0 0; padding-bottom: var(--safe-b); } }

/* ---------- auth */
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: radial-gradient(1200px 500px at 10% -10%, var(--brand-100), transparent), radial-gradient(900px 400px at 110% 110%, #ffe1d6, transparent), var(--bg); }
.auth-card { width: 100%; max-width: 420px; }
.auth-card .card { padding: 26px 22px; box-shadow: var(--shadow); }
.auth-card .brand { justify-content: center; margin-bottom: 18px; font-size: 1.2rem; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .82rem; margin: 18px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- install prompt */
.install-banner { position: fixed; left: 12px; right: 12px; bottom: calc(var(--tabbar-h) + var(--safe-b) + 12px); z-index: 75; background: #0d2833; color: #fff; border-radius: 18px; padding: 14px; display: none; gap: 12px; align-items: center; box-shadow: var(--shadow-lg); }
.install-banner.show { display: flex; }
.install-banner img { width: 44px; height: 44px; border-radius: 12px; }
.install-banner .btn { min-height: 38px; }
.install-banner .x { background: none; border: 0; color: #9fb6bf; cursor: pointer; padding: 4px; }
@media (min-width: 900px) { .install-banner { left: auto; right: 20px; bottom: 20px; width: 380px; } }
.listing-page .install-banner { display: none !important; }

/* ---------- invoice / print */
.print-body { background: #eef2f5; }
.invoice { max-width: 820px; margin: 20px auto; background: #fff; padding: 36px; border-radius: 12px; box-shadow: var(--shadow); }
.invoice table { width: 100%; border-collapse: collapse; }
.invoice th, .invoice td { padding: 9px 6px; border-bottom: 1px solid var(--line); text-align: left; font-size: .92rem; }
.invoice .num { text-align: right; }
@media print {
  .no-print { display: none !important; }
  .print-body { background: #fff; }
  .invoice { box-shadow: none; margin: 0; padding: 0; }
}

/* ---------- misc */
.page-title { padding-top: 22px; padding-bottom: 6px; }
.page-title h1 { margin: 0; }
.breadcrumbs { font-size: .82rem; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.breadcrumbs a { color: var(--muted); }
.prose { font-size: 1rem; line-height: 1.7; color: var(--ink-2); }
.prose h2 { margin-top: 1.4em; } .prose h3 { margin-top: 1.2em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose img { border-radius: 12px; }
.offline-pill { position: fixed; top: 10px; left: 50%; transform: translateX(-50%); background: #111827; color: #fff; padding: 6px 14px; border-radius: 99px; font-size: .8rem; z-index: 999; display: none; }
body.is-offline .offline-pill { display: block; }
.copy-field { display: flex; gap: 8px; }
.copy-field input { font-family: ui-monospace, Menlo, monospace; font-size: .85rem !important; }
.color-input { width: 56px !important; padding: 4px !important; height: 46px; }
.steps-num { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps-num li { counter-increment: step; display: flex; gap: 12px; align-items: flex-start; }
.steps-num li::before { content: counter(step); width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: .9rem; }
.big-check { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 14px; background: var(--success-bg); color: var(--success); }
.big-check .ic { width: 40px; height: 40px; stroke-width: 2.4; }
.big-check.warn { background: var(--warning-bg); color: var(--warning); }
.mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .88em; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; background: var(--line); }
.status-dot.ok { background: var(--success); } .status-dot.bad { background: var(--danger-2); }
.amount-pos { color: var(--success); font-weight: 700; }
.amount-neg { color: var(--danger-2); font-weight: 700; }
.skeleton { background: linear-gradient(90deg, #eef2f5 25%, #f7f9fa 37%, #eef2f5 63%); background-size: 400% 100%; animation: sk 1.2s ease infinite; border-radius: 8px; }
@keyframes sk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

.wish-inline.on { color: #e11d48; border-color: #fecdd3; }
.wish-inline.on .ic { fill: #e11d48; }

/* ---------- offline (bank / UPI) payment */
.pay-amount { background: var(--brand-50); color: var(--brand-700); border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.pay-amount b { font-size: 1.25rem; }
.pay-box { border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-bottom: 12px; background: #fff; }
.pay-box .qr-box { border: 1px solid var(--line); }
.pay-methods { display: grid; gap: 10px; }
.pay-method { border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; }
.pay-method > summary { list-style: none; cursor: pointer; padding: 14px 16px; display: flex; gap: 12px; align-items: center; font-weight: 700; }
.pay-method > summary::-webkit-details-marker { display: none; }
.pay-method > summary .ic-box { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; flex: none; }
.pay-method > summary .chev { margin-left: auto; transition: transform .2s; }
.pay-method[open] > summary .chev { transform: rotate(180deg); }
.pay-method[open] { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-50); }
.pay-method .pm-body { padding: 0 16px 16px; }
@media (hover: hover) and (pointer: fine) { .upi-app-btn { display: none; } }

.repeater-row.pkg-row { grid-template-columns: 1.2fr 120px 1.6fr 40px; }
@media (max-width: 560px) { .repeater-row.pkg-row { grid-template-columns: 1fr 1fr; } .repeater-row.pkg-row > :nth-child(3) { grid-column: 1 / -1; } }
.pkg-list { display: grid; gap: 10px; }
.pkg { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.pkg b { display: block; }
.pkg .pkg-price { font-weight: 800; color: var(--brand-700); white-space: nowrap; text-align: right; }
.slot-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.slot-grid label { position: relative; }
.slot-grid input { position: absolute; opacity: 0; pointer-events: none; }
.slot-grid span { display: inline-block; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; font-weight: 650; font-size: .88rem; cursor: pointer; background: #fff; }
.slot-grid input:checked + span { border-color: var(--brand); background: var(--brand-50); color: var(--brand-700); }
.slot-grid input:focus-visible + span { box-shadow: 0 0 0 3px var(--brand-100); }
.repeater-row.var-row { grid-template-columns: 1.4fr 110px 110px 90px 40px; }
@media (max-width: 560px) { .repeater-row.var-row { grid-template-columns: 1fr 1fr; } .repeater-row.var-row > :first-child { grid-column: 1 / -1; } }
.input-suffix > input { padding-right: 34px; }
.qty-step { display: inline-flex; align-items: center; gap: 6px; }
.qty-step input { width: 70px; text-align: center; }
.qty-step .btn { font-size: 1.2rem; }

/* ---------- tour packages */
.repeater-row.tier-row { grid-template-columns: repeat(3, minmax(0, 1fr)) 40px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); gap: 8px; }
.tier-row > :nth-child(1) { grid-column: 1 / 4; grid-row: 1; }
.tier-row > :nth-child(5) { grid-column: 1 / 4; }
.tier-row > :nth-child(6) { grid-column: 4; grid-row: 1; }
.age-groups { display: grid; grid-template-columns: auto 70px auto 70px auto; gap: 8px 8px; align-items: center; font-size: .9rem; color: var(--ink-2); }
.age-groups em { font-style: normal; color: var(--muted); font-size: .8rem; }
.age-groups input { width: 70px; }
.repeater-row.day-row { grid-template-columns: 1fr 40px; align-items: start; counter-increment: day; position: relative; padding-left: 58px; }
.repeater-row.day-row::before { content: "Day " counter(day); position: absolute; left: 0; top: 10px; font-size: .78rem; font-weight: 700; color: var(--brand-700); }
.repeater-row.day-row textarea { grid-column: 1; }
.repeater-row.day-row button { grid-column: 2; grid-row: 1; }
.itinerary-edit { counter-reset: day; }
@media (max-width: 560px) {
  .repeater-row.tier-row { grid-template-columns: repeat(3, minmax(0, 1fr)) 40px; }
    .repeater-row.day-row { grid-template-columns: 1fr 40px; padding-left: 0; padding-top: 18px; }
  .repeater-row.day-row > :first-child { grid-column: 1; }
  .repeater-row.day-row::before { top: 0; }
}
fieldset.field { border: 0; padding: 0; margin-left: 0; margin-right: 0; min-width: 0; }
fieldset.field > legend { padding: 0; }
.island-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.island-picks .chip { cursor: pointer; }
.island-picks .chip input { width: 16px; height: 16px; margin: 0; accent-color: var(--brand); }
.island-picks .chip:has(input:checked) { border-color: var(--brand); color: var(--brand-700); background: var(--brand-50); }
.tour-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(136px, 1fr)); gap: 10px; }
@media (max-width: 400px) { .tour-fact { padding: 10px; gap: 8px; } .tour-fact b { font-size: .86rem; } }
.tour-fact { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.tour-fact .ic { color: var(--brand); flex: 0 0 auto; margin-top: 2px; }
.tour-fact b { display: block; font-size: .92rem; }
.tour-fact span { font-size: .8rem; color: var(--muted); }
.itinerary { list-style: none; margin: 0; padding: 0; }
.itinerary li { position: relative; padding: 0 0 18px 46px; }
.itinerary li::before { content: ""; position: absolute; left: 17px; top: 34px; bottom: 0; width: 2px; background: var(--line); }
.itinerary li:last-child { padding-bottom: 0; }
.itinerary li:last-child::before { display: none; }
.itinerary .day-no { position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; font-weight: 800; font-size: .82rem; }
.itinerary b { display: block; padding-top: 7px; }
.itinerary p { margin: 4px 0 0; color: var(--ink-2); font-size: .92rem; }
.inc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .92rem; }
.inc-list li { display: flex; gap: 8px; align-items: flex-start; }
.inc-list .ic { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px; }
.inc-list.yes .ic { color: var(--success); }
.inc-list.no .ic { color: var(--danger-2); }
.pax-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line-2); }
.pax-row:last-child { border-bottom: 0; }
.pax-row b { display: block; font-size: .95rem; }
.pax-row span.small { color: var(--muted); }
.pax-row .qty-step { width: 132px; flex: 0 0 auto; }
.trav-card { border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin-bottom: 10px; background: #fff; }
.trav-card .trav-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-weight: 700; font-size: .9rem; }
.trav-grid { display: grid; grid-template-columns: 2fr 80px 1fr; gap: 8px; }
.trav-grid .wide { grid-column: 1 / -1; }
.trav-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
@media (max-width: 560px) { .trav-grid { grid-template-columns: 96px 1fr; } .trav-grid > :first-child { grid-column: 1 / -1; } }
.doc-list { display: grid; gap: 8px; }
.doc-item { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: .9rem; }
.doc-item .grow { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.manifest-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.manifest-table th, .manifest-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.manifest-table th { font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
@media print { .no-print, .sidebar, .panel-top, .panel-tabbar, .demo-bar, .impersonate-bar, .offline-pill, .flashes { display: none !important; } .panel-shell { margin: 0 !important; padding: 0 !important; } .manifest-table { font-size: 11px; } .card { box-shadow: none !important; break-inside: avoid; } }

/* ---------- room types */
.repeater-row.room-row { grid-template-columns: repeat(3, minmax(0, 1fr)); position: relative; align-items: end; padding: 12px 54px 12px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); gap: 10px; }
.room-row .rr { display: flex; flex-direction: column; gap: 4px; margin: 0; min-width: 0; }
.room-row .rr > span { font-size: .78rem; font-weight: 600; color: var(--ink-2); }
.room-row .rr em { font-style: normal; font-weight: 400; color: var(--muted); }
.room-row .rr input { width: 100%; min-width: 0; }
.room-row .rr select { width: 100%; min-width: 0; }
.svc-pkg-row { margin-bottom: 10px; }
form[data-unit="hour"] [data-pkg-per], form[data-unit="item"] [data-pkg-per] { display: none; }
/* add-ons: each in a light box. The name has its own line (with ×), so long names always show;
   then price · per… · max people; on the admin page a last line "Vendor gets ₹" */
.repeater-row.addon-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr) 32px; align-items: start; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.repeater-row.addon-row > :first-child { grid-column: 1 / 4; }
.repeater-row.addon-row > [data-repeater-remove] { grid-column: 4; grid-row: 1; justify-self: end; margin-top: 5px; }
.addon-row [name="addon_cap[]"] { padding-left: 10px; padding-right: 4px; }
/* a narrow card (phone, or the form's side column on a laptop): price + per… on one line, max people below */
.addon-list { container-type: inline-size; }
@media (max-width: 560px) { .repeater-row.addon-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 32px; } .repeater-row.addon-row > :first-child { grid-column: 1 / 3; } .repeater-row.addon-row > [data-repeater-remove] { grid-column: 3; } .repeater-row.addon-row > select { grid-column: 2 / 4; } }
@container (max-width: 500px) { .repeater-row.addon-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 32px; } .repeater-row.addon-row > :first-child { grid-column: 1 / 3; } .repeater-row.addon-row > [data-repeater-remove] { grid-column: 3; } .repeater-row.addon-row > select { grid-column: 2 / 4; } }
/* admin: "Vendor gets ₹" line under an add-on, room type, package or tour package */
.addon-keep, .split-keep { grid-column: 1 / -1; align-self: center; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.addon-keep .input-prefix, .split-keep .input-prefix { width: 130px; }
.addon-keep small, .split-keep small { font-weight: 400; color: var(--muted); }
.split-keep { padding-top: 8px; border-top: 1px dashed var(--line); }
/* admin: the "Vendor gets" box already shows it, so no green line under the price */
.addon-row.with-keep .earn-hint { display: none; }
.addon-row.with-keep .input-prefix.has-earn { margin-bottom: 0; }
.admin-commission { padding: 12px; border: 1px dashed var(--line); border-radius: 12px; background: var(--bg); }
.split-note { padding: 8px 10px; border-radius: 10px; background: var(--bg); font-size: .85rem; }
.seo-box > summary { cursor: pointer; padding: 8px 0; }
.seo-box[open] > summary { margin-bottom: 4px; }
.room-row .rr-name { grid-column: 1 / -1; grid-row: 1; }
.room-row .rr-desc { grid-column: 1 / -1; }
.room-row .rr-remove { position: absolute; top: 10px; right: 8px; }
.room-row .row-handle { position: absolute; top: 60px; right: 9px; width: 36px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink-2); display: grid; place-items: center; cursor: grab; touch-action: none; padding: 0; }
.room-row .row-handle[hidden] { display: none; }
.room-row .row-handle svg { width: 18px; height: 18px; fill: currentColor; }
.room-row .row-handle:focus-visible { outline: 3px solid var(--brand); outline-offset: 1px; }
.repeater-row.dragging { opacity: .6; outline: 2px dashed var(--brand); outline-offset: -2px; }
.repeater-row.dragging .row-handle { cursor: grabbing; }
@media (max-width: 420px) { .repeater-row.room-row { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-right: 50px; } }
.room-list { display: grid; gap: 10px; }
.peak-note { padding: 10px 12px; border-radius: 12px; background: #fff7e6; border: 1px solid #f3dfb1; }
.peak-note > b { display: flex; align-items: center; gap: 6px; font-size: .92rem; }
.peak-note ul { margin: 6px 0 4px; padding-left: 20px; }
.peak-note li { margin: 2px 0; }
.peak-row .rr input[type="date"] { min-height: 42px; }
.room-opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.room-opt:has(input:checked) { border-color: var(--brand); background: var(--brand-50); }
.room-opt .grow b { display: block; font-size: .95rem; }

/* ---------- announcement bar */
.announce-bar { font-size: .86rem; font-weight: 600; padding: 8px 0; }
.announce-inner { display: flex; align-items: center; gap: 10px; }
.announce-inner .grow { min-width: 0; }
.announce-bar a { color: inherit; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.announce-x { background: none; border: 0; color: inherit; opacity: .8; padding: 4px; cursor: pointer; flex: 0 0 auto; display: grid; place-items: center; }
.announce-brand { background: var(--brand); color: #fff; }
.announce-info { background: #e0f2fe; color: #075985; }
.announce-success { background: var(--success-bg); color: #14532d; }
.announce-warning { background: #fef3c7; color: #78350f; }
.announce-danger { background: #fee2e2; color: #991b1b; }
.panel-body .announce-bar .container { max-width: none; padding: 0 16px; }

/* ---------- push alerts card */
.push-box { border-color: var(--brand); }
.push-box .ic-circle { width: 40px; height: 40px; border-radius: 50%; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; flex: 0 0 auto; }
.push-box.on { border-color: var(--line); }
.push-box.on .ic-circle { background: var(--success-bg); color: var(--success); }

/* ---------- listing form: "You get ₹X" after commission */
.input-prefix.has-earn { margin-bottom: 17px; }
.earn-hint { position: absolute; left: 2px; top: calc(100% + 2px); font-size: .72rem; font-weight: 700; color: var(--success); white-space: nowrap; pointer-events: none; }
.commission-note { background: var(--success-bg); color: #14532d; border-radius: 12px; padding: 10px 12px; font-size: .84rem; line-height: 1.45; margin: 4px 0 14px; }

/* ==========================================================================
   Brand refresh: island palette, Manjari headings, quieter components
   ========================================================================== */
h1, h2, .display { font-family: var(--font-display); font-weight: 700; letter-spacing: -.015em; line-height: 1.15; }
h1 { font-size: 1.75rem; }
h2 { font-size: 1.35rem; }
.panel-body h1 { font-size: 1.5rem; }
.badge-accent { background: var(--brand-50); color: var(--brand-700); }
.dot, .side-nav .count { background: var(--coral); }
.lcard-tags .badge.feat { background: var(--coral); color: #fff; }
.bars .bar:hover i { background: var(--brand); }
.topbar { background: rgba(255, 255, 255, .97); }
.brand-mark { background: var(--brand); }
.site-footer { background: var(--deep); color: #b3c4c4; }
.site-footer a { color: #e3ecea; }
.site-footer h4 { color: var(--sand); }
.lcard { border-radius: var(--radius); }
.lcard:hover { transform: none; box-shadow: var(--shadow); }
.lcard-img { background: var(--sand); }
.lcard-title { font-weight: 650; }
.lcard .price { color: var(--deep); }
.banner { background: var(--deep); background-size: cover; background-position: center; border-radius: var(--radius); min-height: 140px; }
.banner:not([style*="background-image"]) { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.banner:not([style*="background-image"])::before { display: none; }
.banner:not([style*="background-image"]) h3 { color: var(--deep); font-family: var(--font-display); font-size: 1.35rem; }
.banner:not([style*="background-image"]) p { color: var(--ink-2); }
.banner:not([style*="background-image"]) .btn { background: var(--brand); color: #fff; }
@media (min-width: 900px) { .banner-slider .banner { flex: 1 1 0; } }
.cta-band { background: var(--deep); }
.island-pill, .island-pill:nth-child(4n+2), .island-pill:nth-child(4n+3), .island-pill:nth-child(4n+4) { background: var(--brand); }
.island-pill::before { display: none; }
.cat-icon, .cat-item:nth-child(3n+2) .cat-icon, .cat-item:nth-child(3n+3) .cat-icon { background: var(--brand-50); color: var(--brand-700); }
.chip.active, .chip:hover { background: var(--brand-50); }

/* ==========================================================================
   Home page
   ========================================================================== */
.home .site-footer { margin-top: 0; }
.h-hero { position: relative; overflow: hidden; background: var(--lagoon-pale); }
/* reef contour lines (like a sea chart) and the shoreline with surf, both flat colour */
.h-hero-reef { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--brand); pointer-events: none; }
.h-hero-reef use { stroke-width: 1.4; }
.h-hero-shore { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 34px; pointer-events: none; }
.h-hero-shore .shore { fill: var(--bg); }
.h-hero-shore .foam { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; opacity: .9; vector-effect: non-scaling-stroke; }
.h-hero-grid { position: relative; z-index: 1; display: grid; gap: 30px; padding-top: 30px; padding-bottom: 58px; }
/* become-a-vendor: same lagoon band as the home page, text only */
.v-hero-copy { position: relative; z-index: 1; padding-top: 30px; padding-bottom: 50px; }
.v-hero .h-title { font-size: clamp(2rem, 7vw, 3.1rem); max-width: 16ch; }
.v-hero .h-lede { max-width: 60ch; margin-bottom: 0; }
.v-body { padding-top: 22px; padding-bottom: 32px; }
.v-notes { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.h-title { font-weight: 800; font-family: inherit; font-size: clamp(2.15rem, 8vw, 3.7rem); line-height: 1.02; letter-spacing: -.025em; color: var(--deep); margin: 0 0 16px; max-width: 12ch; }
.h-title em { font-style: normal; color: var(--brand); }
.h-kicker { margin: 0 0 8px; font-size: .82rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-700, var(--brand)); }
.h-lede { font-size: 1.05rem; line-height: 1.6; color: var(--ink-2); max-width: 46ch; margin: 0 0 24px; }
.h-search { display: grid; grid-template-columns: 1fr; background: #fff; border: 1px solid #cfd9d9; border-radius: 14px; padding: 6px; box-shadow: 0 2px 10px rgba(15, 45, 50, .06); }
.h-field { display: flex; flex-direction: column; gap: 1px; padding: 8px 12px; margin: 0; cursor: text; }
.h-field + .h-field { border-top: 1px solid var(--line-2); }
.h-field > span { font-size: .78rem; font-weight: 650; color: var(--ink-2); }
.h-field input, .h-field select { border: 0 !important; padding: 0 !important; min-height: 28px; background-color: transparent !important; box-shadow: none !important; font-size: 16px; font-weight: 600; color: var(--ink); width: 100%; }
.h-search .btn { margin-top: 6px; min-height: 48px; }
.h-quick { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 16px 0 0; padding: 0; list-style: none; }
.h-quick a { color: var(--deep); font-weight: 650; font-size: .93rem; border-bottom: 1.5px solid rgba(11, 112, 117, .28); padding-bottom: 1px; }
.h-quick a:hover { color: var(--brand); border-color: var(--brand); }

.h-map { margin: 0; background: #f4fbfa; border: 1px solid rgba(11, 112, 117, .16); border-radius: 18px; padding: 10px 6px 12px; box-shadow: 0 2px 12px rgba(15, 45, 50, .06); }
.h-map svg { display: block; width: 100%; height: auto; max-height: 560px; }
.h-map figcaption { font-size: .78rem; color: var(--brand-700); text-align: center; margin-top: 2px; }
.h-map .grat { stroke: rgba(11, 112, 117, .22); stroke-width: 1; stroke-dasharray: 2 5; fill: none; }
.h-map .grat-l { font: 600 10.5px var(--font); fill: rgba(11, 112, 117, .65); letter-spacing: .08em; }
.h-map .isle-water { fill: var(--shallow-l); }
.h-map .isle-reef { fill: none; stroke: var(--brand); stroke-width: 3.2; stroke-linecap: round; }
.h-map .isle-name { font: 700 15px var(--font); fill: var(--deep); }
.h-map .isle-n { font: 500 12px var(--font); fill: var(--muted); }
.h-map .isle-hit { fill: transparent; }
.h-map a.isle:hover .isle-reef, .h-map a.isle:focus .isle-reef { stroke: var(--deep); stroke-width: 3; }
.h-map a.isle:hover .isle-name, .h-map a.isle:focus .isle-name { fill: var(--brand); }
.h-map a.isle:focus { outline: none; }
.h-map .note { font: 600 11px var(--font); fill: var(--brand-700); letter-spacing: .04em; }
.h-map .note-line { stroke: rgba(11, 112, 117, .45); stroke-width: 1.2; stroke-dasharray: 3 4; fill: none; }

.h-section { padding: 46px 0 6px; }
.h-section + .h-section { padding-top: 34px; }
.h-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
.h-head h2 { font-size: clamp(1.5rem, 4vw, 2.05rem); margin: 0; color: var(--deep); }
.h-head p { margin: 6px 0 0; color: var(--muted); max-width: 54ch; font-size: .95rem; }
.h-more { font-weight: 650; font-size: .92rem; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }

/* trust strip under the hero */
.h-trust { padding: 22px 0 0; }
.h-trust-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.h-trust-list li { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.h-trust-list .ic { width: 26px; height: 26px; color: var(--brand); flex: none; }
.h-trust-list b { display: block; font-size: .95rem; font-weight: 700; color: var(--deep); line-height: 1.3; }
.h-trust-list span { display: block; font-size: .84rem; color: var(--muted); margin-top: 2px; line-height: 1.4; }
@media (min-width: 900px) {
  .h-trust-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .h-trust-list li { flex-direction: row; align-items: center; gap: 14px; padding: 18px 20px; }
  .h-trust-list .ic { width: 30px; height: 30px; }
  .h-trust-list b { font-size: 1.02rem; }
}

/* category grid */
.h-cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 8px; }
.h-cats a { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; color: var(--deep); padding: 4px 2px; border-radius: 12px; }
.h-cat-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: #e2f0ee; color: var(--brand); margin-bottom: 8px; transition: transform .15s ease; }
.h-cat-ic .ic { width: 26px; height: 26px; }
.h-cats li:nth-child(3n+2) .h-cat-ic { background: #fbe9e2; color: #c2553a; }
.h-cats li:nth-child(3n+3) .h-cat-ic { background: #e5eef7; color: #2d5f8f; }
.h-cats b { font-size: .8rem; font-weight: 650; line-height: 1.25; }
.h-cats .n { font-size: .74rem; color: var(--muted); margin-top: 2px; }
.h-cats a:hover b { color: var(--brand); }
.h-cats a:hover .h-cat-ic { transform: translateY(-2px); }
@media (min-width: 640px) { .h-cats { grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 26px 10px; } .h-cats b { font-size: .9rem; } .h-cats .n { font-size: .82rem; } .h-cat-ic { width: 68px; height: 68px; border-radius: 20px; } .h-cat-ic .ic { width: 30px; height: 30px; } }

.h-guide { background: var(--deep); color: #b9caca; padding: 56px 0; margin-top: 50px; }
.h-guide h2 { color: var(--sand); font-size: clamp(1.6rem, 4.4vw, 2.3rem); max-width: 20ch; margin: 0; }
.h-guide-grid { display: grid; gap: 26px; margin-top: 30px; }
.h-guide article { border-top: 1px solid rgba(244, 237, 225, .16); padding-top: 18px; }
.h-guide h3 { color: var(--sand); font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 8px; }
.h-guide p { font-size: .93rem; line-height: 1.65; margin: 0 0 10px; color: #b9caca; }
.h-guide a { color: var(--shallow-l); font-weight: 650; font-size: .9rem; }
.h-guide article a { display: block; width: fit-content; margin-top: 6px; } /* a block can link to a booking page and its guide */
.h-guide a:hover { color: #fff; }
@media (min-width: 720px) { .h-guide-grid { grid-template-columns: repeat(2, 1fr); column-gap: 36px; } }
@media (min-width: 1100px) { .h-guide-grid { grid-template-columns: repeat(4, 1fr); } }

.h-shops { display: grid; gap: 0; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.h-shop { display: flex; gap: 12px; align-items: center; padding: 14px 2px; border-bottom: 1px solid var(--line); color: var(--ink); }
.h-shop:hover { color: var(--brand-700); }
.h-shop .avatar { background: var(--sand); color: var(--brand-700); font-family: var(--font-display); font-weight: 700; }
.h-shop b { display: block; font-weight: 650; }
.h-shop span.small { color: var(--muted); }
@media (min-width: 720px) { .h-shops { grid-template-columns: repeat(2, 1fr); column-gap: 36px; } }
@media (min-width: 1100px) { .h-shops { grid-template-columns: repeat(4, 1fr); } }

.h-cta { background: var(--brand); color: #d8ecea; padding: 54px 0; margin-top: 56px; }
.h-cta-inner { display: grid; gap: 24px; }
.h-cta h2 { color: #fff; font-size: clamp(1.6rem, 4.4vw, 2.3rem); max-width: 22ch; margin: 0 0 10px; }
.h-cta p { color: #d3e9e6; max-width: 56ch; margin: 0; line-height: 1.6; }
.h-cta-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.h-cta-actions .btn { background: var(--sand); color: var(--deep); }
.h-cta-actions .btn:hover { background: #fff; color: var(--deep); }
.h-cta-actions a:not(.btn) { color: #fff; font-weight: 650; }

@media (min-width: 640px) {
  .h-search { grid-template-columns: 1.6fr 1fr auto; align-items: center; }
  .h-field + .h-field { border-top: 0; border-left: 1px solid var(--line-2); }
  .h-search .btn { margin: 0 0 0 6px; padding: 0 24px; }
}
@media (min-width: 960px) {
  .h-hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 56px; padding-top: 56px; padding-bottom: 84px; }
  .h-hero-shore { height: 52px; }
  .v-hero-copy { padding-top: 56px; padding-bottom: 76px; }
  .h-cta-inner { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
}
@media (max-width: 639px) { .h-head { flex-direction: column; align-items: flex-start; gap: 6px; } }
/* remaining surfaces in the island palette (no gradients) */
.store-hero { background-color: var(--brand); background-image: none; }
.store-hero[style*="background-image"] { background-size: cover; background-position: center; }
.stat.hl { background: var(--brand); }
.sidebar { background: var(--deep); }
.share-card { background: var(--deep); }
.lcard-img { background: var(--sand); }

/* ---------- landing pages (category / island / hubs) */
.landing-intro { color: var(--ink-2); max-width: 70ch; line-height: 1.6; margin: 4px 0 8px; }
.landing-related { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 16px; }
.landing-related h2 { font-size: 1.1rem; margin-bottom: 8px; }
.landing-related ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.landing-related a { font-weight: 600; font-size: .9rem; }

/* ---------- listing form: notes and the advance picker */
.form-note { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: var(--brand-50); color: var(--brand-700); }
.form-note .ic { flex: none; margin-top: 2px; }
.advance-pick { max-width: 280px; margin: 0 0 12px 40px; }
@media (max-width: 480px) { .advance-pick { margin-left: 0; max-width: none; } }

/* ---------- listing form: custom cancellation policy */
.custom-policy { margin-top: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; display: grid; gap: 10px; }
.cp-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .92rem; color: var(--ink-2); }
.cp-row input[type=number] { width: 80px; }
.cp-row select { width: auto; flex: 0 1 auto; }

/* ---------- listing form: web address and photo descriptions */
.permalink-field { display: flex; flex-wrap: wrap; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; overflow: hidden; }
.permalink-field:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-50); }
.permalink-prefix { padding: 0 0 0 12px; color: var(--muted); font-size: .9rem; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.permalink-field input { border: 0 !important; box-shadow: none !important; flex: 1 1 160px; min-width: 0; padding-left: 2px !important; }
.photo-alts summary { cursor: pointer; font-weight: 650; padding: 4px 0; }
.photo-alt-row { display: flex; gap: 10px; align-items: center; margin-top: 8px; }
.photo-alt-row img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; flex: none; }
.photo-alt-row input { flex: 1; min-width: 0; }

/* ---------- guides, landing FAQs */
.guide-card { display: block; color: inherit; text-decoration: none; transition: border-color .15s; }
.guide-card:hover { border-color: var(--brand); }
.page-title .lead { font-size: 1.05rem; margin-top: 6px; }
.link-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.landing-about p { color: var(--ink-2); }
.faq-list { display: grid; gap: 8px; margin-top: 8px; }
.faq { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; background: #fff; }
.faq > summary { cursor: pointer; font-weight: 650; }
.faq[open] > summary { margin-bottom: 6px; }
.faq p { margin: 0; color: var(--ink-2); }
.guide-list { padding-left: 1.1em; }
.guide-list li { margin: 4px 0; }
