:root {
  --brand: #1b5e3b;
  --brand-deep: #12452d;
  --brand-hover: #144a2e;
  --brand-tint: #e8f5ee;
  --brand-pale: #f3f8f5;
  --surface: #ffffff;
  --surface-page: #f7faf8;
  --surface-search: #f3f6f4;
  --surface-muted: #f0f0f0;
  --border-subtle: #e2e9e4;
  --border-ds: #dce6df;
  --border-green: #d9e7de;
  --border-search: #e4ebe6;
  --border-nav: #e5ece7;
  --divider: #dadce0;
  --ink-black: #000000;
  --ink-dark: #1a1a1a;
  --ink-body: #3d3d3d;
  --ink-muted: #595959;
  --danger: #e33629;
  --danger-bg: #fdeceb;
  --blue-read: #4a90d9;

  --font-display: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --shadow-card: 0 2px 8px rgba(15, 41, 26, 0.05);
  --shadow-card-hover: 0 8px 20px rgba(27, 94, 59, 0.09);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-card: 14px;
  --radius-lg: 16px;
  --radius-pill: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background-color: var(--surface);
  color: var(--ink-black);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100%;
  overflow-x: hidden;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  color: inherit;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
}

/* =========================================================
   App Shell (Mobile-First 360–430px matching Figma 1:1)
   ========================================================= */
.app-shell {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--surface);
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.app-header.has-border {
  border-bottom-color: var(--border-subtle);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.header-top-row {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 56px;
}

.brand-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  cursor: pointer;
}

.brand-wordmark img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.brand-wordmark span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 24px;
  color: var(--brand);
  letter-spacing: 0.01em;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 6px;
  margin-right: auto;
}

.desktop-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-muted);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.desktop-nav-btn:hover {
  background: var(--surface-search);
  color: var(--brand);
}

.desktop-nav-btn.is-active {
  background: var(--brand-tint);
  color: var(--brand);
  font-weight: 600;
}

.desktop-nav-btn img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.desktop-cta-btn {
  display: none;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  background: var(--brand);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.desktop-cta-btn:hover {
  background: var(--brand-hover);
  transform: translateY(-1px);
}

.desktop-cta-btn img {
  width: 15px;
  height: 15px;
  object-fit: contain;
}

.auth-pill-btn {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 11px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-green);
  background: var(--brand-tint);
  color: var(--brand);
  font-size: 11px;
  font-weight: 600;
}

.icon-action-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  transition: background-color 0.15s ease;
}

.icon-action-btn:hover {
  background: var(--surface-search);
}

.icon-action-btn img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.badge-dot {
  position: absolute;
  top: 3px;
  right: 3px;
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  border-radius: var(--radius-pill);
  background: var(--brand);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #fff;
}

/* Search Bar (Exact Figma: 44px height, #F3F6F4, #E4EBE6, r=12px) */
.header-search-wrap {
  padding-bottom: 12px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 10px 0 14px;
  background: var(--surface-search);
  border: 1px solid var(--border-search);
  border-radius: 12px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.search-box:focus-within {
  border-color: var(--brand);
  background: #ffffff;
}

.search-box img {
  width: 17px;
  height: 17px;
  object-fit: contain;
  flex-shrink: 0;
}

.search-box input {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-size: 12px;
  color: var(--ink-dark);
}

.search-box input::placeholder {
  color: var(--ink-muted);
}

.search-clear {
  font-size: 16px;
  color: var(--ink-muted);
  padding: 2px 6px;
  line-height: 1;
}

/* Sub-page Top Bar */
.subpage-header {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 56px;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-left: -8px;
  transition: background-color 0.15s ease;
}

.back-btn:hover {
  background: var(--surface-search);
}

.back-btn img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.subpage-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink-black);
  margin: 0;
  margin-right: auto;
}

.subpage-title--large {
  font-size: 21px;
  font-weight: 700;
}

/* Main Content Area (20px mobile side margins matching Design System) */
.app-main {
  flex: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px 84px;
}

.app-main.no-bottom-nav {
  padding-bottom: 104px;
}

/* =========================================================
   Mobile Bottom Navigation (Exact Figma Navigasi utama — 62px)
   ========================================================= */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 45;
  height: 62px;
  background: var(--surface);
  border-top: 1px solid var(--border-nav);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 7px 9px 7px;
}

.bottom-nav-item {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--ink-muted);
  font-size: 9px;
  line-height: 1.35;
  font-weight: 400;
}

