:root {
  /* Frosted Sanctuary Glass Token System (Mobile-First v6.2 · Borderless Floating Glass) */
  --canvas: #F3F0EA;
  --glass-surface: rgba(255, 253, 249, 0.72);
  --glass-hero: linear-gradient(155deg, rgba(255, 253, 249, 0.78) 0%, rgba(255, 253, 249, 0.62) 100%);
  --glass-inner: rgba(255, 253, 249, 0.56);
  --glass-pine: rgba(18, 49, 39, 0.74);
  --surface-subtle: #F7F3EC;
  --surface-solid: #FFFDF9;

  /* High-contrast accessible borders (all >= 3.6:1 on #FFFDF9) */
  --border: #76857E;
  --border-soft: rgba(22, 59, 47, 0.18);
  --border-strong: #5E7068;

  /* Brand Palette: Deep Botanical Pine + Warm Terracotta */
  --pine: #163B2F;
  --pine-hover: #0E2920;
  --pine-tint: #E6F0EC;
  --terracotta: #8F340D;
  --terracotta-bg: #FDECE3;

  /* Typography Colors */
  --ink: #17211D;
  --ink-muted: #42504A;

  /* Semantic Review Tones */
  --ok-bg: #E7F4EC;
  --ok-text: #12452D;
  --warn-bg: #FDF0E7;
  --warn-text: #7A2E0D;

  /* Marketplace Accent Outlines */
  --shopee: #B23016;
  --tokped: #046216;

  /* Semantic Radius Scale: Badges 8px, Controls 10px, Media/Panes 16px, Shells 20px, Pills 999px */
  --r-xs: 8px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-pill: 999px;

  /* Borderless Glass Depth (Zero White Outline: Soft Ambient Shadow + Hairline Dark Contact) */
  --sh-glass-bar: 0 8px 28px rgba(18, 42, 34, 0.10), 0 0 0 0.5px rgba(18, 42, 34, 0.08);
  --sh-glass-hero: 0 4px 16px rgba(18, 42, 34, 0.05);
  --sh-float: 0 6px 20px rgba(22, 59, 47, 0.08);
  --sh-overlay: 0 18px 42px rgba(14, 41, 32, 0.22);

  /* Touch/Pointer Seamless Soft Glow & Keyboard High-Contrast Ring */
  --focus-glow: 0 0 0 3px rgba(22, 59, 47, 0.14);
  --kbd-ring: 0 0 0 2px #163B2F;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Fraunces", Georgia, serif;
  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --header-offset: 64px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: var(--font-sans);
  /* Upper botanical horizon wash gives Header + Hero glass real tonal depth to refract; fades smoothly to solid canvas below */
  background-color: var(--canvas);
  background-image:
    radial-gradient(ellipse 68% 360px at 14% 0px, rgba(96, 148, 122, 0.34), transparent 72%),
    radial-gradient(ellipse 60% 340px at 86% 20px, rgba(214, 152, 102, 0.32), transparent 70%),
    linear-gradient(180deg, #E8ECE5 0px, #EFECE5 360px, var(--canvas) 540px);
  background-repeat: no-repeat;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: clip;
}

input, button, select, textarea, table, th, td {
  font-family: var(--font-sans);
}

section[id] { scroll-margin-top: 88px; }

a[href], button, summary, label[for] {
  cursor: pointer;
  touch-action: manipulation;
}
button:active:not(:disabled), a.ota-row:active, a.market-link:active {
  transform: scale(0.985);
}
button:disabled { cursor: not-allowed; opacity: 0.55; }

/* Seamless Focus: No border jump or gap on touch/mouse; crisp high-contrast Pine ring on keyboard Tab */
:focus { outline: none; }
:focus-visible {
  outline: none;
  box-shadow: var(--kbd-ring);
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (max-width: 640px) {
  .container { padding: 0 14px; }
}

.lucide {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* Slim Single-Row Sticky Header (Frosted Glass Surface #1 of 4) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 8px 0;
  transition: padding 0.2s var(--ease);
}
.site-header.scrolled { padding: 6px 0; }

.header-glass {
  background: var(--glass-surface);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: none;
  box-shadow: var(--sh-glass-bar);
  border-radius: var(--r-md);
  padding: 4px 12px;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--ink);
  min-height: 44px;
  flex-shrink: 0;
}
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  background: var(--pine);
  color: #FFFDF9;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  position: relative;
}
.brand-mark::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #E0703B;
  position: absolute;
  right: 5px;
  bottom: 6px;
}
.brand-wordmark {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--pine);
  line-height: 1;
}
.brand-tld {
  font-family: var(--font-sans);
  color: var(--terracotta);
  font-size: 13px;
  font-weight: 700;
}

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s;
}
.nav-link .nav-short { display: none; }
.nav-link[aria-current="location"],
.nav-link[aria-current="page"] {
  background: var(--pine-tint);
  color: var(--pine);
  font-weight: 700;
}
@media (hover: hover) and (pointer: fine) {
  .nav-link:hover { background: var(--pine-tint); color: var(--pine); }
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: var(--r-pill);
  background: rgba(22, 59, 47, 0.08);
  border: 1px solid rgba(22, 59, 47, 0.12);
  flex-shrink: 0;
}
.lang-btn {
  position: relative;
  border: none;
  background: transparent;
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
  min-width: 40px;
  height: 34px;
  padding: 0 10px;
  border-radius: var(--r-pill);
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.lang-btn::after {
  content: "";
  position: absolute;
  inset: -6px -2px;
}
.lang-btn[aria-pressed="true"] {
  background: var(--pine);
  color: #FFFFFF;
}

.desktop-compare-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--pine);
  background: var(--surface-solid);
  color: var(--pine);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}
