/*
Theme Name: PH Marketplace Child
Theme URI: https://rentorbuyph.com/
Description: Mobile-first marketplace child theme for RentOrBuyPH.
Author: Codex
Template: twentytwentyfive
Version: 0.5.1
Text Domain: ph-marketplace-child
*/

:root {
  --robp-primary-50: #e1f5ee;
  --robp-primary-300: #5dcaa5;
  --robp-primary-500: #1d9e75;
  --robp-primary-700: #0c5c4c;
  --robp-primary-900: #04342c;
  --robp-accent-50: #faeeda;
  --robp-accent-300: #ef9f27;
  --robp-accent-500: #c8883a;
  --robp-accent-700: #854f0b;
  --robp-sale-bg: #e1f5ee;
  --robp-sale-text: #085041;
  --robp-rent-bg: #e6f1fb;
  --robp-rent-text: #0c447c;
  --robp-new-bg: #fbeaf0;
  --robp-new-text: #72243e;
  --robp-cream: #f1efe8;
  --robp-soft: #f8f7f2;
  --robp-border: #eeebe2;
  --robp-border-strong: #e6e4dc;
  --robp-muted: #888780;
  --robp-text: #2c2c2a;
  --robp-radius-sm: 4px;
  --robp-radius-md: 8px;
  --robp-radius-lg: 12px;
  --robp-font-display: "DM Serif Display", Georgia, serif;
  --robp-font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body.robp-theme,
.robp-shell {
  margin: 0;
  overflow-x: hidden;
  background: var(--robp-cream);
  color: var(--robp-text);
  font-family: var(--robp-font-body);
  -webkit-font-smoothing: antialiased;
}

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

.robp-shell a {
  color: inherit;
  text-decoration: none;
}

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

.robp-shell button {
  cursor: pointer;
}

.robp-container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.robp-container-narrow {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.robp-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--robp-border);
  backdrop-filter: blur(8px);
}

.robp-nav--hero {
  position: absolute;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: 0;
  color: #fff;
}

.robp-nav__inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.robp-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0;
}

.robp-brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--robp-primary-500);
  color: #fff;
  font-size: 20px;
}

.robp-brand__text {
  font-size: 19px;
}

.robp-brand__ph {
  color: var(--robp-accent-300);
}

.robp-nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #3c3b36;
  font-size: 14px;
  font-weight: 600;
}

.robp-nav--hero .robp-nav__links,
.robp-nav--hero .robp-nav__actions {
  color: rgba(255, 255, 255, 0.92);
}

.robp-nav__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #3c3b36;
  font-size: 14px;
  font-weight: 600;
}

.robp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 10px 18px;
  border: 0;
  border-radius: var(--robp-radius-md);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.robp-button--primary {
  background: var(--robp-primary-700);
  color: #fff;
}

.robp-button--accent {
  background: var(--robp-accent-500);
  color: #fff;
}

.robp-button--secondary {
  background: #fff;
  color: var(--robp-primary-700);
  border: 1px solid var(--robp-border-strong);
}

.robp-button--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.robp-hero {
  position: relative;
  overflow: hidden;
  padding: 140px 0 90px;
  background: var(--robp-primary-900);
  background-image:
    radial-gradient(120% 80% at 80% 0%, rgba(29, 158, 117, 0.35) 0%, rgba(4, 52, 44, 0) 60%),
    radial-gradient(90% 70% at 0% 100%, rgba(200, 136, 58, 0.18) 0%, rgba(4, 52, 44, 0) 55%);
  color: #fff;
  text-align: center;
}

.robp-hero__content {
  max-width: 880px;
  margin: 0 auto;
}

.robp-hero__trust {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 22px;
  padding: 6px 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #cfede2;
  font-size: 12.5px;
  font-weight: 600;
}

.robp-display {
  margin: 0;
  font-family: var(--robp-font-display);
  font-size: clamp(34px, 5.5vw, 58px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0;
}

.robp-hero__copy {
  max-width: 560px;
  margin: 18px auto 36px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 17px;
  line-height: 1.55;
}

.robp-search-card {
  max-width: 880px;
  margin: 0 auto;
  padding: 18px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 60px -20px rgba(4, 52, 44, 0.5);
  text-align: left;
}

.robp-tabs {
  display: inline-flex;
  padding: 4px;
  margin-bottom: 14px;
  border-radius: 9px;
  background: var(--robp-cream);
}

.robp-tab {
  border: 0;
  border-radius: 7px;
  padding: 8px 18px;
  background: transparent;
  color: #5c5b55;
  font-size: 13px;
  font-weight: 700;
}

.robp-tab.is-active {
  background: #fff;
  color: var(--robp-primary-700);
  box-shadow: 0 1px 4px rgba(44, 44, 42, 0.08);
}

.robp-field-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.robp-field-grid + .robp-field-grid {
  margin-top: 10px;
}

.robp-field,
.robp-select,
.robp-input {
  min-height: 44px;
  border: 1px solid var(--robp-border-strong);
  border-radius: 9px;
  background: #fff;
  color: var(--robp-text);
  font-size: 14px;
  outline: none;
}

.robp-field {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 13px;
  flex: 2 1 240px;
}

.robp-field i {
  color: var(--robp-primary-500);
  font-size: 18px;
}

.robp-field input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14.5px;
}

.robp-select,
.robp-input {
  padding: 0 12px;
  flex: 1 1 130px;
}

.robp-hero__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

.robp-hero__stats b {
  color: #fff;
}

.robp-section {
  padding: 64px 0 0;
}

.robp-section--light {
  background: #fff;
}

.robp-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.robp-kicker {
  margin-bottom: 8px;
  color: var(--robp-primary-500);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.robp-heading {
  margin: 0;
  font-family: var(--robp-font-display);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0;
}

.robp-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 20px;
}

