/**
 * app-mobile.css v2 — Mobile app layout (referensi design)
 * Drawer kiri, hamburger kiri + logo kanan, tanpa bottom tab bar.
 */

/* Drawer hanya untuk mobile — di desktop HTML tetap ada tapi disembunyikan */
.m-drawer {
  display: none;
}

@media (max-width: 991px) {
  body.page-shell {
    background: #f3f4f6;
    padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  }

  body.page-shell.has-mobile-action {
    padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
  }

  body.m-drawer-open {
    overflow: hidden;
  }

  .mobile-tabbar {
    display: none !important;
  }

  /* ─── Top navbar: hamburger kiri, logo kanan ─── */
  .navbar.m-topnav {
    background: #fff;
    border-bottom: none;
    box-shadow: none;
    padding-top: max(0.5rem, env(safe-area-inset-top));
    padding-bottom: 0.5rem;
  }

  .navbar.m-topnav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding-left: max(0.75rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.75rem, env(safe-area-inset-right, 0px));
  }

  .navbar.m-topnav .navbar-brand,
  .navbar.m-topnav .navbar-toggler,
  .navbar.m-topnav .navbar-collapse {
    display: none !important;
  }

  .m-nav-hamburger {
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    color: var(--ink);
    font-size: 1.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
  }

  .m-nav-brand {
    margin-left: auto;
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--ink);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: -0.03em;
  }

  .m-nav-brand i {
    color: var(--primary);
  }

  .navbar.m-topnav--light .m-nav-hamburger,
  .navbar.m-topnav--light .m-nav-brand {
    color: #fff;
  }

  .navbar.m-topnav--light .m-nav-brand i {
    color: #fff;
  }

  /* ─── Drawer slide dari kiri ─── */
  .m-drawer {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 2000;
    pointer-events: none;
  }

  .m-drawer.open {
    pointer-events: auto;
  }

  .m-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: opacity 0.28s ease;
  }

  .m-drawer.open .m-drawer__backdrop {
    opacity: 1;
  }

  .m-drawer__panel {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(288px, 86vw);
    background: #fff;
    transform: translateX(-100%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 32px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    padding-top: max(0.75rem, env(safe-area-inset-top));
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
  }

  .m-drawer.open .m-drawer__panel {
    transform: translateX(0);
  }

  .m-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem 1rem;
    border-bottom: 1px solid var(--border-soft, #eee);
  }

  .m-drawer__title {
    font-weight: 800;
    font-size: 1rem;
    color: var(--ink);
  }

  .m-drawer__title i {
    color: var(--primary);
  }

  .m-drawer__close {
    width: 36px;
    height: 36px;
    border: none;
    background: #f3f4f6;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .m-drawer__nav {
    display: flex;
    flex-direction: column;
    padding: 0.75rem;
    gap: 0.25rem;
  }

  .m-drawer__link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    border: none;
    background: transparent;
    color: var(--ink);
    font-family: inherit;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
  }

  .m-drawer__link i {
    font-size: 1.1rem;
    color: var(--muted);
    width: 1.25rem;
  }

  .m-drawer__link.active {
    background: #f3f4f6;
    color: var(--ink);
  }

  .m-drawer__link.active i {
    color: var(--primary);
  }

  .m-drawer__user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    margin: 0.35rem 0 0.5rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--border-soft, #eee);
    border-radius: 16px;
    background: #fafaf9;
    color: inherit;
    font-family: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
  }

  .m-drawer__user:hover,
  .m-drawer__user:focus-visible {
    background: var(--primary-light, #fff4e6);
    border-color: rgba(224, 134, 0, 0.25);
    outline: none;
  }

  .m-drawer__user-avatar {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--primary-light, #fff4e6);
    color: var(--primary-dark, #aa4c0a);
    font-size: 0.85rem;
    font-weight: 800;
  }

  .m-drawer__user-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.2;
  }

  .m-drawer__user-hello {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--muted);
  }

  .m-drawer__user-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* ─── Auth hero (login / register) ─── */
  body.auth-page {
    background: #111;
  }

  .auth-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.58) 100%),
      url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=900&q=80') center/cover no-repeat;
  }

  .auth-hero__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: max(0.75rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-left)) 0 max(1rem, env(safe-area-inset-right));
  }

  .auth-hero__nav .m-nav-hamburger,
  .auth-hero__nav .m-nav-brand {
    color: #fff;
  }

  .auth-hero__nav .m-nav-brand i {
    color: #fff;
  }

  .auth-hero__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem max(1.25rem, env(safe-area-inset-left)) 1rem max(1.25rem, env(safe-area-inset-right));
  }

  .auth-hero__title {
    color: #fff;
    font-size: 2.15rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    text-transform: uppercase;
    margin-bottom: 0.65rem;
  }

  .auth-hero__sub {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.92rem;
    line-height: 1.5;
    max-width: 17rem;
  }

  .auth-hero__actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 0 max(1.25rem, env(safe-area-inset-left)) max(1.25rem, env(safe-area-inset-bottom)) max(1.25rem, env(safe-area-inset-right));
  }

  .auth-hero__btn {
    width: 100%;
    min-height: 52px;
    border-radius: 999px;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
  }

  .auth-hero__btn--dark {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(224, 134, 0, 0.35);
  }

  .auth-hero__btn--light {
    background: #fff;
    color: #111;
  }

  .auth-sheet {
    position: fixed;
    inset: 0;
    z-index: 1500;
    pointer-events: none;
  }

  .auth-sheet.open {
    pointer-events: auto;
  }

  .auth-sheet__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.25s ease;
  }

  .auth-sheet.open .auth-sheet__backdrop {
    opacity: 1;
  }

  .auth-sheet__panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 88vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 24px 24px 0 0;
    padding: 1.25rem max(1rem, env(safe-area-inset-left)) max(1.25rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-right));
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .auth-sheet.open .auth-sheet__panel {
    transform: translateY(0);
  }

  .auth-sheet__handle {
    width: 40px;
    height: 4px;
    background: #e5e7eb;
    border-radius: 999px;
    margin: 0 auto 1rem;
  }

  .auth-sheet .form-label {
    font-weight: 600;
    font-size: 0.85rem;
  }

  .auth-sheet .form-control {
    border: none;
    background: #f3f4f6;
    border-radius: 12px;
    padding: 0.7rem 1rem;
    font-size: 16px;
  }

  .auth-sheet .btn-primary {
    background: #111;
    border: none;
    border-radius: 999px;
    padding: 0.75rem;
    font-weight: 700;
    width: 100%;
  }

  .auth-desktop-wrap {
    display: none;
  }

  .site-footer {
    display: none;
  }

  /* ─── Index: sembunyikan landing hero, tampilkan Explore ─── */
  .page-header--landing {
    display: none !important;
  }

  .m-explore-head {
    padding: 0.25rem 0 0.85rem;
  }

  .m-explore-head__title {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin: 0;
  }

  .m-explore-head__meta {
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 0.25rem;
  }

  .section-heading .section-title {
    display: none !important;
  }

  .page-header--compact {
    display: none !important;
  }

  /* ─── Search bar explore ─── */
  .m-search-bar {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: #fff;
    border-radius: 999px;
    padding: 0.65rem 1rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 0.85rem;
  }

  .m-search-bar i {
    color: var(--muted);
    font-size: 1.1rem;
  }

  .m-search-bar input {
    border: none;
    background: transparent;
    flex: 1;
    font-family: inherit;
    font-size: 16px;
    outline: none;
    color: var(--ink);
  }

  .m-search-bar input::placeholder {
    color: #9ca3af;
  }

  .search-panel .search-panel__grid,
  .search-panel .search-panel__grid--finance,
  .search-panel .search-panel__actions {
    display: none;
  }

  body.m-user-logged .search-panel .m-search-bar,
  .m-explore-toolbar .m-search-bar {
    display: flex;
  }

  .m-explore-toolbar {
    padding: 0 max(0.85rem, env(safe-area-inset-left)) 0.5rem max(0.85rem, env(safe-area-inset-right));
  }

  /* ─── Filter chips ─── */
  .m-filter-chips {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.35rem;
    margin-bottom: 0.85rem;
  }

  .m-filter-chips::-webkit-scrollbar {
    display: none;
  }

  .m-chip {
    flex: 0 0 auto;
    border: none;
    background: #fff;
    color: var(--ink);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    white-space: nowrap;
  }

  .m-chip.active {
    background: var(--ink);
    color: #fff;
  }

  /* ─── Listing section ─── */
  .listing-section,
  .page-content {
    padding-top: 0.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  .section-heading {
    margin-bottom: 0.85rem;
  }

  .section-heading .section-title {
    font-size: 1.05rem !important;
  }

  .section-meta {
    font-size: 0.78rem !important;
    padding: 0.35rem 0.7rem !important;
  }

  .site-footer {
    margin-top: 1rem;
  }

  /* ─── Property card (referensi) ─── */
  .m-property-list {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
  }

  .m-property-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  }

  .m-property-card__media {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
  }

  .m-property-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .m-property-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    right: auto;
    width: max-content;
    max-width: calc(100% - 5.5rem);
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    text-transform: capitalize;
    z-index: 2;
    white-space: nowrap;
  }

  .m-property-card__badge.subsidi {
    background: rgba(22, 163, 74, 0.92);
    color: #fff;
  }

  .m-property-card__badge.komersil {
    background: rgba(37, 99, 235, 0.92);
    color: #fff;
  }

  .m-property-card__rank {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #111;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    z-index: 2;
  }

  .m-property-card__fav {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .m-property-card__body {
    padding: 0.95rem 1rem 1rem;
  }

  .m-property-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
  }

  .m-property-card__title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin: 0;
  }

  .m-property-card__price {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--ink);
    white-space: nowrap;
  }

  .m-property-card__loc {
    font-size: 0.8rem;
    color: #9ca3af;
    margin: 0 0 0.35rem;
    line-height: 1.35;
  }

  .m-property-card__dev {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0 0 0.75rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #6b7280;
    min-width: 0;
  }

  .m-property-card__dev i {
    color: var(--primary);
    font-size: 0.85rem;
    flex-shrink: 0;
  }

  .m-property-card__dev span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .m-property-card__specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.75rem;
  }

  .m-property-card__specs span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: #4b5563;
    background: #f3f4f6;
    padding: 0.42rem 0.65rem;
    border-radius: 999px;
  }

  .m-property-card__specs i {
    font-size: 0.85rem;
    color: var(--muted);
  }

  .m-property-card__specs span.is-pref-match {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid rgba(22, 163, 74, 0.2);
  }

  .m-property-card__specs span.is-pref-match i {
    color: #16a34a;
  }

  .m-property-card__fin {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.65rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-secondary);
  }

  .m-property-card__scores {
    margin: 0.5rem 0 0.65rem;
  }

  .m-property-card__feedback {
    margin-top: 0.65rem;
  }

  .m-btn-card {
    width: 100%;
    min-height: 44px;
    border: none;
    border-radius: 999px;
    background: #f3f4f6;
    color: var(--ink);
    font-family: inherit;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
  }

  .m-btn-card--dark {
    background: #111;
    color: #fff;
  }

  /* Sembunyikan kartu lama di mobile */
  .house-card,
  .rec-card {
    display: none !important;
  }

  /* ─── Detail modal app-style ─── */
  #detailModal .modal-dialog,
  #profileModal .modal-dialog {
    margin: 0;
    max-width: 100%;
    height: 100%;
  }

  #detailModal .modal-content,
  #profileModal .modal-content {
    border-radius: 0;
    min-height: 100%;
    border: none;
  }

  #detailModal .modal-header {
    display: none;
  }

  #detailModal .modal-body {
    padding: 0 !important;
  }

  .m-detail {
    background: #fff;
    min-height: 100%;
    padding-bottom: max(5.5rem, calc(4.5rem + env(safe-area-inset-bottom)));
  }

  .m-detail__topbar {
    position: absolute;
    top: max(0.75rem, env(safe-area-inset-top));
    left: 0.75rem;
    right: 0.75rem;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
  }

  .m-detail__topbar button {
    pointer-events: auto;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
  }

  .m-detail__hero {
    position: relative;
    border-radius: 0 0 28px 28px;
    overflow: hidden;
    background: #111;
    margin-bottom: -12px;
  }

  .m-detail__hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 24px;
    background: #fff;
    border-radius: 24px 24px 0 0;
    z-index: 2;
  }

  .m-detail__hero .detail-carousel,
  .m-detail__hero .detail-carousel .carousel-item img {
    height: 280px !important;
    border-radius: 0 0 24px 24px;
  }

  .m-detail__hero .detail-carousel .carousel-control-prev,
  .m-detail__hero .detail-carousel .carousel-control-next {
    width: 36px;
    height: 36px;
  }

  .m-detail__body {
    padding: 1.1rem 1rem 0;
  }

  .m-detail__head {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    margin-bottom: 0.35rem;
  }

  .m-detail__head h2 {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0;
    line-height: 1.25;
    max-width: 100%;
  }

  .m-detail__price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-dark, #763a12);
    white-space: nowrap;
  }

  .m-detail__loc {
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
    color: var(--muted);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    line-height: 1.4;
  }

  .m-detail__loc i {
    margin-top: 0.15rem;
    flex-shrink: 0;
  }

  .m-detail__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.55rem;
    margin-bottom: 1.15rem;
  }

  .m-detail__grid-item {
    background: #f3f4f6;
    border-radius: 14px;
    padding: 0.55rem 0.35rem 0.65rem;
    text-align: center;
  }

  .m-detail__grid-item i {
    display: block;
    font-size: 1rem;
    color: var(--muted);
    margin-bottom: 0.2rem;
  }

  .m-detail__grid-item strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.1;
  }

  .m-detail__grid-item span {
    display: block;
    font-size: 0.62rem;
    color: var(--muted);
    font-weight: 600;
    margin-top: 0.15rem;
  }

  .m-detail__section-title {
    font-size: 0.95rem;
    font-weight: 800;
    margin: 0 0 0.65rem;
    color: var(--ink);
  }

  .m-detail__facilities {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    margin-bottom: 1rem;
  }

  .m-detail__fac-item {
    flex: 0 0 auto;
    min-width: 72px;
    background: #f3f4f6;
    border-radius: 14px;
    padding: 0.65rem 0.5rem;
    text-align: center;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-secondary);
  }

  .m-detail__fac-item i {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--ink);
  }

  .m-detail__agent {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #f3f4f6;
    border-radius: 16px;
    padding: 0.75rem;
    margin-bottom: 1rem;
  }

  .m-detail__agent-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #111;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    flex-shrink: 0;
  }

  .m-detail__agent-name {
    font-weight: 800;
    font-size: 0.88rem;
    color: var(--ink);
  }

  .m-detail__agent-sub {
    font-size: 0.75rem;
    color: var(--muted);
  }

  .m-detail__cta-wrap {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1060;
    padding: 0.65rem max(1rem, env(safe-area-inset-left)) max(0.75rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-right));
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.95) 35%, #fff 100%);
  }

  .m-btn-primary-full {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    min-height: 52px;
    border: none;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
  }

  /* Sticky action bar rekomendasi */
  .mobile-action-bar {
    border-top: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.96) 30%, #fff 100%);
    bottom: 0;
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
  }

  .mobile-action-bar__btn--primary {
    border-radius: 999px;
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(224, 134, 0, 0.28);
  }

  .mobile-action-bar__btn:not(.mobile-action-bar__btn--primary) {
    border-radius: 999px;
    background: #fff;
  }

  /* Filter collapsible rekomendasi */
  .filter-mobile-toggle {
    border-radius: 999px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }

  .filter-card {
    border-radius: 20px;
    border: none;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  }

  .rec-layout__results {
    order: 1;
  }

  .rec-layout__filters {
    order: 2;
  }

  .m-detail__feedback-wrap {
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-soft);
  }

  .m-detail__feedback-wrap .m-detail__section-title {
    margin-bottom: 0.5rem;
  }

  .feedback-section {
    margin-top: 0.25rem;
  }

  .btn-feedback {
    width: 2.75rem !important;
    height: 2.75rem !important;
  }

  .feedback-star {
    min-width: 36px;
    min-height: 36px;
    font-size: 1.1rem !important;
  }
}

@media (min-width: 992px) {
  .m-hero-cta,
  .m-explore-toolbar,
  .m-filter-chips,
  .m-property-list,
  .m-search-bar,
  .m-explore-head,
  .m-nav-hamburger,
  .m-nav-brand,
  .auth-hero,
  .auth-sheet {
    display: none !important;
  }

  .auth-desktop-wrap {
    display: block;
  }
}