.bottom-nav-item img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.bottom-nav-item.is-active {
  color: var(--brand);
  font-weight: 700;
}

.bottom-nav-fab {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  background: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(27, 94, 59, 0.22);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.bottom-nav-fab:hover {
  background: var(--brand-hover);
  transform: scale(1.04);
}

.bottom-nav-fab img {
  width: 23px;
  height: 23px;
  object-fit: contain;
}

/* =========================================================
   Section Headings & Chips (Exact Figma Beranda/Jelajah/Aktivitas)
   ========================================================= */
.section-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.section-title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink-black);
}

.section-title--muted {
  color: var(--ink-muted);
}

.section-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
}

.section-link:hover {
  text-decoration: underline;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  padding: 0 11px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border-green);
  color: var(--brand);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.chip--home {
  font-size: 10.5px;
  padding: 0 10px;
}

.chip:hover {
  background: var(--brand-tint);
}

.chip.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
  font-weight: 600;
}

.chip img {
  width: 13px;
  height: 13px;
  object-fit: contain;
}

.filter-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--surface-search);
  border: 1px solid var(--border-subtle);
  color: var(--ink-body);
  font-size: 11px;
  font-weight: 500;
}

.filter-toggle-btn.is-active {
  background: var(--brand-tint);
  border-color: var(--brand);
  color: var(--brand);
}

.filter-panel {
  background: var(--brand-pale);
  border: 1px solid var(--border-ds);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-panel-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.filter-select {
  height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--border-ds);
  background: #ffffff;
  font-size: 11.5px;
  color: var(--ink-dark);
}

/* =========================================================
   Beranda — Hero Banner, Cards, Kurasi KOTA (Exact Figma 1:2407)
   ========================================================= */
.hero-banner {
  background: var(--brand);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  min-height: 104px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(27, 94, 59, 0.18);
}

.hero-banner-copy {
  flex: 1;
  padding: 14px 8px 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  color: #ffffff;
}

.hero-eyebrow {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.95;
}

.hero-headline {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.hero-cta-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 9.5px;
  font-weight: 500;
  margin-top: 1px;
}

.hero-cta-inline img {
  width: 12px;
  height: 12px;
  object-fit: contain;
}

.hero-banner-media {
  width: 120px;
  flex-shrink: 0;
  position: relative;
}

.hero-banner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Listing Grid Cards (Exact Figma: 2 cols on mobile, 8px radius, 153:110 photo) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.listing-card.home-desktop-extra {
  display: none;
}

.listing-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.listing-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-green);
}

.listing-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 153 / 110;
  background: var(--surface-search);
  overflow: hidden;
}

.listing-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.listing-card:hover .listing-card-media img {
  transform: scale(1.03);
}

/* Keep mobile Jelajah thumbnails clean like Figma; show quick fav on desktop hover */
.card-fav-btn {
  display: none;
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  font-size: 13px;
  color: var(--brand);
}

.card-fav-btn.is-liked {
  color: var(--danger);
}

.listing-card-body {
  padding: 8px 9px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.listing-card-badge {
  font-size: 10px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.02em;
  line-height: 1.35;
}

.listing-card-title {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink-black);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.listing-card-sub {
  margin: 0;
  font-size: 10px;
  color: var(--ink-muted);
  line-height: 1.35;
}

/* Kurasi KOTA Strip (Exact Figma: #E8F5EE, r=10px, 8px 10px) */
.kurasi-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border-radius: 10px;
  background: var(--brand-tint);
  color: var(--brand);
  font-size: 10.5px;
  font-weight: 500;
  text-align: left;
  transition: background-color 0.15s ease;
}

.kurasi-strip:hover {
  background: #daf0e4;
}

.kurasi-strip img:first-child {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.kurasi-strip span {
  flex: 1;
}

.kurasi-strip img:last-child {
  width: 15px;
  height: 15px;
  object-fit: contain;
  flex-shrink: 0;
}

/* =========================================================
   Aktivitas — List Rows (Exact Figma 1:3691)
   ========================================================= */
.activity-list {
  display: flex;
  flex-direction: column;
}

.activity-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--divider);
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.activity-row:last-child {
  border-bottom: none;
}

.activity-row:hover {
  background: rgba(232, 245, 238, 0.35);
}

.activity-thumb {
  width: 90px;
  height: 70px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--surface-search);
}

.activity-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.activity-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.activity-title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.activity-meta {
  margin: 0;
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.35;
}

.like-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.15s ease;
}