.robp-property-card {
  overflow: hidden;
  border: 1px solid var(--robp-border);
  border-radius: 12px;
  background: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.robp-property-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -28px rgba(4, 52, 44, 0.5);
}

.robp-property-card.is-featured {
  border-color: var(--robp-accent-500);
}

.robp-property-card__image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #dde8e2;
}

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

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

.robp-property-card__badges {
  position: absolute;
  top: 12px;
  left: 12px;
}

.robp-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 10.5px;
  font-weight: 800;
}

.robp-badge--sale {
  background: var(--robp-sale-bg);
  color: var(--robp-sale-text);
}

.robp-badge--rent {
  background: var(--robp-rent-bg);
  color: var(--robp-rent-text);
}

.robp-badge--featured {
  background: var(--robp-accent-50);
  color: #633806;
}

.robp-badge--new {
  background: var(--robp-new-bg);
  color: var(--robp-new-text);
}

.robp-favorite,
.robp-photo-count {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.robp-favorite {
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--robp-muted);
  font-size: 16px;
}

.robp-photo-count {
  right: 12px;
  bottom: 12px;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 5px;
  background: rgba(4, 52, 44, 0.72);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.robp-property-card__body {
  padding: 15px 16px 16px;
}

.robp-price {
  color: var(--robp-primary-700);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.15;
}

.robp-property-card__title {
  margin: 6px 0 5px;
  color: var(--robp-text);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
}

.robp-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--robp-muted);
  font-size: 13px;
}

.robp-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid var(--robp-cream);
  color: #5c5b55;
  font-size: 13px;
}

.robp-specs span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.robp-specs i {
  color: var(--robp-primary-500);
  font-size: 15px;
}

.robp-agent-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: #5c5b55;
  font-size: 12.5px;
}

.robp-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--robp-primary-700);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

.robp-type-grid,
.robp-location-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.robp-type-card {
  min-height: 132px;
  padding: 20px;
  border: 1px solid var(--robp-border);
  border-radius: 12px;
  background: #fff;
}

.robp-type-card i {
  color: var(--robp-primary-500);
  font-size: 30px;
}

.robp-type-card strong {
  display: block;
  margin-top: 18px;
  font-size: 15px;
}

.robp-type-card span {
  display: block;
  margin-top: 4px;
  color: var(--robp-muted);
  font-size: 13px;
}

.robp-location-card {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--robp-primary-900);
  color: #fff;
}

.robp-location-card img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: block;
  object-fit: cover;
  opacity: 0.76;
}

.robp-location-card__text {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
}

.robp-location-card strong {
  display: block;
  font-size: 18px;
}

.robp-location-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.robp-cta {
  margin-top: 72px;
  padding: 48px;
  border-radius: 16px;
  background: var(--robp-primary-900);
  background-image: radial-gradient(80% 120% at 90% 0%, rgba(29, 158, 117, 0.3), transparent 60%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.robp-cta h2 {
  max-width: 520px;
  margin: 0;
  font-family: var(--robp-font-display);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.08;
}

.robp-cta p {
  max-width: 560px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.6;
}

.robp-footer {
  margin-top: 72px;
  background: var(--robp-primary-900);
  color: #fff;
}

.robp-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 52px 0 28px;
}

.robp-footer p {
  max-width: 280px;
  margin: 14px 0 16px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.6;
}

.robp-socials {
  display: flex;
  gap: 10px;
}

.robp-socials span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 17px;
}

.robp-footer__title {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.robp-footer__links {
  display: flex;
  flex-direction: column;
  gap: 11px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.robp-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.robp-footer__bottom .robp-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

.robp-chips-bar {
  border-bottom: 1px solid var(--robp-border);
  background: #fff;
}

.robp-chips-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

.robp-chip-row {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  scrollbar-width: none;
}

.robp-chip {
  white-space: nowrap;
  border: 0;
  border-radius: 999px;
  background: var(--robp-cream);
  color: #3c3b36;
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 700;
}

.robp-chip.is-active {
  background: var(--robp-primary-700);
  color: #fff;
}

.robp-archive {
  background: #fff;
  min-height: 100vh;
}

.robp-archive__layout {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 24px 0 0;
}

.robp-filter-toggle {
  display: none;
}

.robp-filters {
  flex: 0 0 230px;
  position: sticky;
  top: 92px;
}

.robp-filters__panel {
  border: 1px solid var(--robp-border);
  border-radius: 12px;
  background: #fff;
  padding: 18px;
}

.robp-filters__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.robp-filters__title {
  font-size: 15px;
  font-weight: 800;
}

.robp-reset {
  border: 0;
  background: transparent;
  color: var(--robp-primary-500);
  font-size: 13px;
  font-weight: 800;
}

.robp-filter-group {
  margin-bottom: 14px;
}

.robp-filter-label {
  display: block;
  margin-bottom: 8px;
  color: #5c5b55;
  font-size: 12px;
  font-weight: 800;
}

.robp-filter-group .robp-select,
.robp-filter-group .robp-input {
  width: 100%;
  min-height: 38px;
  flex: none;
  font-size: 13.5px;
}

.robp-price-range {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.robp-price-range .robp-input {
  min-width: 0;
  width: auto;
  max-width: 100%;
}

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

.robp-check-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.robp-check {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #3c3b36;
  font-size: 13.5px;
  cursor: pointer;
}

.robp-check input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--robp-primary-700);
}

.robp-results {
  flex: 1;
  min-width: 0;
}

.robp-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.robp-toolbar__meta {
  color: #5c5b55;
  font-size: 14px;
}

.robp-toolbar__controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.robp-view-toggle {
  display: flex;
  overflow: hidden;
  border: 1px solid var(--robp-border-strong);
  border-radius: 8px;
}

.robp-view-toggle button {
  width: 36px;
  height: 36px;
  border: 0;
  border-left: 1px solid var(--robp-border-strong);
  background: #fff;
  color: var(--robp-muted);
  font-size: 16px;
}

.robp-view-toggle button:first-child {
  border-left: 0;
}

.robp-view-toggle button.is-active {
  background: var(--robp-primary-700);
  color: #fff;
}

.robp-empty {
  padding: 44px;
  border: 1px solid var(--robp-border);
  border-radius: 12px;
  background: var(--robp-soft);
  text-align: center;
}

.robp-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 34px;
}