.desktop-compare-btn.has-items,
.desktop-compare-btn[aria-current="page"] { background: var(--pine); color: #FFFFFF; }
@media (hover: hover) and (pointer: fine) {
  .desktop-compare-btn:hover { background: var(--pine); color: #FFFFFF; }
}

.compare-badge {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: var(--r-xs);
  background: var(--pine-tint);
  color: var(--pine);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.desktop-compare-btn.has-items .compare-badge,
.desktop-compare-btn[aria-current="page"] .compare-badge {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}

/* Precision Responsive Navigation (Skema 2: Zero Hamburger!)
   - Desktop >= 1025px: Full Top Navbar
   - Tablet 768px - 1024px: Compact Top Navbar (fits cleanly in 1 row)
   - Mobile <= 767px: Brand + EN|ID Top Header + Frosted Glass 4-Tab Bottom Navbar */
@media (min-width: 768px) and (max-width: 1024px) {
  .header-glass { gap: 8px; padding: 4px 10px; }
  .brand-wordmark { font-size: 18px; }
  .nav-links { gap: 2px; }
  .nav-link { font-size: 13px; padding: 8px 9px; }
  .nav-link .nav-full { display: none; }
  .nav-link .nav-short { display: inline; }
  .desktop-compare-btn { padding: 8px 10px; font-size: 13px; }
}

.mobile-bottom-nav {
  display: none;
}

@media (max-width: 767px) {
  .nav-links, .desktop-compare-btn { display: none; }
  .header-glass {
    justify-content: space-between;
    min-height: 48px;
    padding: 2px 12px;
  }
  .mobile-bottom-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    z-index: 85;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    padding: 6px;
    background: var(--glass-surface);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: none;
    box-shadow: var(--sh-glass-bar);
    border-radius: var(--r-md);
  }
  .bottom-nav-item {
    position: relative;
    min-height: 50px;
    padding: 6px 4px;
    border: none;
    border-radius: var(--r-sm);
    background: transparent;
    color: var(--ink-muted);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.1;
    transition: background 0.18s var(--ease), color 0.18s;
  }
  .bottom-nav-item .lucide { width: 18px; height: 18px; }
  .bottom-nav-item[aria-current="location"],
  .bottom-nav-item[aria-current="page"] {
    background: var(--pine-tint);
    color: var(--pine);
  }
  .bottom-nav-item.has-items:not([aria-current="page"]) {
    color: var(--pine);
  }
  .bottom-nav-item[aria-current="page"].has-items {
    background: var(--pine);
    color: #FFFFFF;
  }
  .bottom-nav-badge {
    display: none;
    position: absolute;
    top: 4px;
    right: calc(50% - 20px);
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: var(--r-pill);
    background: var(--terracotta);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    line-height: 17px;
    text-align: center;
    font-variant-numeric: tabular-nums;
  }
  .bottom-nav-badge.show { display: block; }
}

/* Compact Mobile-First Editorial Hero (Crisp Warm Surface; Glass Reserved for Floating Chrome) */
.hero { padding: 4px 0 2px; }
.hero-surface {
  background: var(--surface-solid);
  border: 1px solid var(--border-soft);
  box-shadow: var(--sh-glass-hero);
  border-radius: var(--r-lg);
  padding: 20px 22px 16px;
}
@media (max-width: 680px) {
  .hero { padding: 2px 0 0; }
  .hero-surface { padding: 11px 12px 10px; border-radius: var(--r-md); }
}

.hero-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-soft);
}
@media (max-width: 860px) {
  .hero-top { grid-template-columns: 1fr; gap: 6px; padding-bottom: 8px; }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(23px, 3.1vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.45px;
  color: var(--ink);
  margin-bottom: 6px;
  max-width: 26ch;
  text-wrap: balance;
}
.hero-lead {
  font-size: 14px;
  color: var(--ink-muted);
  max-width: 56ch;
  line-height: 1.52;
}
@media (max-width: 680px) {
  .hero h1 { font-size: 21px; line-height: 1.18; margin-bottom: 4px; }
  .hero-lead { font-size: 13px; line-height: 1.42; }
}

.trust-strip {
  display: grid;
  gap: 10px;
  background: var(--glass-inner);
  border: 1px solid rgba(22, 59, 47, 0.10);
  border-radius: var(--r-md);
  padding: 13px 14px;
}
@media (max-width: 860px) { .trust-strip { display: none; } }
.trust-row { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--ink-muted); line-height: 1.44; }
.trust-row strong { color: var(--ink); display: block; font-size: 13px; font-weight: 700; }
.trust-icon-pill { width: 28px; height: 28px; border-radius: var(--r-xs); background: var(--pine-tint); color: var(--pine); display: grid; place-items: center; flex-shrink: 0; margin-top: 2px; }