.like-btn:hover {
  background: var(--brand-tint);
}

.like-btn img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.like-btn.is-liked {
  color: var(--danger);
  font-size: 20px;
}

/* =========================================================
   Detail Listing & Detail Aktivitas / Booking
   ========================================================= */
.detail-layout {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.detail-hero-photo {
  position: relative;
  margin: -14px -20px 0;
  aspect-ratio: 355 / 252;
  background: var(--surface-search);
  overflow: hidden;
}

.detail-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-counter {
  position: absolute;
  right: 16px;
  bottom: 14px;
  background: #ffffff;
  color: var(--ink-body);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 11px;
  border-radius: 13px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.detail-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.price-method-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.detail-price {
  margin: 0;
  font-size: 25px;
  font-weight: 700;
  color: var(--brand);
  line-height: 1.25;
}

.detail-price-unit {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-muted);
}

.method-badge {
  background: var(--brand-tint);
  color: var(--brand);
  font-size: 15px;
  font-weight: 500;
  padding: 9px 13px;
  border-radius: 8px;
}

.tag-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
}

.tag-pill--green {
  background: var(--brand-tint);
  color: var(--brand);
}

.tag-pill--gray {
  background: var(--surface-muted);
  color: var(--ink-muted);
}

.tag-pill--danger {
  background: var(--danger-bg);
  color: var(--danger);
}

.detail-title {
  margin: 4px 0 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink-black);
}

.location-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  font-size: 12px;
  color: var(--ink-muted);
}

.location-row img {
  width: 11px;
  height: 14px;
  object-fit: contain;
}

.info-green-box {
  background: var(--brand-tint);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.info-green-box h4 {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
}

.safety-note {
  background: var(--brand-pale);
  border: 1px solid var(--border-ds);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--ink-body);
}

.bullet-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-body);
}

.bullet-list li::before {
  content: '•';
  color: var(--brand);
  font-weight: 700;
  flex-shrink: 0;
}

.provider-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 12px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
}

.provider-card img.provider-avatar {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
}

.provider-meta {
  flex: 1;
  min-width: 0;
}

.provider-meta strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-black);
}

.provider-meta span {
  display: block;
  font-size: 12px;
  color: var(--brand);
  margin-top: 2px;
}

.provider-card img.chevron {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.sticky-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 45;
  background: var(--surface);
  border-top: 1px solid var(--border-subtle);
  padding: 12px 20px 18px;
}

.sticky-action-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  gap: 9px;
  align-items: center;
}

/* Buttons (Minimum 44px touch target per Design System) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.btn:active {
  transform: scale(0.99);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-sm {
  min-height: 36px;
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 8px;
}

.btn-full {
  width: 100%;
}

.btn-flex {
  flex: 1;
}

.btn-primary {
  background: var(--brand);
  color: #ffffff;
  border: 1px solid var(--brand);
}

.btn-primary:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
}

.btn-outline {
  background: var(--surface);
  color: var(--brand);
  border: 1px solid var(--brand);
}

.btn-outline:hover {
  background: var(--brand-tint);
}

.btn-danger-outline {
  background: var(--surface);
  color: var(--danger);
  border: 1px solid #f4c7c3;
}

.btn-danger-outline:hover {
  background: var(--danger-bg);
}

.btn-subtle {
  background: var(--surface-muted);
  color: var(--ink-body);
}

/* =========================================================
   Promo Claim, Voucher Code, Booking Receipt, Map
   ========================================================= */
.narrow-container {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.merchant-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 12px;
  border-radius: 14px;
  background: var(--brand-tint);
}

.merchant-banner--bordered {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
}

.avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.avatar-circle--tint {
  background: var(--brand-tint);
  color: var(--brand);
}

.date-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.date-cell {
  height: 52px;
  border-radius: 9px;
  background: var(--surface-muted);
  color: var(--ink-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.date-cell:hover {
  background: #e2ebe5;
  color: var(--brand);
}

.date-cell.is-selected {
  background: var(--brand);
  color: #ffffff;
}

.date-cell .day {
  font-size: 9px;
  font-weight: 500;
}

.date-cell .num {
  font-size: 15px;
  font-weight: 600;
}

.price-compare-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-muted);
}

.price-strike {
  text-decoration: line-through;
  font-size: 13px;
}

.price-special {
  font-size: 24px;
  font-weight: 700;
  color: var(--brand);
}