.robp-pagination .page-numbers {
  min-width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--robp-border-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--robp-text);
  font-size: 14px;
  font-weight: 700;
}

.robp-pagination .current {
  background: var(--robp-primary-700);
  color: #fff;
}

.robp-single {
  background: #fff;
  min-height: 100vh;
}

.robp-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 18px;
  margin-bottom: 16px;
  color: var(--robp-muted);
  font-size: 13px;
}

.robp-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10px;
  height: 420px;
  overflow: hidden;
  border-radius: 14px;
  margin-bottom: 24px;
}

.robp-gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.robp-gallery__side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}

.robp-gallery__more {
  position: relative;
}

.robp-gallery__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: rgba(4, 52, 44, 0.55);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.robp-single__layout {
  display: flex;
  gap: 36px;
  align-items: flex-start;
}

.robp-single__main {
  flex: 1;
  min-width: 0;
}

.robp-single__aside {
  flex: 0 0 340px;
  position: sticky;
  top: 92px;
}

.robp-single h1 {
  margin: 12px 0 8px;
  font-family: var(--robp-font-display);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.15;
}

.robp-single__price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--robp-border);
  margin: 16px 0 22px;
}

.robp-single__price {
  color: var(--robp-primary-700);
  font-size: 30px;
  font-weight: 800;
}

.robp-single__price span {
  color: var(--robp-muted);
  font-size: 14px;
  font-weight: 600;
}

.robp-action-row {
  display: flex;
  gap: 9px;
}

.robp-spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 30px;
}

.robp-spec-box {
  padding: 16px;
  border: 1px solid var(--robp-border);
  border-radius: 10px;
  background: var(--robp-soft);
  text-align: center;
}

.robp-spec-box i {
  color: var(--robp-primary-500);
  font-size: 22px;
}

.robp-spec-box strong {
  display: block;
  margin-top: 8px;
  font-size: 18px;
}

.robp-spec-box span {
  display: block;
  margin-top: 2px;
  color: var(--robp-muted);
  font-size: 12px;
}

.robp-content-section {
  margin-bottom: 30px;
}

.robp-content-section h2 {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 800;
}

.robp-content-section p {
  margin: 0 0 14px;
  color: #4c4b45;
  font-size: 15px;
  line-height: 1.65;
}

.robp-detail-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
}

.robp-detail-table div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid var(--robp-cream);
  font-size: 14px;
}

.robp-detail-table span:first-child {
  color: var(--robp-muted);
}

.robp-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.robp-amenities span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid var(--robp-border);
  border-radius: 999px;
  background: var(--robp-soft);
  color: #3c3b36;
  font-size: 13.5px;
}

.robp-amenities i {
  color: var(--robp-primary-500);
}

.robp-map {
  position: relative;
  height: 240px;
  overflow: hidden;
  border: 1px solid var(--robp-border);
  border-radius: 12px;
  background: #e8eee9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.robp-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#dde7e1 1px, transparent 1px),
    linear-gradient(90deg, #dde7e1 1px, transparent 1px);
  background-size: 32px 32px;
}

.robp-map__pin {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--robp-primary-700);
  color: #fff;
  font-size: 24px;
  box-shadow: 0 12px 24px -12px rgba(4, 52, 44, 0.8);
}

.robp-agent-card,
.robp-inquiry-card {
  border: 1px solid var(--robp-border);
  border-radius: 14px;
  background: #fff;
  padding: 20px;
}

.robp-inquiry-card {
  margin-top: 16px;
}

.robp-agent-card__top {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.robp-agent-card .robp-avatar {
  width: 44px;
  height: 44px;
  font-size: 14px;
}

.robp-agent-card strong {
  display: block;
  font-size: 16px;
}

.robp-agent-card small {
  color: var(--robp-muted);
}

.robp-agent-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 14px 0;
  border-top: 1px solid var(--robp-cream);
  border-bottom: 1px solid var(--robp-cream);
  margin-bottom: 14px;
  text-align: center;
}

.robp-agent-stats strong {
  color: var(--robp-primary-700);
}

.robp-agent-stats span {
  color: var(--robp-muted);
  font-size: 11px;
}

.robp-inquiry-card h2 {
  margin: 0 0 4px;
  font-size: 16px;
}

.robp-inquiry-card p {
  margin: 0 0 16px;
  color: var(--robp-muted);
  font-size: 13px;
}

.robp-form-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.robp-form-stack input,
.robp-form-stack textarea {
  width: 100%;
  border: 1px solid var(--robp-border-strong);
  border-radius: 9px;
  padding: 11px 13px;
  background: #fff;
  font-size: 14px;
  outline: none;
}

.robp-form-stack textarea {
  resize: vertical;
}

.robp-mobile-cta {
  display: none;
}

.robp-filter-backdrop {
  display: none;
}

@media (max-width: 980px) {
  .robp-nav__links {
    display: none;
  }

  .robp-type-grid,
  .robp-location-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .robp-archive__layout,
  .robp-single__layout {
    flex-direction: column;
  }

  .robp-filter-toggle {
    display: inline-flex;
  }

  .robp-filters {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    max-height: 82vh;
    overflow: auto;
    transform: translateY(110%);
    transition: transform 180ms ease;
    padding: 16px;
    background: #fff;
    border-radius: 18px 18px 0 0;
  }

  body.robp-filters-open .robp-filters {
    transform: translateY(0);
  }

  .robp-filter-backdrop {
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(4, 52, 44, 0.35);
  }

  body.robp-filters-open .robp-filter-backdrop {
    display: block;
  }

  .robp-results {
    width: 100%;
  }

  .robp-single__aside {
    width: 100%;
    flex: none;
    position: static;
  }

  .robp-gallery {
    height: auto;
    aspect-ratio: 4 / 3;
  }

}