/* Custom Form Controls */
.control-bar {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.1fr;
  gap: 10px;
  align-items: end;
}
@media (max-width: 880px) { .control-bar { grid-template-columns: 1fr 1fr; gap: 8px; } }
@media (max-width: 680px) { .control-bar { margin-top: 8px; gap: 6px; } }
@media (max-width: 540px) { .field.span-full-mobile { grid-column: 1 / -1; } }

.field label, .field .field-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--pine);
  margin-bottom: 4px;
}
@media (max-width: 680px) {
  .field label, .field .field-label { margin-bottom: 2px; }
}

.input-wrap { position: relative; display: flex; align-items: center; }
.input-wrap .field-icon { position: absolute; left: 12px; color: var(--ink-muted); pointer-events: none; }

.search-input,
.custom-trigger {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-sm);
  background: var(--surface-solid);
  font-size: 16px;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.search-input { padding-left: 38px; }
.search-input:focus,
.custom-trigger:focus,
.custom-trigger[aria-expanded="true"] {
  border-color: var(--pine);
  box-shadow: var(--focus-glow);
}
.search-input:focus-visible,
.custom-trigger:focus-visible {
  border-color: var(--pine);
  box-shadow: var(--kbd-ring);
}

.custom-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
}
.custom-trigger-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.custom-trigger .chevron-ic { color: var(--pine); transition: transform 0.22s var(--ease); }
.custom-trigger[aria-expanded="true"] .chevron-ic { transform: rotate(180deg); }

.date-summary-bar {
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px dashed var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-muted);
}
.date-summary-main { color: var(--pine); font-weight: 700; }
.date-summary-note { font-size: 12px; }
@media (max-width: 680px) {
  .date-summary-bar { margin-top: 7px; padding-top: 6px; font-size: 12px; }
  .date-summary-note { display: none; }
}

/* Filter Chips (Border >= 3.6:1 contrast on white + Mobile Swipe Fade Indicator) */
.filter-toolbar { padding: 10px 0 4px; }
.filter-strip { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 768px) {
  .filter-toolbar { padding: 6px 0 2px; }
  .filter-strip {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 0 28px 4px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    mask-image: linear-gradient(to right, #000 0%, #000 calc(100% - 34px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, #000 0%, #000 calc(100% - 34px), transparent 100%);
  }
  .filter-strip::-webkit-scrollbar { display: none; }
}

.chip {
  min-height: 44px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--border);
  background: var(--surface-solid);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.chip[aria-pressed="true"] { background: var(--pine); color: #FFFFFF; border-color: var(--pine); }
.chip-count {
  font-size: 12px;
  padding: 1px 7px;
  border-radius: var(--r-pill);
  background: var(--pine-tint);
  color: var(--pine);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.chip[aria-pressed="true"] .chip-count { background: rgba(255, 255, 255, 0.22); color: #FFFFFF; }

.results-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 8px 0 12px;
  font-size: 13px;
  color: var(--ink-muted);
}
@media (max-width: 680px) {
  .results-bar { margin: 4px 0 8px; }
}
.results-left { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.reset-inline {
  display: none;
  align-items: center;
  min-height: 44px;
  padding: 6px 13px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--terracotta);
  background: var(--terracotta-bg);
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 700;
}
.reset-inline.visible { display: inline-flex; }

.sort-wrap { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; }
.sort-wrap .sort-lbl { font-size: 13px; font-weight: 700; color: var(--ink-muted); flex-shrink: 0; }
.sort-trigger {
  min-height: 44px;
  padding: 8px 12px;
  font-size: 13px;
  width: auto;
  max-width: 100%;
}

/* HOTEL CARDS - Crisp Solid Surface, Zero Resting Shadows (R-12) */
.hotel-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }

.hotel-card {
  background: var(--surface-solid);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 332px;
  min-width: 0;
  max-width: 100%;
  transition: border-color 0.2s var(--ease);
}
.hotel-card.is-compared {
  border-color: var(--pine);
  box-shadow: 0 0 0 1.5px var(--pine);
}
@media (hover: hover) and (pointer: fine) {
  .hotel-card:hover { border-color: var(--border); }
}

.hotel-main-col {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-right: 1px solid var(--border-soft);
}

.card-top-grid {
  display: grid;
  grid-template-columns: 336px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  flex: 1;
}
@media (max-width: 1060px) {
  .card-top-grid { grid-template-columns: 276px minmax(0, 1fr); gap: 14px; }
}

.photo-sticky-wrap { position: relative; }

.photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md);
  overflow: hidden;
  background: #E2DDD3;
  border: 1px solid var(--border-soft);
}
.hotel-scroll-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
@media (min-width: 921px) {
  .hotel-scroll-body .utility-btns {
    margin-top: auto;
    padding-top: 10px;
  }
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Frosted Dark-Pine Glass Pill directly over Hotel Photo */
.visited-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--glass-pine);
  backdrop-filter: blur(14px) saturate(170%);
  -webkit-backdrop-filter: blur(14px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--r-xs);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Airbnb-style Frosted Glass WhatsApp Share Icon Button (Top-Right of Photo, 44x44 HIG Target) */