.voucher-code-box {
  background: var(--brand-tint);
  border: 1.5px dashed var(--brand);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.voucher-code-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  text-align: left;
  font-size: 11px;
}

.voucher-code-value {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--brand);
  margin: 4px 0;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--brand-tint);
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.map-illustration {
  position: relative;
  height: 150px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: linear-gradient(135deg, #edf4ef 0%, #e4efe8 50%, #eef4f0 100%);
  overflow: hidden;
}

.map-road-h {
  position: absolute;
  left: -10%;
  right: -10%;
  height: 14px;
  background: #ffffff;
  transform: rotate(-4deg);
}

.map-road-v {
  position: absolute;
  top: -10%;
  bottom: -10%;
  width: 14px;
  background: #ffffff;
  transform: rotate(8deg);
}

.map-area-label {
  position: absolute;
  top: 12px;
  left: 14px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

.map-pin-wrap {
  position: absolute;
  top: 50%;
  left: 52%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 8px;
}

.map-pin-wrap img {
  width: 16px;
  height: 20px;
  object-fit: contain;
}

.map-pin-label {
  background: #ffffff;
  color: var(--brand);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.map-caption {
  position: absolute;
  bottom: 10px;
  left: 12px;
  background: rgba(255, 255, 255, 0.85);
  font-size: 10px;
  color: var(--ink-muted);
  padding: 3px 8px;
  border-radius: 6px;
}

/* Booking Stepper & Perks */
.stepper-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}

.stepper-controls {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.stepper-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
}

.stepper-btn--minus {
  background: var(--surface-muted);
  color: var(--ink-muted);
}

.stepper-btn--plus {
  background: var(--brand-tint);
  color: var(--brand);
}

.perk-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-body);
}

.perk-item img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}

/* =========================================================
   PIN & OTP Digit Boxes (WF-1c 6-digit OTP, WF-15 4-digit PIN)
   ========================================================= */
.digit-grid {
  display: grid;
  gap: 8px;
  max-width: 340px;
  margin: 0 auto;
  width: 100%;
}

.digit-grid--6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.digit-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 260px;
}

.digit-box {
  height: 52px;
  border-radius: 12px;
  border: 1.5px solid var(--border-ds);
  background: var(--surface-search);
  text-align: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-dark);
}

.digit-box:focus {
  border-color: var(--brand);
  background: #ffffff;
}

/* Consent Checkboxes (WF-1b) */
.consent-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: var(--surface);
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-body);
  cursor: pointer;
}

.consent-row input[type='checkbox'] {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--brand);
  flex-shrink: 0;
}

/* =========================================================
   Chat / Pesan (Exact Figma 1:3543 & 1:3624 on Mobile)
   ========================================================= */
.chat-shell {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.chat-list-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-list-bleed {
  margin: 0 -20px;
}

.chat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--surface);
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: background-color 0.15s ease;
}

.chat-item.is-unread {
  background: var(--brand-tint);
}

.chat-item.is-selected {
  outline: 1.5px solid var(--brand);
  border-radius: 10px;
}

.chat-item:hover {
  background: #dff1e7;
}

.chat-item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.chat-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.chat-item-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-black);
}

.chat-item-time {
  font-size: 10px;
  font-weight: 600;
  color: var(--brand);
}

.chat-item-listing {
  font-size: 11px;
  font-weight: 500;
  color: var(--brand);
}

.chat-item-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-body);
}

.chat-item-preview span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-thread-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-context-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border: 1px solid var(--brand);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 220px;
  max-height: 360px;
  overflow-y: auto;
  padding: 4px 2px;
}

.chat-day-divider {
  text-align: center;
  font-size: 10px;
  font-weight: 500;
  color: var(--ink-muted);
  margin: 4px 0;
}

.msg-row {
  display: flex;
}

.msg-row.is-me {
  justify-content: flex-end;
}

.msg-bubble {
  max-width: 80%;
  padding: 7px 10px 5px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.42;
  color: var(--ink-body);
}

.msg-row.is-them .msg-bubble {
  background: var(--surface-muted);
  border-bottom-left-radius: 3px;
}

.msg-row.is-me .msg-bubble {
  background: var(--brand-tint);
  border-bottom-right-radius: 3px;
}

.msg-time {
  display: block;
  text-align: right;
  font-size: 9px;
  color: var(--ink-muted);
  margin-top: 2px;
}

.msg-row.is-me .msg-time {
  color: var(--brand);
}

.meetup-card {
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--surface);
}

.meetup-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 11.5px;
  border-bottom: 1px solid var(--border-subtle);
}