@media (max-width: 720px) {
  .robp-container,
  .robp-container-narrow {
    width: min(100% - 32px, 1200px);
  }

  .robp-nav__actions .robp-signin {
    display: none;
  }

  .robp-nav__actions .robp-button {
    width: 42px;
    min-height: 42px;
    padding: 0;
    overflow: hidden;
    font-size: 0;
  }

  .robp-nav__actions .robp-button i {
    font-size: 18px;
  }

  .robp-hero {
    padding: 112px 0 54px;
  }

  .robp-hero__copy {
    font-size: 15px;
  }

  .robp-search-card {
    padding: 14px;
  }

  .robp-field-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .robp-field,
  .robp-select,
  .robp-input {
    width: 100%;
    flex: none;
  }

  .robp-section {
    padding-top: 44px;
  }

  .robp-section__head,
  .robp-toolbar,
  .robp-cta,
  .robp-single__price-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .robp-card-grid,
  .robp-type-grid,
  .robp-location-grid {
    grid-template-columns: 1fr;
  }

  .robp-cta {
    padding: 28px;
  }

  .robp-footer__grid {
    grid-template-columns: 1fr;
    padding-top: 40px;
  }

  .robp-chips-bar__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .robp-toolbar__controls {
    width: 100%;
    justify-content: space-between;
  }

  .robp-toolbar__controls .robp-select {
    min-width: 0;
  }

  .robp-gallery {
    grid-template-columns: 1fr;
    aspect-ratio: auto;
  }

  .robp-gallery > div:first-child {
    min-height: 260px;
  }

  .robp-gallery__side {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    min-height: 130px;
  }

  .robp-spec-grid,
  .robp-detail-table {
    grid-template-columns: 1fr 1fr;
  }

  .robp-mobile-cta {
    position: sticky;
    bottom: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px 16px;
    border-top: 1px solid var(--robp-border);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
  }
}

@media (max-width: 430px) {
  .robp-nav__inner {
    gap: 10px;
  }

  .robp-nav__actions {
    gap: 8px;
    flex-shrink: 0;
  }

  .robp-nav__actions .robp-button {
    width: 42px;
    min-height: 42px;
    padding: 0;
    overflow: hidden;
    font-size: 0;
  }

  .robp-nav__actions .robp-button i {
    font-size: 18px;
  }

  .robp-brand__text {
    font-size: 17px;
  }

  .robp-display {
    font-size: 36px;
  }

  .robp-heading {
    font-size: 26px;
  }

  .robp-price,
  .robp-single__price {
    font-size: 24px;
  }

  .robp-spec-grid,
  .robp-detail-table {
    grid-template-columns: 1fr;
  }
}

.robp-shell .robp-price-range .robp-input {
  width: auto;
  min-width: 0;
  max-width: 100%;
  flex: initial;
}

.robp-page-hero {
  padding: 72px 0;
  background: var(--robp-primary-900);
  color: #fff;
}

.robp-page-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 17px;
  line-height: 1.6;
}

.robp-centered {
  text-align: center;
}

.robp-info-grid,
.robp-flow-grid,
.robp-stat-grid,
.robp-dashboard-grid,
.robp-inquiry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.robp-info-card,
.robp-flow-panel,
.robp-panel,
.robp-stat-card,
.robp-listing-manage,
.robp-inquiry-item,
.robp-package-summary,
.robp-auth-panel,
.robp-order-summary {
  border: 1px solid var(--robp-border);
  border-radius: 12px;
  background: #fff;
  padding: 22px;
}

.robp-info-card i,
.robp-stat-card i,
.robp-auth-required i {
  color: var(--robp-primary-500);
  font-size: 30px;
}

.robp-info-card h3,
.robp-flow-panel h3,
.robp-panel h2,
.robp-auth-panel h2,
.robp-form-head h2 {
  margin: 10px 0 8px;
  font-family: var(--robp-font-display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.1;
}

.robp-info-card p,
.robp-flow-panel p,
.robp-panel p,
.robp-auth-panel p,
.robp-form-head p,
.robp-auth-required p,
.robp-order-summary p {
  color: var(--robp-muted);
  line-height: 1.6;
}

.robp-info-card--green {
  background: var(--robp-primary-50);
  border-color: var(--robp-primary-300);
}

.robp-info-card--gold {
  background: var(--robp-accent-50);
  border-color: var(--robp-accent-500);
}

.robp-flow-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 24px;
}

.robp-flow-panel ol {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.robp-flow-panel li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #4c4b45;
}

.robp-flow-panel li span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--robp-primary-700);
  color: #fff;
  font-weight: 800;
}

.robp-faq-hero p {
  max-width: 760px;
}

.robp-faq-layout {
  display: grid;
  gap: 28px;
}

.robp-faq-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) 1fr;
  gap: 24px;
  align-items: flex-start;
  min-width: 0;
}