.photo-share-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 253, 249, 0.86);
  backdrop-filter: blur(14px) saturate(170%);
  -webkit-backdrop-filter: blur(14px) saturate(170%);
  box-shadow: 0 4px 14px rgba(18, 42, 34, 0.18), 0 0 0 0.5px rgba(18, 42, 34, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform 0.16s var(--ease), background 0.16s var(--ease);
}
.photo-share-btn::after {
  content: "";
  position: absolute;
  inset: -2px;
}
@media (hover: hover) and (pointer: fine) {
  .photo-share-btn:hover { background: rgba(255, 253, 249, 0.96); }
}
.photo-share-btn:active { transform: scale(0.94); }
.photo-share-btn .wa-brand-ic { width: 24px; height: 24px; }

@media (max-width: 920px) {
  .hotel-card {
    display: block;
    border-radius: var(--r-md);
    overflow: hidden;
  }
  .hotel-main-col { display: contents; }
  .card-top-grid { display: contents; }
  .photo-frame { aspect-ratio: 16 / 10; }

  .photo-sticky-wrap {
    position: relative;
    background: var(--surface-solid);
    padding: 10px 10px 0;
    border-radius: var(--r-md) var(--r-md) 0 0;
  }

  .hotel-scroll-body {
    position: relative;
    padding: 10px 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    background: var(--surface-solid);
  }
}

.card-kicker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}
.hotel-kicker {
  font-size: 12px;
  font-weight: 700;
  color: var(--pine);
  line-height: 1.35;
  min-width: 0;
}
.hotel-name {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.3px;
  margin-bottom: 5px;
}
@media (max-width: 640px) { .hotel-name { font-size: 20px; } }

.score-inline-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: var(--r-xs);
  background: transparent;
  border: 1px solid var(--border);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  flex-shrink: 0;
}
.score-inline-chip .score-denom { font-weight: 600; color: var(--ink-muted); }
.score-inline-chip .lucide { width: 12px; height: 12px; fill: var(--ink); stroke: var(--ink); }

.signals-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.age-pill {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--terracotta);
  background: var(--terracotta-bg);
  padding: 3px 9px;
  border-radius: var(--r-xs);
  white-space: nowrap;
}

.hotel-summary { font-size: 14px; color: var(--ink-muted); line-height: 1.48; }

.tag-item {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
  background: var(--surface-subtle);
  border: 1px solid var(--border-soft);
  padding: 3px 9px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}

.utility-btns { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
@media (max-width: 640px) {
  .utility-btns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }
  .utility-btns .util-btn {
    justify-content: center;
    padding: 8px 11px;
    white-space: nowrap;
  }
}
.util-btn {
  min-height: 44px;
  padding: 8px 13px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border-strong);
  background: var(--surface-solid);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.util-btn.active { background: var(--pine); color: #FFFFFF; border-color: var(--pine); }
.util-btn.detail-btn {
  border-color: var(--pine);
  color: var(--pine);
  background: var(--pine-tint);
}
.util-btn.detail-btn .detail-chev { transition: transform 0.25s var(--ease); }
.util-btn.detail-btn[aria-expanded="true"] .detail-chev { transform: rotate(180deg); }
.util-btn.wa-share { border-color: #16803C; color: #116830; }
.wa-brand-ic { width: 19px; height: 19px; display: block; flex-shrink: 0; }

/* Exclusive Inline Detail Drawer */
.inline-detail-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease);
}
.inline-detail-wrap.open { grid-template-rows: 1fr; }
.inline-detail-inner { overflow: hidden; }
.inline-detail-content {
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 620px) { .review-grid { grid-template-columns: 1fr; } }

.pros-box, .cons-box {
  border-radius: var(--r-sm);
  padding: 13px 14px;
  font-size: 13px;
}
.pros-box { background: var(--ok-bg); color: var(--ok-text); }
.cons-box { background: var(--warn-bg); color: var(--warn-text); }
.pros-box h3, .cons-box h3 {
  font-size: 15.5px;
  line-height: 1.3;
  letter-spacing: -0.1px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 7px;
}
.pros-box ul, .cons-box ul { padding-left: 17px; }
.pros-box li, .cons-box li { margin-bottom: 4px; line-height: 1.48; }

.tip-note {
  background: var(--surface-subtle);
  border: 1px solid var(--border-soft);
  padding: 11px 13px;
  border-radius: var(--r-sm);
  font-size: 13px;
  color: var(--ink);
}