.meetup-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.meetup-row .label {
  width: 88px;
  color: var(--ink-muted);
  flex-shrink: 0;
}

.meetup-row .value {
  color: var(--brand);
  font-weight: 500;
}

.chat-composer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

.chat-composer input {
  flex: 1;
  height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: var(--surface-muted);
  font-size: 12px;
  outline: none;
}

.chat-composer input:focus {
  border-color: var(--brand);
  background: #ffffff;
}

.chat-send-btn {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.chat-send-btn img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* =========================================================
   Akun / Saya, Booking & Voucher, Listing Saya, Validasi Kode
   ========================================================= */
.profile-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--brand-tint);
  border-radius: 16px;
  width: 100%;
  text-align: left;
}

.profile-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.profile-avatar img {
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.menu-group {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
}

.menu-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 60px;
  padding: 0 14px;
  background: var(--surface);
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
  transition: background-color 0.15s ease;
}

.menu-row:last-child {
  border-bottom: none;
}

.menu-row:hover {
  background: var(--surface-search);
}

.menu-row-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu-row-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.menu-row-label {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-body);
}

.menu-row-label--danger {
  color: var(--danger);
}

.menu-row img.chevron {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.summary-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: var(--brand-tint);
  border-radius: 14px;
  padding: 12px 0;
}

.summary-stats--3 {
  grid-template-columns: repeat(3, 1fr);
}

.stat-cell {
  text-align: center;
}

.stat-cell strong {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--brand);
}

.stat-cell span {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-muted);
}

.segmented-control {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  background: var(--surface-muted);
  padding: 3px;
  border-radius: 12px;
}

.segmented-control--2 {
  grid-template-columns: repeat(2, 1fr);
}

.segmented-control--4 {
  grid-template-columns: repeat(4, 1fr);
}

.segmented-btn {
  height: 32px;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-body);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.segmented-btn.is-active {
  background: var(--brand);
  color: #ffffff;
  font-weight: 600;
}

.booking-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 13px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.booking-code-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--brand-tint);
  padding: 6px 10px;
  border-radius: 6px;
}

.booking-code-strip strong {
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--brand);
}

.booking-code-strip span {
  font-size: 10.5px;
  color: var(--ink-muted);
}

.muted-note-box {
  background: var(--surface-muted);
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-muted);
}

/* =========================================================
   Buat Listing Category Cards & Form (Exact Figma 1:3768)
   ========================================================= */
.create-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.create-cat-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 13px 14px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.create-cat-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
  box-shadow: var(--shadow-card-hover);
}

.create-cat-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.create-cat-head img.cat-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.create-cat-head h3 {
  flex: 1;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-black);
}

.create-cat-head img.chevron {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.create-cat-desc {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-muted);
}

.mini-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mini-tag {
  background: var(--brand-tint);
  color: var(--brand);
  font-size: 10px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 6px;
}

.tips-box {
  background: var(--surface-muted);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tips-head {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
}

.tips-head img {
  width: 12px;
  height: 16px;
  object-fit: contain;
}

.tips-box p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-muted);
}

/* Form Elements */
.form-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-black);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: var(--surface-search);
  font-size: 13px;
  color: var(--ink-black);
  outline: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--brand);
  background: #ffffff;
}

.form-textarea {
  min-height: 88px;
  resize: vertical;
}

.photo-upload-preview {
  display: flex;
  gap: 10px;
  align-items: center;
}

.photo-slot {
  width: 82px;
  height: 82px;
  border-radius: 10px;
  border: 1.5px dashed var(--border-green);
  background: var(--brand-pale);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--brand);
  overflow: hidden;
  cursor: pointer;
}

.photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================================================
   Welcome / Onboarding Flow (1:2021)
   ========================================================= */
.welcome-screen {
  min-height: 100dvh;
  background: var(--brand);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
}

.welcome-screen::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 36%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.2), transparent);
  pointer-events: none;
}

.welcome-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.welcome-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.welcome-logo-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.welcome-logo-badge img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.welcome-logo span {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.75px;
}

.welcome-tagline {
  margin: 0;
  font-family: var(--font-display);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.welcome-headline {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
}

.welcome-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: 100%;
}

.pillar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.pillar-item .emoji {
  font-size: 20px;
  line-height: 28px;
}

.pillar-item span {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.72);
}

.welcome-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.auth-btn {
  width: 100%;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.12s ease, opacity 0.15s ease;
}