.robp-faq-section__head {
  position: sticky;
  top: 96px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.robp-faq-section__head span {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: var(--robp-primary-50);
  color: var(--robp-primary-600);
  font-size: 22px;
}

.robp-faq-section__head h2 {
  margin: 3px 0 0;
  font-family: var(--robp-font-display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.robp-faq-list {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.robp-faq-item {
  border: 1px solid var(--robp-border);
  border-radius: 12px;
  background: #fff;
  padding: 22px;
  min-width: 0;
  box-shadow: 0 14px 32px rgba(4, 52, 44, 0.05);
}

.robp-faq-item h3 {
  margin: 0;
  color: var(--robp-primary-900);
  font-size: 18px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.robp-faq-item p {
  max-width: 780px;
  margin: 10px 0 0;
  color: var(--robp-muted);
  font-size: 15px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

@media (max-width: 980px) {
  .robp-faq-section {
    grid-template-columns: 1fr;
  }

  .robp-faq-section__head {
    position: static;
  }
}

@media (max-width: 720px) {
  .robp-faq-page .robp-page-hero {
    padding: 58px 0;
  }

  .robp-faq-page .robp-display {
    font-size: 32px;
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .robp-faq-page .robp-page-hero p {
    font-size: 16px;
    overflow-wrap: anywhere;
  }

  .robp-faq-layout {
    gap: 34px;
  }

  .robp-faq-section__head h2 {
    font-size: 24px;
  }

  .robp-faq-item {
    padding: 18px;
  }

  .robp-faq-item h3 {
    font-size: 17px;
  }
}

.robp-alert {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
}

.robp-alert--success {
  background: var(--robp-primary-50);
  color: var(--robp-primary-700);
}

.robp-alert--error {
  background: #fed7d7;
  color: #8b1a1a;
}

.robp-auth-layout {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 1.1fr);
}

.robp-auth-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 56px;
  background: var(--robp-primary-900);
  color: #fff;
}

.robp-auth-brand h1 {
  max-width: 460px;
  margin: 0;
  font-family: var(--robp-font-display);
  font-size: 42px;
  font-weight: 400;
  line-height: 1.05;
}

.robp-auth-brand p {
  max-width: 460px;
  color: rgba(255, 255, 255, 0.65);
}

.robp-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.robp-auth-panel {
  width: min(460px, calc(100% - 48px));
  align-self: center;
  justify-self: center;
}

.robp-auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--robp-border);
}

.robp-auth-tabs button,
.robp-form-switch button {
  border: 0;
  background: transparent;
  color: var(--robp-muted);
  font-weight: 800;
}

.robp-auth-tabs button {
  padding: 12px;
  border-bottom: 3px solid transparent;
}

.robp-auth-tabs .is-active {
  color: var(--robp-primary-700);
  border-bottom-color: var(--robp-primary-500);
}

.robp-auth-form {
  display: none;
}

.robp-auth-form.is-active,
.robp-profile-form,
.robp-form-grid {
  display: grid;
  gap: 14px;
}

.robp-auth-form label,
.robp-profile-form label,
.robp-submit-main label {
  display: grid;
  gap: 7px;
  color: #3c3b36;
  font-size: 13px;
  font-weight: 800;
}

.robp-icon-field {
  position: relative;
  display: flex;
  align-items: center;
}

.robp-icon-field > i {
  position: absolute;
  left: 12px;
  color: var(--robp-muted);
}

.robp-icon-field input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--robp-border-strong);
  border-radius: 8px;
  padding: 0 42px;
  font-size: 16px;
}

.robp-icon-field button {
  position: absolute;
  right: 8px;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--robp-muted);
}

.robp-auth-meta,
.robp-form-switch,
.robp-package-summary,
.robp-agent-hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.robp-auth-meta a {
  color: var(--robp-primary-700);
  font-size: 14px;
  font-weight: 800;
}

.robp-form-switch {
  justify-content: center;
  color: var(--robp-muted);
  font-size: 14px;
}

.robp-form-switch button {
  color: var(--robp-primary-700);
}

.robp-strength {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--robp-border);
}

.robp-strength span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--robp-primary-500);
  transition: width 160ms ease;
}

.robp-segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.robp-segmented legend {
  grid-column: 1 / -1;
  color: #3c3b36;
  font-size: 13px;
  font-weight: 800;
}

.robp-segmented input {
  position: absolute;
  opacity: 0;
}

.robp-segmented span {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--robp-border-strong);
  border-radius: 8px;
  color: #5c5b55;
}

.robp-segmented input:checked + span {
  background: var(--robp-primary-500);
  color: #fff;
  border-color: var(--robp-primary-500);
}

.robp-auth-required {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}

.robp-auth-required > * {
  max-width: min(620px, 100%);
}

.robp-auth-required .robp-heading,
.robp-auth-required p {
  max-width: min(340px, calc(100vw - 32px));
  overflow-wrap: break-word;
  text-wrap: balance;
}

.robp-dashboard-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 760px;
  background: var(--robp-soft);
}

.robp-dashboard-nav {
  position: sticky;
  top: 0;
  min-height: 100vh;
  padding: 24px;
  background: #fff;
  border-right: 1px solid var(--robp-border);
}

.robp-dashboard-nav nav {
  display: grid;
  gap: 8px;
  margin: 28px 0;
}

.robp-dashboard-nav nav a,
.robp-dashboard-bottom a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  border-radius: 8px;
  padding: 0 12px;
  color: #5c5b55;
  font-size: 14px;
  font-weight: 800;
}

.robp-dashboard-nav nav a.is-active,
.robp-dashboard-bottom a.is-active {
  background: var(--robp-primary-50);
  color: var(--robp-primary-700);
}

.robp-dashboard-nav nav b {
  margin-left: auto;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #c53030;
  color: #fff;
  font-size: 11px;
}

.robp-dashboard-main {
  padding: 28px;
}

.robp-dashboard-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.robp-dashboard-top h1 {
  margin: 0;
  font-family: var(--robp-font-display);
  font-size: 32px;
  font-weight: 400;
}

.robp-dashboard-top p {
  margin: 6px 0 0;
  color: var(--robp-muted);
}

.robp-dashboard-avatar,
.robp-agent-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--robp-primary-700);
  color: #fff;
  font-weight: 900;
}

.robp-stat-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 18px;
}

.robp-stat-card strong {
  display: block;
  margin-top: 12px;
  color: var(--robp-primary-700);
  font-size: 28px;
}