/* Right Rate Column - Subtle Warm Botanical Wash so Frosted OTA Panes Refract Naturally */
.rate-column {
  background: linear-gradient(165deg, #EDF2EC 0%, #F5F1E9 56%, #F4EBE1 100%);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 9px;
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
}
@media (max-width: 920px) {
  .rate-column {
    position: relative;
    z-index: 1;
    padding: 12px 14px 14px;
    gap: 10px;
    border-top: 1px solid var(--border-soft);
    border-radius: 0 0 var(--r-md) var(--r-md);
  }
}

.rate-head { padding-bottom: 7px; border-bottom: 1px solid var(--border-soft); }
.rate-label { font-size: 12px; font-weight: 700; color: var(--ink-muted); }
.rate-range {
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--ink);
  margin: 2px 0;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.3px;
}
.rate-sub { font-size: 12px; color: var(--ink-muted); }

/* 100% Uniform Frosted Glass 3 OTA Rows (Borderless Glass Family, Zero Left Stripe) */
.ota-stack { display: grid; gap: 9px; }
.ota-row {
  width: 100%;
  min-height: 68px;
  padding: 11px 13px;
  border-radius: var(--r-md);
  border: none;
  background: rgba(255, 253, 249, 0.68);
  backdrop-filter: blur(14px) saturate(165%);
  -webkit-backdrop-filter: blur(14px) saturate(165%);
  box-shadow: 0 4px 16px rgba(18, 42, 34, 0.06), 0 0 0 0.5px rgba(18, 42, 34, 0.10);
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .ota-row:hover {
    background: rgba(255, 253, 249, 0.88);
    box-shadow: 0 8px 22px rgba(18, 42, 34, 0.10), 0 0 0 1px rgba(22, 59, 47, 0.24);
  }
}

.ota-brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  flex: 1;
}
.ota-logo-slot {
  width: 120px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
}
.ota-svg-logo {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: left center;
}
/* Optically balanced within uniform 120x28 slot (authentic aspect ratios preserved) */
.ota-svg-logo.logo-traveloka { height: 23px; }
.ota-svg-logo.logo-agoda { height: 28px; }
.ota-svg-logo.logo-tiket { height: 22px; }

@media (max-width: 920px) {
  .ota-stack { gap: 10px; }
  .ota-row {
    min-height: 74px;
    padding: 12px 14px;
  }
  .ota-brand-col { gap: 9px; }
}