.auth-btn:hover {
  opacity: 0.94;
}

.auth-btn img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.auth-btn--google {
  background: #ffffff;
  color: var(--brand);
}

.auth-btn--apple {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.auth-link {
  font-family: var(--font-display);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  padding: 4px;
}

.welcome-legal {
  margin: 0;
  font-size: 10px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.45);
}

/* Goal Onboarding Cards */
.goal-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  border-radius: 14px;
  border: 1.5px solid var(--border-subtle);
  background: var(--surface);
  text-align: left;
  width: 100%;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.goal-card.is-selected {
  border-color: var(--brand);
  background: var(--brand-tint);
}

.goal-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--border-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  margin-left: auto;
}

.goal-card.is-selected .goal-check {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
}

/* Modal Backdrop (Report Listing / Legal) */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(18, 32, 24, 0.48);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
}

.modal-sheet {
  width: 100%;
  max-width: 460px;
  background: #ffffff;
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 85dvh;
  overflow-y: auto;
}

/* Empty State & Toast */
.empty-state {
  text-align: center;
  padding: 36px 20px;
  border: 1px dashed var(--border-green);
  border-radius: 14px;
  background: var(--surface-search);
  color: var(--ink-muted);
  font-size: 13px;
}

.toast-root {
  position: fixed;
  left: 50%;
  bottom: 78px;
  transform: translateX(-50%);
  z-index: 95;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  background: var(--ink-dark);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  white-space: nowrap;
  animation: toastIn 0.2s ease;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   Responsive Breakpoints — Tablet (>= 768px) & Desktop (>= 1024px)
   ========================================================= */
@media (min-width: 768px) {
  body {
    background: var(--surface-page);
  }

  .app-shell {
    background: var(--surface-page);
  }

  .app-header {
    border-bottom-color: var(--border-subtle);
  }

  .header-top-row {
    height: 66px;
    gap: 14px;
  }

  .brand-wordmark {
    margin-right: 24px;
  }

  .desktop-nav {
    display: flex;
  }

  .desktop-cta-btn {
    display: inline-flex;
  }

  .bottom-nav {
    display: none;
  }

  .app-main {
    padding: 28px 28px 56px;
  }

  .app-main.no-bottom-nav {
    padding-bottom: 56px;
  }

  .header-search-wrap {
    padding-bottom: 16px;
  }

  .search-box {
    max-width: 520px;
  }

  .hero-banner {
    min-height: 196px;
    border-radius: 20px;
  }

  .hero-banner-copy {
    padding: 28px 32px;
    gap: 10px;
  }

  .hero-eyebrow {
    font-size: 11px;
  }

  .hero-headline {
    font-size: 28px;
    line-height: 1.25;
  }

  .hero-cta-inline {
    font-size: 13px;
    margin-top: 6px;
  }

  .hero-banner-media {
    width: 320px;
  }

  .section-title {
    font-size: 17px;
  }

  .chip {
    height: 34px;
    padding: 0 14px;
    font-size: 12.5px;
  }

  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .listing-card.home-desktop-extra {
    display: flex;
  }

  .card-fav-btn {
    display: inline-flex;
  }

  .listing-card {
    border-radius: 12px;
  }

  .listing-card-body {
    padding: 12px 14px 14px;
    gap: 4px;
  }

  .listing-card-title {
    font-size: 14px;
  }

  .listing-card-sub {
    font-size: 12px;
  }

  .kurasi-strip {
    padding: 12px 16px;
    font-size: 13px;
  }

  .activity-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .activity-row {
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 12px;
  }

  .activity-row:last-child {
    border-bottom: 1px solid var(--border-subtle);
  }

  .create-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .detail-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
    align-items: start;
  }

  .detail-hero-photo {
    margin: 0;
    border-radius: 18px;
    position: sticky;
    top: 90px;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-card);
  }

  .detail-content {
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    padding: 24px;
  }

  .sticky-action-bar {
    position: static;
    border-top: none;
    padding: 14px 0 0;
    background: transparent;
  }

  .chat-list-bleed {
    margin: 0;
  }

  .chat-item {
    padding: 12px 14px;
    border-radius: 10px;
  }

  .chat-shell--split {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 20px;
    align-items: start;
  }

  .chat-list-panel,
  .chat-thread-panel {
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 16px;
  }

  .modal-backdrop {
    align-items: center;
  }

  .toast-root {
    bottom: 28px;
  }
}

@media (min-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  .hero-banner-media {
    width: 400px;
  }
}