.robp-stat-card span,
.robp-stat-card small {
  display: block;
}

.robp-stat-card small {
  margin-top: 4px;
  color: var(--robp-muted);
  font-size: 12px;
}

.robp-dashboard-grid {
  grid-template-columns: 1fr 1fr;
}

.robp-activity-list,
.robp-dashboard-cards,
.robp-inquiry-grid,
.robp-profile-form {
  display: grid;
  gap: 12px;
}

.robp-activity-list a,
.robp-activity-list div,
.robp-listing-manage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--robp-border);
  border-radius: 10px;
}

.robp-listing-manage h3,
.robp-inquiry-item p {
  margin: 8px 0;
}

.robp-dashboard-bottom {
  display: none;
}

.robp-submit-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
  width: min(1280px, calc(100% - 48px));
  margin: 32px auto 0;
}

.robp-submit-steps,
.robp-order-summary {
  position: sticky;
  top: 92px;
}

.robp-submit-steps {
  padding: 20px;
  border-radius: 12px;
  background: var(--robp-soft);
}

.robp-submit-steps h1 {
  margin: 0 0 18px;
  font-family: var(--robp-font-display);
  font-size: 22px;
  font-weight: 400;
}

.robp-submit-steps button {
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #5c5b55;
  font-weight: 800;
}

.robp-submit-steps span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--robp-border-strong);
}

.robp-submit-steps .is-active {
  background: #fff;
  color: var(--robp-primary-700);
}

.robp-submit-steps .is-active span,
.robp-submit-steps .is-complete span {
  background: var(--robp-primary-500);
  color: #fff;
}

.robp-submit-main {
  border: 1px solid var(--robp-border);
  border-radius: 14px;
  background: #fff;
  padding: 24px;
}

.robp-submit-step {
  display: none;
}

.robp-submit-step.is-active {
  display: block;
}

.robp-form-head span {
  color: var(--robp-primary-500);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.robp-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.robp-form-wide {
  grid-column: 1 / -1;
}

.robp-submit-main textarea,
.robp-profile-form textarea {
  width: 100%;
  border: 1px solid var(--robp-border-strong);
  border-radius: 9px;
  padding: 12px;
  font: inherit;
  resize: vertical;
}

.robp-upload-zone {
  min-height: 180px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border: 2px dashed var(--robp-border-strong);
  border-radius: 12px;
  background: var(--robp-soft);
  text-align: center;
  cursor: pointer;
}

.robp-upload-zone input {
  display: none;
}

.robp-upload-zone i {
  color: var(--robp-primary-500);
  font-size: 44px;
}

.robp-photo-preview {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.robp-photo-thumb {
  padding: 10px 12px;
  border: 1px solid var(--robp-border);
  border-radius: 8px;
  background: #fff;
  color: #5c5b55;
  font-size: 13px;
}

.robp-check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  border: 0;
}

.robp-check-grid legend {
  grid-column: 1 / -1;
  font-weight: 800;
}

.robp-package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.robp-package-card {
  position: relative;
  padding: 20px;
  border: 2px solid var(--robp-border-strong);
  border-radius: 12px;
  cursor: pointer;
}

.robp-package-card input {
  position: absolute;
  opacity: 0;
}

.robp-package-card:has(input:checked) {
  border-color: var(--robp-primary-500);
  background: var(--robp-primary-50);
}

.robp-package-card strong,
.robp-package-card em,
.robp-package-card small {
  display: block;
}

.robp-package-card strong {
  margin-top: 14px;
  font-size: 18px;
}

.robp-package-card em {
  margin: 10px 0;
  color: var(--robp-primary-700);
  font-size: 28px;
  font-style: normal;
  font-weight: 900;
}

.robp-feature-toggle,
.robp-payment-safe {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--robp-border);
  border-radius: 10px;
  background: var(--robp-soft);
}

.robp-payment-safe {
  justify-content: flex-start;
  background: var(--robp-primary-50);
  border-color: var(--robp-primary-300);
}

.robp-payment-safe i {
  color: var(--robp-primary-700);
  font-size: 34px;
}

.robp-submit-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

.robp-order-summary h2 {
  margin-top: 0;
  font-size: 18px;
}

.robp-order-summary div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0;
}

.robp-agent-hero {
  padding: 42px 0;
  background: var(--robp-soft);
}

.robp-agent-identity {
  display: flex;
  align-items: center;
  gap: 20px;
}

.robp-agent-avatar {
  width: 112px;
  height: 112px;
  border: 4px solid #fff;
  font-size: 32px;
}

.robp-agent-identity h1 {
  margin: 12px 0 6px;
  font-family: var(--robp-font-display);
  font-size: 36px;
  font-weight: 400;
}

.robp-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.robp-tag-row span {
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  color: #5c5b55;
  font-size: 13px;
  font-weight: 700;
}

.robp-agent-contact {
  display: grid;
  gap: 16px;
  min-width: 320px;
}

.robp-agent-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
  padding-top: 28px;
}

@media (max-width: 980px) {
  .robp-auth-layout,
  .robp-dashboard-shell,
  .robp-submit-layout,
  .robp-agent-layout,
  .robp-agent-hero__inner {
    grid-template-columns: 1fr;
  }

  .robp-auth-brand {
    padding: 32px;
  }

  .robp-dashboard-nav {
    display: none;
  }

  .robp-dashboard-main {
    padding-bottom: 90px;
  }

  .robp-dashboard-bottom {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-top: 1px solid var(--robp-border);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
  }

  .robp-dashboard-bottom a {
    min-height: 64px;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 6px;
    font-size: 11px;
  }

  .robp-submit-steps,
  .robp-order-summary {
    position: static;
  }

  .robp-submit-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }

  .robp-submit-steps h1 {
    grid-column: 1 / -1;
  }

  .robp-submit-steps button {
    justify-content: center;
    font-size: 0;
  }
}