.ota-note-line {
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.ota-cta-pill {
  padding: 8px 13px;
  border-radius: var(--r-sm);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(22, 59, 47, 0.16);
  color: var(--pine);
  background: rgba(22, 59, 47, 0.08);
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.ota-row:active .ota-cta-pill { background: var(--pine); color: #FFFFFF; border-color: var(--pine); }
@media (hover: hover) and (pointer: fine) {
  .ota-row:hover .ota-cta-pill { background: var(--pine); color: #FFFFFF; border-color: var(--pine); }
}

/* Pagination */
.load-more-wrap { text-align: center; margin-top: 20px; }
.btn-load-more {
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--pine);
  background: var(--surface-solid);
  color: var(--pine);
  font-size: 14px;
  font-weight: 700;
  transition: background 0.18s, color 0.18s;
}
@media (hover: hover) and (pointer: fine) {
  .btn-load-more:hover { background: var(--pine); color: #FFFFFF; }
}

.state-box {
  background: var(--surface-solid);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 20px;
  text-align: center;
}
.state-box.error-state { border-color: var(--terracotta); background: #FFFBF8; }
.state-box h2 { font-family: var(--font-display); font-size: 19px; margin-bottom: 8px; }
.state-box p { font-size: 14px; color: var(--ink-muted); max-width: 460px; margin: 0 auto 14px; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: var(--r-sm);
  border: none;
  background: var(--pine);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
}

/* Section Rhythm Variation (R-05): Open Editorial Gear Shelf + Asymmetric Ledger Method */
.gear-section {
  margin: 40px 0 32px;
  padding-top: 26px;
  border-top: 1px solid var(--border-soft);
}

.panel-head { margin-bottom: 18px; }
.panel-head h2 {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 5px;
}
.panel-head p { font-size: 14px; color: var(--ink-muted); max-width: 62ch; }

.method-section {
  margin: 32px 0;
  background: var(--surface-solid);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 820px) {
  .method-section {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px 16px;
    border-radius: var(--r-md);
  }
}

/* Gear Catalog: Strict 3x2 Desktop Grid + 2x3 Mobile Grid */
.gear-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 780px) {
  .gear-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
@media (max-width: 380px) {
  .gear-grid { grid-template-columns: 1fr; }
}

.gear-card {
  background: var(--surface-solid);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.gear-thumb {
  width: 100%;
  aspect-ratio: 5 / 4;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-soft);
  overflow: hidden;
}
.gear-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gear-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  flex: 1;
}
.gear-card h3 { font-size: 14px; font-weight: 700; line-height: 1.35; color: var(--ink); margin-bottom: 4px; }
.gear-price { font-size: 13px; font-weight: 700; color: var(--pine); font-variant-numeric: tabular-nums; }

.gear-actions { display: grid; grid-template-columns: 1fr; gap: 7px; }
@media (min-width: 641px) { .gear-actions { grid-template-columns: 1fr 1fr; } }
.market-link {
  min-height: 44px;
  padding: 6px 10px;
  border-radius: var(--r-sm);
  font-size: 12px;
  font-weight: 700;
  background: var(--surface-solid);
  border: 1.5px solid var(--border-strong);
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.market-link.shopee { border-color: var(--shopee); color: var(--shopee); }
.market-link.tokped { border-color: var(--tokped); color: var(--tokped); gap: 5px; }
.market-logo-shopee { height: 20px; width: auto; max-width: 100%; display: block; }
.market-logo-tokped-ic { height: 19px; width: auto; display: block; flex-shrink: 0; }
.market-logo-tokped { height: 16px; width: auto; max-width: calc(100% - 22px); display: block; }

/* Asymmetric Editorial Ledger for Methodology (R-05 Variation) */
.method-intro { display: flex; flex-direction: column; gap: 12px; }
.method-meta-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.update-pill {
  font-size: 12px;
  font-weight: 700;
  color: var(--pine);
  background: var(--pine-tint);
  padding: 4px 10px;
  border-radius: var(--r-xs);
}

.accordion-list { display: grid; border-top: 1px solid var(--border-soft); }
.acc-item {
  background: transparent;
  border-bottom: 1px solid var(--border-soft);
  overflow: hidden;
}
.acc-trigger {
  width: 100%;
  min-height: 52px;
  padding: 12px 4px;
  border: none;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
}
.acc-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.acc-weight {
  font-size: 13px;
  font-weight: 700;
  color: var(--pine);
  background: var(--pine-tint);
  padding: 3px 9px;
  border-radius: var(--r-xs);
  font-variant-numeric: tabular-nums;
  min-width: 48px;
  text-align: center;
  flex-shrink: 0;
}
.acc-chev { color: var(--pine); transition: transform 0.25s var(--ease); }
.acc-trigger[aria-expanded="true"] .acc-chev { transform: rotate(180deg); }

.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.26s var(--ease); }
.acc-panel.open { grid-template-rows: 1fr; }
.acc-panel-inner { overflow: hidden; }
.acc-panel-text { padding: 0 4px 14px 60px; font-size: 13px; color: var(--ink-muted); line-height: 1.54; }
@media (max-width: 540px) { .acc-panel-text { padding-left: 4px; } }

/* Radar Kamis Banner (Clean Flat Deep Pine, Zero Shadow Float) */
.radar-section {
  background: var(--pine);
  color: #FFFFFF;
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.radar-section h2 { font-family: var(--font-display); font-size: 20px; margin-bottom: 5px; }
.radar-section p { font-size: 14px; color: #DFECE6; max-width: 58ch; }
.radar-cta {
  min-height: 46px;
  padding: 11px 18px;
  border-radius: var(--r-sm);
  border: none;
  background: #FFFDF9;
  color: var(--pine);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-soft);
  background: var(--surface-subtle);
  padding: 24px 0 38px;
  font-size: 13px;
  color: var(--ink-muted);
}
@media (max-width: 767px) {
  footer { padding-bottom: calc(108px + env(safe-area-inset-bottom)); }
}
.footer-disclosure { line-height: 1.6; max-width: 78ch; }
.footer-disclosure strong { color: var(--pine); display: block; margin-bottom: 4px; font-size: 14px; }
.footer-meta {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
  font-size: 13px;
}

/* Floating Comparison Dock (Dark Frosted Glass, Near-Invisible Edge) */
.compare-dock {
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translate(-50%, calc(100% + 120px));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 80;
  width: min(700px, calc(100% - 24px));
  background: rgba(18, 49, 39, 0.78);
  backdrop-filter: blur(20px) saturate(175%);
  -webkit-backdrop-filter: blur(20px) saturate(175%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border-radius: var(--r-md);
  padding: 10px 12px;
  box-shadow: var(--sh-overlay);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  transition: transform 0.32s var(--ease), opacity 0.24s var(--ease), visibility 0.32s;
}
.compare-dock.open {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.dock-chips { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; flex: 1; }
.dock-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: var(--r-pill);
  padding: 4px 6px 4px 11px;
  font-size: 12px;
  font-weight: 600;
  max-width: 185px;
}
.dock-item span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-remove {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.26);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.dock-actions { display: inline-flex; align-items: center; gap: 8px; }
.dock-clear {
  min-height: 44px;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
}
.dock-go {
  min-height: 44px;
  padding: 8px 16px;
  border-radius: var(--r-sm);
  border: none;
  background: #FFFDF9;
  color: var(--pine);
  font-size: 13px;
  font-weight: 700;
}

/* Modals & Mobile Sheets (Clean Dark Scrim, Zero Blur - R-10) */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(14, 32, 26, 0.58);
  z-index: 100;
  place-items: center;
  padding: 14px;
  overflow-y: auto;
}
.modal-backdrop.open { display: grid; }
@media (max-width: 640px) {
  .modal-backdrop.sheet-mobile { align-items: end; padding: 0; }
  .modal-backdrop.sheet-mobile .modal-box {
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    max-height: 88vh;
    width: 100%;
    padding: 16px 14px 22px;
  }
}

.modal-box {
  background: var(--surface-solid);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 20px;
  box-shadow: var(--sh-overlay);
}
.modal-box.narrow { max-width: 440px; }
.modal-box.medium { max-width: 540px; }

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.modal-head h2 { font-family: var(--font-display); font-size: 19px; color: var(--ink); }
.modal-close-x {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border);
  background: var(--surface-solid);
  color: var(--ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.sheet-option-list { display: grid; gap: 6px; }
.sheet-option {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border-radius: var(--r-sm);
  border: 1.5px solid transparent;
  background: var(--surface-subtle);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
}
.sheet-option.selected {
  background: var(--pine-tint);
  border-color: var(--pine);
  color: var(--pine);
  font-weight: 700;
}

/* Custom Indonesian Calendar UI */
.cal-presets { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.cal-preset-btn {
  min-height: 44px;
  padding: 6px 13px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border);
  background: var(--surface-solid);
  color: var(--pine);
  font-size: 12px;
  font-weight: 700;
}
.cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-month-title { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--ink); }
.cal-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border);
  background: var(--surface-solid);
  color: var(--pine);
  display: grid;
  place-items: center;
}
.cal-weekdays, .cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-weekdays span { font-size: 12px; font-weight: 700; color: var(--ink-muted); padding-bottom: 6px; }
.cal-day {
  min-height: 44px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  display: grid;
  place-items: center;
}
.cal-day.past { color: #B4BDB8; cursor: not-allowed; }
.cal-day.in-range { background: var(--pine-tint); color: var(--pine); font-weight: 700; }
.cal-day.edge { background: var(--pine); color: #FFFFFF; font-weight: 700; }
.cal-footer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.cal-footer-preview { font-size: 13px; font-weight: 700; color: var(--pine); }

/* TRUE SIDE-BY-SIDE COMPARISON MATRIX (L-22 & L-23 Fix!)
   Desktop: Sticky-header <table> | Mobile (<= 680px): True 50/50 Side-by-Side with Sticky Hotel Header! */
.matrix-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.matrix-add-btn {
  min-height: 44px;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--pine);
  background: var(--pine-tint);
  color: var(--pine);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.matrix-scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto;
  touch-action: pan-x pan-y;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  background: var(--surface-solid);
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
  background: var(--surface-solid);
  table-layout: fixed;
}
.compare-table th, .compare-table td {
  padding: 10px 11px;
  border-bottom: 1px solid var(--border-soft);
  border-right: 1px solid var(--border-soft);
  vertical-align: top;
  text-align: left;
}
.compare-table th:last-child, .compare-table td:last-child { border-right: none; }
.compare-table tr:last-child td, .compare-table tr:last-child th { border-bottom: none; }

/* Sticky Column Header keeps Hotel Names + Photos visible while scrolling rows! */
.compare-table thead th {
  position: sticky;
  top: 0;
  z-index: 6;
  background: #F7F3EC;
  border-bottom: 1.5px solid var(--border);
}
.compare-table tbody th.row-label {
  width: 132px;
  background: var(--surface-subtle);
  font-size: 12px;
  font-weight: 700;
  color: var(--pine);
}

/* Mobile Full-Width Group Label Rows + 50/50 Hotel Columns Side by Side! */
.compare-table tr.mobile-crit-row { display: none; }
@media (max-width: 680px) {
  .compare-table .desktop-only-col { display: none; }
  .compare-table tr.mobile-crit-row { display: table-row; }
  .compare-table tr.mobile-crit-row th {
    background: var(--pine-tint);
    color: var(--pine);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 10px;
    border-right: none;
  }
  .compare-table.cols-3 { min-width: 510px; }
  .compare-table th, .compare-table td { padding: 9px 9px; font-size: 12.5px; }
  .matrix-hotel-title { font-size: 13.5px; }
}

.matrix-col-picker {
  width: 100%;
  min-height: 44px;
  padding: 6px 9px;
  margin-bottom: 7px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border-strong);
  background: var(--surface-solid);
  color: var(--pine);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  text-align: left;
}
.matrix-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--r-sm);
  margin-bottom: 6px;
  display: block;
}
.matrix-hotel-title { font-family: var(--font-display); font-size: 15px; color: var(--ink); line-height: 1.24; }
.matrix-ota-stack { display: grid; gap: 6px; }
.matrix-ota-link {
  min-height: 44px;
  padding: 7px 9px;
  border-radius: var(--r-xs);
  border: 1.5px solid var(--pine);
  background: var(--surface-solid);
  color: var(--pine);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}
@media (hover: hover) and (pointer: fine) {
  .matrix-ota-link:hover { background: var(--pine); color: #FFFFFF; }
}

.radar-preview-card {
  background: var(--surface-subtle);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: 15px;
  font-size: 14px;
  line-height: 1.6;
  margin: 10px 0 16px;
}
.radar-preview-card strong { color: var(--pine); }

/* Back-to-Top Floating Button (Matching Borderless Frosted Glass Family) */
.back-to-top {
  position: fixed;
  right: 16px;
  bottom: 20px;
  z-index: 75;
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  border: none;
  background: var(--glass-surface);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  color: var(--pine);
  box-shadow: var(--sh-glass-bar);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), bottom 0.3s var(--ease), background 0.18s, color 0.18s;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top.dock-open { bottom: 92px; }
.back-to-top:active { background: var(--pine); color: #FFFFFF; }
@media (hover: hover) and (pointer: fine) {
  .back-to-top:hover { background: var(--pine); color: #FFFFFF; }
}
@media (max-width: 767px) {
  .compare-dock { bottom: calc(80px + env(safe-area-inset-bottom)); }
  .back-to-top { bottom: calc(80px + env(safe-area-inset-bottom)); }
  .back-to-top.dock-open { bottom: calc(198px + env(safe-area-inset-bottom)); }
}

/* Top-Centered Toast */
.toast {
  position: fixed;
  left: 50%;
  top: 68px;
  transform: translate(-50%, -18px);
  z-index: 120;
  background: var(--pine);
  color: #FFFFFF;
  border-radius: var(--r-sm);
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--sh-overlay);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease);
  max-width: calc(100vw - 28px);
  text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Multi-Page Inner Hero & Dedicated Page Modules (/compare/, /essentials/, /scoring/) */
.page-hero {
  background: var(--surface-solid);
  border: 1px solid var(--border-soft);
  box-shadow: var(--sh-glass-hero);
  border-radius: var(--r-lg);
  padding: 20px 22px 18px;
  margin-top: 4px;
}
.page-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--terracotta);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 6px;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin-bottom: 8px;
}
.page-hero p {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.55;
  max-width: 72ch;
}
@media (max-width: 680px) {
  .page-hero { padding: 14px 14px 14px; border-radius: var(--r-md); }
  .page-hero h1 { font-size: 22px; }
}

.compare-date-strip {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  gap: 10px;
  align-items: end;
}
@media (max-width: 680px) {
  .compare-date-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .compare-date-strip .compare-share-wrap {
    grid-column: 1 / -1;
  }
}

.compare-matrix-card {
  margin-top: 16px;
  background: var(--surface-solid);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 16px;
}
@media (max-width: 680px) {
  .compare-matrix-card { padding: 12px; border-radius: var(--r-md); }
}

.compare-toolbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-secondary {
  min-height: 44px;
  padding: 9px 14px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--pine);
  background: var(--surface-solid);
  color: var(--pine);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .btn-secondary:hover { background: var(--pine-tint); }
}