@media (max-width: 720px) {
  .robp-info-grid,
  .robp-flow-grid,
  .robp-stat-grid,
  .robp-dashboard-grid,
  .robp-form-grid,
  .robp-package-grid,
  .robp-check-grid {
    grid-template-columns: 1fr;
  }

  .robp-auth-panel,
  .robp-submit-layout {
    width: min(100% - 32px, 1200px);
  }

  .robp-auth-layout {
    min-height: auto;
  }

  .robp-auth-brand h1 {
    font-size: 32px;
  }

  .robp-agent-identity,
  .robp-auth-meta,
  .robp-package-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .robp-agent-avatar {
    width: 84px;
    height: 84px;
    font-size: 24px;
  }
}

/* --- 0.4.0 launch hardening: mobile nav, dashboard management, honest badges --- */

.robp-nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  min-height: 42px;
  padding: 0;
  border: 1px solid var(--robp-border-strong);
  border-radius: var(--robp-radius-md);
  background: #fff;
  color: var(--robp-primary-700);
  font-size: 20px;
}

.robp-nav--hero .robp-nav__toggle {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.robp-mobile-menu[hidden] {
  display: none;
}

.robp-mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 16px 16px;
  background: #fff;
  border-bottom: 1px solid var(--robp-border);
  box-shadow: 0 18px 30px -24px rgba(4, 52, 44, 0.4);
}

.robp-mobile-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 10px;
  border-radius: var(--robp-radius-md);
  color: var(--robp-text);
  font-size: 15px;
  font-weight: 600;
}

.robp-mobile-menu a:hover {
  background: var(--robp-soft);
}

.robp-mobile-menu a i {
  color: var(--robp-primary-500);
  font-size: 19px;
}

@media (max-width: 980px) {
  .robp-nav__toggle {
    display: inline-flex;
  }
}

@media (min-width: 981px) {
  .robp-mobile-menu {
    display: none !important;
  }
}

.robp-hero__stats i {
  color: var(--robp-primary-300);
  vertical-align: -2px;
  margin-right: 4px;
}

.robp-badge--sample {
  background: #efeadd;
  color: #6b6455;
}

.robp-badge--taken {
  background: #f3e1e1;
  color: #7c1d1d;
}

.robp-badge--status-active {
  background: var(--robp-sale-bg);
  color: var(--robp-sale-text);
}

.robp-badge--status-pending {
  background: var(--robp-accent-50);
  color: var(--robp-accent-700);
}

.robp-badge--status-draft,
.robp-badge--status-expired {
  background: #ecebe6;
  color: #5c5b55;
}

.robp-badge--status-rejected {
  background: #f3e1e1;
  color: #7c1d1d;
}

.robp-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.robp-button--small {
  min-height: 34px;
  padding: 7px 12px;
  font-size: 13px;
}

.robp-inline-form {
  display: inline-flex;
  margin: 0;
}

.robp-inline-form .robp-button--small {
  background: #fff;
  color: var(--robp-primary-700);
  border: 1px solid var(--robp-border-strong);
}

.robp-listing-manage__body {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.robp-listing-manage__thumb {
  width: 86px;
  height: 66px;
  flex: none;
  object-fit: cover;
  border-radius: var(--robp-radius-md);
  border: 1px solid var(--robp-border);
}

.robp-listing-manage__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
  color: var(--robp-muted);
  font-size: 13px;
}

.robp-listing-manage__meta i {
  margin-right: 4px;
  vertical-align: -2px;
}

.robp-listing-manage__actions {
  flex-wrap: wrap;
  margin-top: 14px;
}

.robp-signout {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: var(--robp-radius-md);
  color: var(--robp-muted);
  font-size: 14px;
  font-weight: 600;
}

.robp-signout:hover {
  background: var(--robp-soft);
  color: var(--robp-text);
}

.robp-activity-list .is-unread span {
  font-weight: 700;
}

.robp-inquiry-item.is-unread {
  border-left: 3px solid var(--robp-primary-500);
}

.robp-inquiry-item__actions {
  flex-wrap: wrap;
  margin-top: 12px;
}

.robp-package-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.robp-package-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--robp-border);
  border-radius: var(--robp-radius-lg);
  background: #fff;
}

.robp-package-row small {
  display: block;
  color: var(--robp-muted);
}

.robp-package-row__side {
  text-align: right;
}

.robp-gallery--single {
  grid-template-columns: 1fr;
}

.robp-photo-thumb.is-over-limit {
  color: #7c1d1d;
  border-color: #e6c4c4;
}

.robp-photo-limit-note {
  margin: 8px 0 0;
  color: #7c1d1d;
  font-size: 13px;
}

.robp-contact__layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: start;
  padding-bottom: 64px;
}

@media (max-width: 980px) {
  .robp-contact__layout {
    grid-template-columns: 1fr;
  }
}

.robp-plain__body {
  max-width: 760px;
  padding: 48px 0 72px;
}

.robp-plain__body h2 {
  margin: 28px 0 10px;
  font-family: var(--robp-font-display);
  font-size: 22px;
  font-weight: 400;
}

.robp-plain__body p {
  line-height: 1.65;
  color: #4a4944;
}

.robp-prc-field[hidden] {
  display: none;
}

.robp-prc-field {
  max-width: 480px;
}

.robp-field-note {
  margin: 6px 0 0;
  color: var(--robp-muted);
  font-size: 12.5px;
  line-height: 1.5;
}

.robp-declaration {
  align-items: flex-start;
  margin: 14px 0 16px;
  font-size: 13.5px;
  line-height: 1.5;
}

.robp-sample-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px auto 0;
  padding: 12px 16px;
  border: 1px solid var(--robp-border-strong);
  border-radius: var(--robp-radius-md);
  background: #efeadd;
  color: #5c5546;
  font-size: 13.5px;
}

.robp-sample-banner i {
  flex: none;
  font-size: 18px;
  color: #8a7f66;
}

.robp-sample-banner span {
  flex: 1 1 auto;
}

.robp-sample-banner a {
  flex: none;
  font-weight: 700;
  color: var(--robp-primary-700);
  text-decoration: underline;
}

@media (max-width: 720px) {
  .robp-sample-banner {
    flex-wrap: wrap;
  }
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* WooCommerce account forms (lost/reset password, login) inside theme chrome */
.robp-plain .woocommerce {
  max-width: 520px;
}

.robp-plain .woocommerce form .form-row {
  margin: 0 0 16px;
  padding: 0;
  width: 100%;
  float: none;
}

.robp-plain .woocommerce form label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
}

.robp-plain .woocommerce form .password-input,
.robp-plain .woocommerce form input[type="text"],
.robp-plain .woocommerce form input[type="email"],
.robp-plain .woocommerce form input[type="password"] {
  width: 100%;
}

.robp-plain .woocommerce form input[type="text"],
.robp-plain .woocommerce form input[type="email"],
.robp-plain .woocommerce form input[type="password"] {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--robp-border-strong);
  border-radius: 9px;
  background: #fff;
  color: var(--robp-text);
  font-size: 14px;
  outline: none;
}

.robp-plain .woocommerce form button[type="submit"],
.robp-plain .woocommerce .woocommerce-Button,
.robp-plain .woocommerce .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border: 0;
  border-radius: var(--robp-radius-md);
  background: var(--robp-primary-700);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.robp-plain .woocommerce-password-strength {
  margin-top: 6px;
  padding: 4px 8px;
  border-radius: var(--robp-radius-sm);
  font-size: 12.5px;
}

.robp-plain .woocommerce-message,
.robp-plain .woocommerce-error,
.robp-plain .woocommerce-info {
  margin: 0 0 18px;
  padding: 12px 16px;
  border-radius: var(--robp-radius-md);
  border: 1px solid var(--robp-border-strong);
  background: var(--robp-soft);
  list-style: none;
}

/* Location autocomplete (Lamudi-style suggestions) */
.robp-autocomplete {
  position: relative;
  flex: 2 1 240px;
  min-width: 0;
}

.robp-autocomplete .robp-field,
.robp-autocomplete .robp-input {
  width: 100%;
}

.robp-autocomplete__list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 90;
  max-height: 320px;
  overflow-y: auto;
  border: 1px solid var(--robp-border-strong);
  border-radius: var(--robp-radius-md);
  background: #fff;
  box-shadow: 0 18px 40px -20px rgba(4, 52, 44, 0.45);
}

.robp-autocomplete__head {
  padding: 10px 14px 6px;
  color: var(--robp-muted);
  font-size: 12.5px;
  font-weight: 600;
}

.robp-autocomplete__item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 14px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.robp-autocomplete__item:hover,
.robp-autocomplete__item.is-active {
  background: var(--robp-soft);
}

.robp-autocomplete__item i {
  flex: none;
  color: var(--robp-muted);
  font-size: 18px;
}

.robp-autocomplete__item strong {
  display: block;
  font-size: 14px;
  color: var(--robp-text);
}

.robp-autocomplete__item small {
  display: block;
  color: var(--robp-muted);
  font-size: 12.5px;
}

/* Price range slider with house-icon handles */
.robp-price-slider {
  flex: 2 1 240px;
  min-width: 200px;
  padding: 2px 6px 0;
}

.robp-price-slider__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.robp-price-slider__label {
  color: var(--robp-muted);
  font-size: 12.5px;
  font-weight: 600;
}

.robp-price-slider__readout {
  color: var(--robp-primary-700);
  font-size: 13px;
  font-weight: 700;
}

.robp-price-slider__track {
  position: relative;
  height: 28px;
}

.robp-price-slider__rail,
.robp-price-slider__fill {
  position: absolute;
  top: 50%;
  height: 5px;
  transform: translateY(-50%);
  border-radius: 999px;
}

.robp-price-slider__rail {
  left: 0;
  right: 0;
  background: var(--robp-border-strong);
}

.robp-price-slider__fill {
  left: 0;
  right: 0;
  background: var(--robp-primary-500);
}

.robp-price-slider__track input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 28px;
  margin: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  pointer-events: none;
  z-index: 2;
}

.robp-price-slider__track input[type="range"]:focus {
  outline: none;
}

.robp-price-slider__track input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border: 2px solid #fff;
  border-radius: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect width='24' height='24' rx='7' fill='%231d9e75'/%3E%3Cg fill='none' stroke='%23fff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 11.5 12 7l5.5 4.5'/%3E%3Cpath d='M7.5 11v5.5h9V11'/%3E%3Cpath d='M10.7 16.5v-2.8h2.6v2.8'/%3E%3C/g%3E%3C/svg%3E") center / cover no-repeat;
  box-shadow: 0 2px 6px rgba(4, 52, 44, 0.35);
  cursor: grab;
  pointer-events: auto;
}

.robp-price-slider__track input[type="range"]::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border: 2px solid #fff;
  border-radius: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect width='24' height='24' rx='7' fill='%231d9e75'/%3E%3Cg fill='none' stroke='%23fff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 11.5 12 7l5.5 4.5'/%3E%3Cpath d='M7.5 11v5.5h9V11'/%3E%3Cpath d='M10.7 16.5v-2.8h2.6v2.8'/%3E%3C/g%3E%3C/svg%3E") center / cover no-repeat;
  box-shadow: 0 2px 6px rgba(4, 52, 44, 0.35);
  cursor: grab;
  pointer-events: auto;
}

.robp-price-slider__track input[type="range"]:active::-webkit-slider-thumb {
  cursor: grabbing;
}

.robp-search-card .robp-price-slider {
  padding-top: 0;
}