.gear-note {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.48;
  margin-top: 4px;
}
@media (max-width: 640px) {
  .gear-note { font-size: 12px; line-height: 1.42; }
}

.page-section-gap { margin-top: 16px; }
.scoring-page-wrap .method-section { margin-top: 16px; }
.scoring-page-wrap .radar-section { margin-top: 16px; margin-bottom: 24px; }
.essentials-page-wrap .gear-section { margin-top: 16px; margin-bottom: 24px; }
.compare-page-wrap { margin-bottom: 24px; }
.compare-page-wrap .matrix-scroll { max-height: none; overscroll-behavior-y: auto; }
.compare-page-wrap .matrix-scroll.is-empty { overflow: visible; border: none; background: transparent; }

/* Clean Print Stylesheet */
@media print {
  .site-header, .mobile-bottom-nav, .control-bar, .filter-toolbar, .utility-btns,
  .ota-stack, .load-more-wrap, .radar-section, .compare-dock, .back-to-top,
  .toast, .modal-backdrop { display: none !important; }
  body { background: #FFFFFF; color: #000000; font-size: 11pt; }
  .hero-surface, .page-hero, .hotel-card, .method-section, .compare-matrix-card {
    box-shadow: none !important;
    border: 1px solid #CCCCCC !important;
    background: #FFFFFF !important;
    break-inside: avoid;
  }
  .hotel-card { display: block !important; margin-bottom: 14pt; padding: 10pt; }
  .photo-sticky-wrap { position: static !important; border-bottom: none !important; max-width: 180pt; }
  .inline-detail-wrap { grid-template-rows: 1fr !important; }
  .acc-panel { grid-template-rows: 1fr !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .header-glass, .mobile-bottom-nav, .hero-surface, .page-hero, .back-to-top, .ota-row, .photo-share-btn {
    background: var(--surface-solid);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .visited-pill, .compare-dock {
    background: var(--pine);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
