:root {
  --p: #7456e8;
  --pd: #5b40c9;
  --ps: #f1edff;
  --bg: #f8f8fb;
  --text: #22232a;
  --muted: #747580;
  --border: #e8e7ee;
  --green: #2d9867;
  --shadow: 0 18px 55px rgba(36, 31, 65, 0.09);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  overflow-x: hidden;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
.sp-container {
  max-width: 1240px;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  text-decoration: none;
}
.brand-mark {
  width: 34px;
  height: 34px;
  background: var(--p);
  color: #fff;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.brand-word {
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}
.brand-word small {
  display: block;
  font-size: 7px;
  color: var(--muted);
  letter-spacing: 1.8px;
  margin-top: 3px;
}
.page-title {
  padding-left: 24px;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  min-width: 230px;
}
.page-title strong {
  font-size: 14px;
}
.page-title span {
  font-size: 9px;
  color: var(--muted);
  margin-top: 4px;
}
.top-actions {
  margin-left: auto;
  display: flex;
  gap: 7px;
}
.btn {
  font-size: 10px;
  font-weight: 700;
  border-radius: 10px;
  padding: 9px 13px;
}
.btn-primary-sp {
  background: var(--p);
  color: #fff;
  border: 1px solid var(--p);
}
.btn-primary-sp:hover {
  background: var(--pd);
  color: #fff;
}
.btn-outline-sp {
  background: #fff;
  color: var(--p);
  border: 1px solid #dcd5f7;
}
.btn-outline-sp:hover {
  background: var(--ps);
  color: var(--p);
}
.btn-search,
.btn-light-sp {
  background: #fff;
  color: #595a64;
  border: 1px solid var(--border);
}
.btn-light-sp {
  background: #f3f3f6;
}
.icon-btn {
  border: 1px solid var(--border);
  background: #fff;
  color: #666772;
  width: 34px;
  height: 34px;
  border-radius: 9px;
}
.search-panel-wrap {
  background: #fff;
}
.search-panel {
  padding: 20px 0 25px;
  border-bottom: 1px solid var(--border);
}
.search-panel-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}
.eyebrow {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.6px;
  color: var(--p);
}
.search-panel h2 {
  font-size: 23px;
  font-weight: 800;
  margin: 5px 0;
}
.search-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 0.8fr 1fr auto;
  gap: 8px;
}
.field {
  background: #fafafd;
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 8px 11px;
}
.field label,
.filter-block > label {
  display: block;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  font-weight: 800;
  color: #94959d;
  margin-bottom: 5px;
}
.field-control {
  display: flex;
  gap: 7px;
  align-items: center;
}
.field-control i {
  color: var(--p);
}
.field input,
.field select {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
  font-size: 10px;
  color: var(--text);
}
.search-actions {
  display: flex;
  gap: 5px;
  align-items: stretch;
}
.market-shell {
  padding: 28px 0 70px;
}
.market-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 24px;
}
.filter-sidebar {
  position: sticky;
  top: 94px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  max-height: calc(100vh - 112px);
  overflow: auto;
}
.filter-head {
  display: flex;
  justify-content: space-between;
}
.filter-head h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 5px 0 0;
}
.filter-block {
  padding: 18px 0;
  border-top: 1px solid var(--border);
}
.purpose-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.purpose-btn {
  display: flex;
  justify-content: space-between;
  border: 0;
  background: transparent;
  border-radius: 9px;
  padding: 8px 9px;
  color: #666772;
  font-size: 10px;
  text-align: left;
}
.purpose-btn b {
  font-size: 8px;
  background: #f1f0f5;
  border-radius: 99px;
  padding: 4px 7px;
  color: #8c8d95;
}
.purpose-btn.active {
  background: var(--ps);
  color: var(--p);
  font-weight: 700;
}
.check-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.check-list label {
  font-size: 10px;
  color: #666772;
  display: flex;
  gap: 8px;
  align-items: center;
}
.check-list input {
  accent-color: var(--p);
}
.range-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.range-row input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
  font-size: 9px;
  outline: 0;
}
.choice-row {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.choice-row button {
  width: fit-content;
  height: 32px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 8px;
  font-size: 9px;
  color: #666772;
}
.choice-row button.active {
  background: var(--ps);
  border-color: #d7cdfd;
  color: var(--p);
  font-weight: 800;
}
.location-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.location-pills button {
  border: 1px solid var(--border);
  background: #fff;
  color: #666772;
  border-radius: 99px;
  padding: 6px 8px;
  font-size: 8px;
}
.location-pills button.active {
  background: var(--ps);
  color: var(--p);
  border-color: #d8cffc;
}
.filter-footer {
  padding-top: 18px;
  display: grid;
  gap: 6px;
}
.feed-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 17px;
}
.feed-toolbar h1 {
  font-size: 28px;
  letter-spacing: -1px;
  font-weight: 800;
  margin: 5px 0;
}
.feed-toolbar p {
  color: var(--muted);
  font-size: 10px;
  margin: 0;
}
.feed-tools {
  display: flex;
  gap: 7px;
}
.sort-select,
.mobile-filter-btn {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 9px;
  padding: 8px 11px;
  font-size: 9px;
  color: #555660;
}
.mobile-filter-btn {
  display: none;
}
.active-filters {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.filter-tag {
  background: var(--ps);
  color: var(--p);
  border-radius: 99px;
  padding: 5px 8px;
  font-size: 8px;
  font-weight: 700;
}
.feed-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.social-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: 0.22s;
  box-shadow: 0 2px 8px rgba(20, 20, 30, 0.025);
}
.social-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.post-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 15px 11px;
}
.avatar {
  width: 41px;
  height: 41px;
  flex: 0 0 41px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ps);
  color: var(--p);
  font-size: 10px;
  font-weight: 800;
  overflow: hidden;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-user strong {
  font-size: 11px;
  display: block;
}
.post-user span {
  display: block;
  font-size: 8px;
  color: #9798a0;
  margin-top: 3px;
}
.post-menu {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #999aa2;
}
.post-type {
  padding: 0 15px 11px;
}
.type-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 7px;
  padding: 6px 8px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.4px;
}
.type-available {
  background: #eaf7f0;
  color: #25865a;
}
.type-required {
  background: var(--ps);
  color: var(--p);
}
.post-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #eee;
}
.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.35s;
}
.social-card:hover .post-image img {
  transform: scale(1.02);
}
.image-count {
  position: absolute;
  right: 10px;
  top: 10px;
  background: rgba(20, 20, 28, 0.68);
  color: #fff;
  border-radius: 7px;
  padding: 5px 7px;
  font-size: 8px;
}
.save-btn {
  position: absolute;
  left: 10px;
  top: 10px;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.93);
  color: #666772;
}
.save-btn.saved {
  color: #dc5279;
}
.post-body {
  padding: 15px;
}
.post-body h3 {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 5px;
}
.post-location {
  font-size: 9px;
  color: var(--muted);
}
.post-location i {
  color: var(--p);
}
.rent-price {
  font-size: 19px;
  font-weight: 800;
  margin: 12px 0 10px;
}
.rent-price small {
  font-size: 8px;
  color: var(--muted);
  font-weight: 500;
}
.meta-row {
  display: flex;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 9px 0;
  margin-bottom: 11px;
}
.meta-row span {
  flex: 1;
  text-align: center;
  border-right: 1px solid var(--border);
  font-size: 8px;
  color: var(--muted);
}
.meta-row span:last-child {
  border: 0;
}
.meta-row strong {
  display: block;
  color: var(--text);
  font-size: 9px;
}
.req-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.req-facts span {
  background: #f7f6fa;
  border: 1px solid #ebe9f0;
  border-radius: 7px;
  padding: 6px 7px;
  font-size: 8px;
  color: #666772;
}
.req-facts strong {
  color: var(--text);
}
.required-copy {
  font-size: 13px;
  line-height: 1.5;
  color: #4f505a;
  margin: 8px 0 13px;
  font-weight: 600;
}
.description {
  font-size: 9px;
  line-height: 1.6;
  color: var(--muted);
  margin: 10px 0 13px;
}
.post-footer {
  border-top: 1px solid var(--border);
  padding-top: 11px;
}
.social-actions {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 10px;
}
.social-actions button {
  border: 0;
  background: transparent;
  padding: 0;
  color: #777883;
  font-size: 9px;
}
.social-actions button:hover {
  color: var(--p);
}
.comment-summary {
  margin-left: auto;
  font-size: 9px;
  color: #777883;
}
.comment-summary button {
  color: var(--p);
  font-weight: 700;
}
.comment-box {
  display: flex;
  gap: 7px;
  align-items: center;
}
.comment-mini-avatar {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ps);
  color: var(--p);
  font-size: 8px;
  font-weight: 800;
}
.comment-box input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--border);
  background: #fafafd;
  border-radius: 9px;
  padding: 7px 9px;
  outline: 0;
  font-size: 9px;
}
.comment-send {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: var(--p);
  color: #fff;
}
.post-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px;
  margin-top: 10px;
}
.required-cta {
  grid-template-columns: 1fr 1fr;
}
.detail-modal,
.comments-modal,
.form-modal {
  border: 0;
  border-radius: 18px;
  overflow: hidden;
}
.detail-modal .modal-header,
.comments-modal .modal-header,
.form-modal .modal-header {
  border-bottom: 1px solid var(--border);
  padding: 17px 20px;
}
.detail-image {
  width: 100%;
  aspect-ratio: 16/8;
  object-fit: cover;
}
.detail-content {
  padding: 20px;
}
.detail-content h3 {
  font-size: 23px;
  font-weight: 800;
}
.detail-price {
  font-size: 21px;
  font-weight: 800;
  color: var(--p);
  margin: 10px 0;
}
.detail-owner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin: 15px 0;
}
.detail-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.detail-amenities span {
  background: #f7f6fa;
  border-radius: 8px;
  padding: 7px 9px;
  font-size: 9px;
}
.comments-modal {
  height: min(760px, 90vh);
}
.comments-modal .modal-body {
  padding: 18px 20px 90px;
}
.comment-context {
  background: var(--ps);
  border-radius: 12px;
  padding: 11px;
  margin-bottom: 15px;
  font-size: 9px;
  color: #5c536e;
}
.comments-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.comment-item {
  display: flex;
  gap: 9px;
}
.comment-item .avatar {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
}
.comment-item strong {
  font-size: 10px;
}
.comment-item time {
  font-size: 8px;
  color: #999aa2;
  margin-left: 5px;
}
.comment-item p {
  font-size: 10px;
  color: #5e5f68;
  background: #f7f7fa;
  border-radius: 0 10px 10px 10px;
  padding: 9px 10px;
  margin: 5px 0 0;
}
.comment-composer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 12px 20px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.comment-composer input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  font-size: 10px;
  outline: 0;
}
.form-modal .modal-body {
  padding: 20px;
}
.form-modal .modal-header h4 {
  font-size: 20px;
  font-weight: 800;
  margin: 5px 0;
}
.form-modal .modal-header p {
  font-size: 9px;
  color: var(--muted);
  margin: 0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.form-grid .full {
  grid-column: 1/-1;
}
.form-grid label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 500;
  color: #414144;
  margin-bottom: 6px;
}
.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  font-size: 12px;
  outline: 0;
}
.empty-state {
  background: #fff;
  border: 1px dashed #d9d6e3;
  border-radius: 18px;
  padding: 65px 25px;
  text-align: center;
}
.empty-icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: var(--ps);
  color: var(--p);
  display: grid;
  place-items: center;
  font-size: 23px;
  margin: 0 auto 12px;
}
.empty-state h3 {
  font-size: 18px;
  font-weight: 800;
}
.empty-state p {
  font-size: 10px;
  color: var(--muted);
  max-width: 400px;
  margin: 0 auto 18px;
}
.sp-toast {
  background: #fff;
  color: #277952;
  border: 1px solid #d9eee3;
  box-shadow: var(--shadow);
}
@media (max-width: 1100px) {
  .topbar-inner {
    gap: 15px;
  }
  .page-title {
    min-width: 190px;
  }
  .top-actions .btn {
    padding: 8px 9px;
  }
  .search-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .search-actions {
    grid-column: 1/-1;
    justify-content: flex-end;
  }
  .market-layout {
    grid-template-columns: 245px minmax(0, 1fr);
  }
}
@media (max-width: 991px) {
  .page-title {
    display: none;
  }
  .filter-sidebar {
    position: fixed;
    z-index: 1055;
    left: -330px;
    top: 0;
    bottom: 0;
    width: 315px;
    max-height: none;
    border-radius: 0 18px 18px 0;
    transition: 0.25s;
    padding-top: 25px;
  }
  .filter-sidebar.open {
    left: 0;
    box-shadow: 20px 0 60px rgba(20, 20, 30, 0.18);
  }
  .mobile-filter-btn {
    display: inline-block;
  }
  .market-layout {
    display: block;
  }
  .search-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .topbar-inner {
    min-height: 64px;
  }
  .brand-word {
    font-size: 12px;
  }
  .top-actions .btn {
    font-size: 9px;
    padding: 8px;
  }
  .top-actions .btn-outline-sp span,
  .top-actions .btn-primary-sp span {
    display: none;
  }
  .market-shell {
    padding-top: 18px;
  }
  .feed-toolbar {
    align-items: start;
  }
  .feed-toolbar h1 {
    font-size: 24px;
  }
  .feed-tools {
    flex-direction: column;
    align-items: end;
  }
  .feed-grid {
    grid-template-columns: 1fr;
  }
  .search-grid {
    grid-template-columns: 1fr;
  }
  .search-actions {
    justify-content: stretch;
  }
  .search-actions .btn {
    flex: 1;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .full {
    grid-column: auto;
  }
  .comments-modal {
    height: 95vh;
  }
  .comment-composer {
    padding: 10px 12px;
  }
  .comments-modal .modal-body {
    padding-left: 13px;
    padding-right: 13px;
  }
  .detail-content {
    padding: 15px;
  }
}

/* PIXEL-PERFECT RENTAL CARD UPDATE
   Only requested changes:
   1. Increase typography for comfortable desktop/mobile reading.
   2. Rental feed becomes a single-column list.
   3. Cards with images use a right-side image gallery.
   4. Cards without images use full-width content.
*/
body {
  font-size: 14px;
}
.topbar-inner {
  min-height: 78px;
}
.brand-word {
  font-size: 16px;
}
.brand-word small {
  font-size: 8px;
}
.page-title strong {
  font-size: 15px;
}
.page-title span {
  font-size: 11px;
}
.btn {
  font-size: 12px;
  padding: 10px 14px;
}
.search-panel h2 {
  font-size: 26px;
}
.field label,
.filter-block > label {
  font-size: 10px;
}
.field input,
.field select {
  font-size: 12px;
}
.eyebrow {
  font-size: 10px;
}
.filter-head h3 {
  font-size: 20px;
}
.purpose-btn {
  font-size: 12px;
}
.purpose-btn b {
  font-size: 10px;
}
.check-list label {
  font-size: 12px;
}
.range-row input {
  font-size: 11px;
}
.choice-row button {
  font-size: 11px;
}
.location-pills button {
  font-size: 10px;
}
.feed-toolbar h1 {
  font-size: 30px;
}
.feed-toolbar p {
  font-size: 12px;
}
.sort-select,
.mobile-filter-btn {
  font-size: 11px;
}

.feed-grid {
  grid-template-columns: 1fr;
  gap: 18px;
}

.social-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  border-radius: 18px;
}
.social-card .post-head,
.social-card .post-type,
.social-card .post-body {
  min-width: 0;
}
.social-card .post-head {
  position: absolute;
  left: 0;
  right: 39%;
  top: 0;
  z-index: 2;
  padding: 17px 18px 10px;
}
.social-card .post-type {
  position: absolute;
  left: 0;
  right: 39%;
  top: 68px;
  z-index: 2;
  padding: 0 18px 10px;
}
.social-card .post-body {
  width: 61%;
  padding: 112px 20px 18px;
}
.social-card .post-image {
  order: 2;
  width: 39%;
  flex: 0 0 39%;
  aspect-ratio: auto;
  min-height: 360px;
}
.social-card .post-image img {
  height: 100%;
  object-fit: cover;
}

.social-card:has(.post-image) .post-body {
  padding-top: 112px;
}
.social-card:has(.post-image) .post-footer {
  margin-top: 14px;
}
.social-card .post-user strong {
  font-size: 13px;
}
.social-card .post-user span {
  font-size: 10px;
}
.social-card .type-label {
  font-size: 10px;
  padding: 7px 9px;
}
.social-card .post-body h3 {
  font-size: 21px;
  line-height: 1.25;
}
.social-card .post-location {
  font-size: 11px;
}
.social-card .rent-price {
  font-size: 23px;
}
.social-card .rent-price small {
  font-size: 10px;
}
.social-card .meta-row span {
  font-size: 10px;
}
.social-card .meta-row strong {
  font-size: 12px;
}
.social-card .req-facts span {
  font-size: 10px;
  padding: 7px 9px;
}
.social-card .description {
  font-size: 11px;
  line-height: 1.65;
}
.social-card .required-copy {
  font-size: 15px;
}
.social-card .social-actions button,
.social-card .comment-summary {
  font-size: 11px;
}
.social-card .comment-box input {
  font-size: 11px;
  padding: 9px 10px;
}
.social-card .post-cta .btn {
  font-size: 11px;
}

.social-card:not(:has(.post-image)) {
  display: block;
}
.social-card:not(:has(.post-image)) .post-head,
.social-card:not(:has(.post-image)) .post-type {
  position: static;
}
.social-card:not(:has(.post-image)) .post-head {
  padding: 17px 20px 11px;
}
.social-card:not(:has(.post-image)) .post-type {
  padding: 0 20px 10px;
}
.social-card:not(:has(.post-image)) .post-body {
  width: 100%;
  padding: 0 20px 20px;
}

.image-count {
  font-size: 10px;
}
.save-btn {
  width: 34px;
  height: 34px;
}
.post-menu {
  font-size: 17px;
}

.detail-content h3 {
  font-size: 25px;
}
.detail-price {
  font-size: 23px;
}
.description {
  font-size: 11px;
}
.detail-amenities span {
  font-size: 10px;
}
.comment-item strong {
  font-size: 12px;
}
.comment-item time {
  font-size: 10px;
}
.comment-item p {
  font-size: 11px;
}
.comment-composer input {
  font-size: 12px;
}

@media (max-width: 991px) {
  .social-card {
    flex-direction: column;
  }
  .social-card .post-head {
    right: 0;
    width: 100%;
  }
  .social-card .post-type {
    right: 0;
    width: 100%;
  }
  .social-card .post-image {
    order: 0;
    width: 100%;
    flex: auto;
    min-height: 0;
    aspect-ratio: 16/10;
  }
  .social-card .post-body {
    width: 100%;
    padding: 16px 18px 18px;
  }
  .social-card:has(.post-image) .post-head {
    position: static;
    padding: 15px 18px 10px;
  }
  .social-card:has(.post-image) .post-type {
    position: static;
    padding: 0 18px 10px;
  }
  .social-card:has(.post-image) .post-body {
    padding-top: 16px;
  }
}
@media (max-width: 700px) {
  body {
    font-size: 13px;
  }
  .feed-toolbar h1 {
    font-size: 25px;
  }
  .social-card .post-body h3 {
    font-size: 19px;
  }
  .social-card .rent-price {
    font-size: 21px;
  }
  .social-card .required-copy {
    font-size: 14px;
  }
}

/* =====================================================================
   HOME PAGE REDESIGN — Sukkun Property (matches new reference UI)
   New class names used below so list-property.html is unaffected.
===================================================================== */
:root {
  --p: #6f4fe0;
  --pd: #5638bf;
  --ps: #efeaff;
  --ink: #1c1a29;
  --muted2: #7a7b87;
  --line2: #ece9f6;
  --wa: #22a559;
  --panel-shadow: 0 16px 44px rgba(35, 25, 70, 0.08);
}
body {
  background: #f6f5fb !important;
}

/* ---------- Topbar ---------- */
.new-topbar {
  gap: 22px;
}
.brand-tagline {
  display: flex;
  flex-direction: column;
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--muted2);
  font-weight: 600;
  padding-right: 6px;
  white-space: nowrap;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: 8px;
}
.main-nav a {
  color: #4d4e59;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 0;
  position: relative;
}
.main-nav a.active {
  color: var(--p);
}
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -19px;
  height: 2px;
  background: var(--p);
}
.new-topbar .top-actions {
  gap: 10px;
  align-items: center;
}
.icon-only-btn {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: #54555f;
  display: grid;
  place-items: center;
  font-size: 14px;
}
.icon-only-btn.has-dot::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e34a5c;
  border: 1.5px solid #fff;
}
.user-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 99px;
  padding: 5px 10px 5px 5px;
  color: var(--ink);
  font-weight: 700;
  font-size: 11.5px;
}
.user-chip img {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  object-fit: cover;
}
.user-chip i {
  color: #9a9ba5;
  font-size: 10px;
}
.post-rental-btn {
  white-space: nowrap;
}

/* ---------- Hero ---------- */
.hero-banner {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(12, 9, 30, 0.86) 0%,
    rgba(20, 14, 45, 0.72) 32%,
    rgba(20, 14, 45, 0.28) 62%,
    rgba(20, 14, 45, 0.12) 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 34px 0;
}
.hero-locpin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: #f1eeff;
  margin-bottom: 14px;
}
.hero-inner h1 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.18;
  margin: 0 0 12px;
  letter-spacing: -0.5px;
}
.hero-inner h1 em {
  color: #c8b6ff;
  font-style: normal;
}
.hero-inner p {
  font-size: 13.5px;
  color: #eae7f7;
  max-width: 480px;
  margin: 0 0 18px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  color: #f1eeff;
}
.hero-badges i {
  color: #c8b6ff;
}
.hero-location-pill {
  position: absolute;
  top: 22px;
  right: 34px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.95);
  border: 0;
  border-radius: 99px;
  padding: 9px 16px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-location-pill i {
  color: var(--p);
}
.hero-signoff {
  position: absolute;
  right: 36px;
  bottom: 16px;
  z-index: 3;
  font-family: "Caveat", cursive;
  font-size: 23px;
  line-height: 1.15;
  color: #fff;
  text-align: right;
  font-weight: 700;
}

/* ---------- Category tabs ---------- */
.cat-tabs-wrap {
  background: #f6f5fb;
  padding: 18px 0 0;
}
.cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.cat-tab {
  border: 1px solid var(--border);
  background: #fff;
  color: #54555f;
  border-radius: 10px;
  padding: 9px 16px;
  font-size: 11.5px;
  font-weight: 700;
}
.cat-tab.active {
  background: var(--p);
  border-color: var(--p);
  color: #fff;
}

/* ---------- Layout ---------- */
.market-layout.three-col {
  grid-template-columns: 262px minmax(0, 1fr) 288px;
  align-items: start;
}

/* ---------- Filter sidebar (redesign) ---------- */
.filter-sidebar {
  top: 18px;
  padding: 18px;
}
.filter-head {
  align-items: center;
}
.filter-head h3 {
  font-size: 16px;
}
.reset-link {
  border: 0;
  background: transparent;
  color: var(--muted2);
  font-size: 10.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}
.reset-link:hover {
  color: var(--p);
}
.filter-close-mobile {
  display: none;
}
.icon-check-list label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.icon-check-list i {
  color: #9c9dab;
  font-size: 13px;
  width: 14px;
  text-align: center;
}
.range-row input {
  padding: 9px;
}
.furnish-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.furnish-pills button {
  border: 1px solid var(--border);
  background: #fff;
  color: #666772;
  border-radius: 9px;
  padding: 8px 12px;
  font-size: 10.5px;
  font-weight: 600;
}
.furnish-pills button.active {
  background: var(--ps);
  border-color: #d7cdfd;
  color: var(--p);
  font-weight: 800;
}
.loc-search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 8px 10px;
  margin-bottom: 12px;
  background: #fafafd;
}
.loc-search i {
  color: #9c9dab;
  font-size: 11px;
}
.loc-search input {
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 10.5px;
  width: 100%;
}
#locCheckList {
  max-height: 180px;
  overflow: auto;
}

/* ---------- Composer ---------- */
.composer-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 16px;
  box-shadow: var(--panel-shadow);
}
.composer-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.composer-avatar {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
}
.composer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.composer-input-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.composer-input-wrap input {
  border: 0;
  outline: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  background: transparent;
  padding: 0;
}
.composer-input-wrap input::placeholder {
  color: var(--ink);
}
.composer-hint {
  font-size: 10px;
  color: var(--muted2);
  margin-top: 2px;
}
.composer-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid var(--line2);
}
.quick-type {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border);
  background: #fafafd;
  color: #5c5d68;
  border-radius: 9px;
  padding: 8px 12px;
  font-size: 10.5px;
  font-weight: 700;
}
.quick-type.active {
  background: var(--ps);
  border-color: #d7cdfd;
  color: var(--p);
}

.new-toolbar {
  margin-bottom: 10px;
  align-items: center;
}
.new-toolbar p {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}
.sort-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  color: var(--muted2);
  font-weight: 600;
}
.sort-label select {
  border: 0;
  background: transparent;
  font-weight: 800;
  color: var(--ink);
  font-size: 11px;
}

/* ---------- Listing cards (redesign, horizontal) ---------- */
.feed-grid {
  gap: 14px;
}
.lcard {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(20, 20, 30, 0.025);
  transition: 0.2s;
}
.lcard:hover {
  box-shadow: var(--panel-shadow);
  transform: translateY(-2px);
}
.lcard-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.lcard-head .avatar {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
}
.lcard-head .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.lcard-user strong {
  display: block;
  font-size: 12px;
}
.lcard-user span {
  display: block;
  font-size: 9.5px;
  color: var(--muted2);
  margin-top: 2px;
}
.lcard-tag {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.lcard-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--ps);
  color: var(--p);
  border-radius: 7px;
  padding: 6px 9px;
  font-size: 9.5px;
  font-weight: 800;
  white-space: nowrap;
}
.lcard-badge.req {
  background: #f7f6fa;
  color: #5c5d68;
}
.lcard-menu {
  border: 0;
  background: transparent;
  color: #a5a6b0;
}

.lcard-body {
  display: flex;
  gap: 16px;
}
.lcard-thumb {
  width: 150px;
  flex: 0 0 150px;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1/1;
}
.lcard-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lcard-main {
  flex: 1;
  min-width: 0;
}
.lcard-main h3 {
  font-size: 16.5px;
  font-weight: 800;
  margin: 0 0 5px;
  color: var(--ink);
}
.lcard-loc {
  font-size: 10.5px;
  color: var(--muted2);
  margin-bottom: 8px;
}
.lcard-loc i {
  color: var(--p);
}
.lcard-price {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 9px;
}
.lcard-price small {
  font-size: 10px;
  color: var(--muted2);
  font-weight: 600;
}
.lcard-count {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 11px;
  font-size: 10.5px;
  color: #54555f;
  font-weight: 600;
}
.lcard-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 11px;
}
.lcard-facts span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  color: #54555f;
  font-weight: 600;
}
.lcard-facts i {
  color: #9c9dab;
}
.lcard-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.lcard-pills span {
  background: #f7f6fa;
  border: 1px solid #ecebf1;
  color: #666772;
  border-radius: 7px;
  padding: 5px 9px;
  font-size: 9.5px;
  font-weight: 600;
}
.lcard-desc {
  font-size: 11px;
  color: var(--muted2);
  line-height: 1.6;
  margin-bottom: 12px;
}
.lcard-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line2);
}
.lcard-foot .fbtn {
  border: 0;
  background: transparent;
  color: #7a7b87;
  font-size: 10.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}
.lcard-foot .fbtn:hover {
  color: var(--p);
}
.lcard-foot .cta-btn {
  margin-left: auto;
}
.lcard-foot .cta-btn .btn {
  padding: 9px 18px;
  font-size: 11px;
}

/* Requirement card variant */
.lcard.lcard-req .lcard-body {
  display: block;
}
.lcard-req .lcard-quote {
  font-size: 12.5px;
  font-style: italic;
  color: #4f505a;
  line-height: 1.6;
  margin: 6px 0 12px;
  font-weight: 600;
}

@media (max-width: 1250px) {
  .market-layout.three-col {
    grid-template-columns: 245px minmax(0, 1fr) 260px;
  }
}
@media (max-width: 1100px) {
  .market-layout.three-col {
    grid-template-columns: 1fr;
  }
  .side-rail {
    order: 3;
  }
}
@media (max-width: 991px) {
  .main-nav {
    display: none;
  }
  .brand-tagline {
    display: none;
  }
  .filter-close-mobile {
    display: inline-flex;
    position: absolute;
    right: 16px;
    top: 16px;
  }
  .hero-inner h1 {
    font-size: 28px;
  }
  .hero-location-pill {
    top: 14px;
    right: 14px;
    padding: 7px 12px;
    font-size: 10px;
  }
  .hero-signoff {
    display: none;
  }
  .lcard-body {
    flex-direction: column;
  }
  .lcard-thumb {
    width: 100%;
    aspect-ratio: 16/9;
  }
}
@media (max-width: 700px) {
  .user-chip span {
    display: none;
  }
  .hero-banner {
    min-height: 250px;
  }
  .hero-inner h1 {
    font-size: 23px;
  }
  .composer-top {
    flex-wrap: wrap;
  }
  .composer-top .btn {
    width: 100%;
    order: 3;
  }
  .lcard-foot {
    flex-wrap: wrap;
    row-gap: 8px;
  }
  .lcard-foot .cta-btn {
    margin-left: 0;
    width: 100%;
  }
  .lcard-foot .cta-btn .btn {
    width: 100%;
  }
}

/* ---------- Side rail ---------- */
.side-rail {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 18px;
}
.side-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
}
.side-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 13px;
}
.side-card-title i {
  color: var(--p);
}
.tips-title i {
  color: #e8a53d;
}
.view-all {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  color: var(--p);
  text-decoration: none;
}

.promo-list-card {
  background: var(--ps);
  border-color: #e4dbff;
}
.promo-list-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  color: var(--p);
  display: grid;
  place-items: center;
  font-size: 18px;
  margin-bottom: 12px;
}
.promo-list-card h4 {
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--ink);
}
.promo-list-card p {
  font-size: 10.5px;
  color: #5c5771;
  line-height: 1.55;
  margin: 0 0 13px;
}
.btn-white-sp {
  background: #fff;
  color: var(--p);
  border: 1px solid #fff;
  font-weight: 800;
}
.btn-white-sp:hover {
  background: #f5f2ff;
}
.promo-list-foot {
  display: block;
  text-align: center;
  font-size: 9px;
  color: #6d6884;
  margin-top: 10px;
  font-weight: 600;
}

.popular-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.popular-list button {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 0;
  background: transparent;
  padding: 8px 6px;
  border-radius: 10px;
  text-align: left;
  width: 100%;
}
.popular-list button:hover {
  background: #faf9fd;
}
.popular-list i {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--ps);
  color: var(--p);
  display: grid;
  place-items: center;
  font-size: 13px;
  flex: 0 0 30px;
}
.popular-list strong {
  display: block;
  font-size: 11px;
  color: var(--ink);
}
.popular-list small {
  display: block;
  font-size: 9px;
  color: var(--muted2);
  margin-top: 2px;
}

.promo-banner-card {
  padding: 0;
  overflow: hidden;
  position: relative;
  min-height: 270px;
}
.promo-banner-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.promo-banner-overlay {
  position: relative;
  z-index: 2;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  background: linear-gradient(
    180deg,
    rgba(255, 230, 150, 0) 30%,
    rgba(255, 230, 150, 0.55) 60%,
    rgba(255, 213, 110, 0.85) 100%
  );
}
.promo-banner-text {
  font-size: 16px;
  font-weight: 800;
  color: #2a1f0d;
  line-height: 1.3;
  margin: 0 0 5px;
}
.promo-banner-sub {
  font-size: 10px;
  color: #4a3c1e;
  margin: 0 0 11px;
}
.promo-banner-overlay .btn {
  align-self: flex-start;
  font-size: 10.5px;
  padding: 8px 14px;
  margin-bottom: 14px;
}
.promo-banner-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  font-weight: 800;
  color: #2a1f0d;
}
.promo-banner-brand small {
  display: block;
  font-size: 6px;
  letter-spacing: 1px;
  color: #5c4d28;
}
.brand-mark.sm {
  width: 22px;
  height: 22px;
  font-size: 11px;
  border-radius: 7px;
}
.promo-banner-script {
  position: absolute;
  right: 14px;
  bottom: 14px;
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 13px;
  color: #2a1f0d;
  text-align: right;
  line-height: 1.2;
}

.tips-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tips-list button {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  padding: 8px 4px;
  text-align: left;
  width: 100%;
  border-radius: 9px;
  font-size: 10.5px;
  color: #4d4e59;
  font-weight: 600;
}
.tips-list button:hover {
  background: #faf9fd;
  color: var(--p);
}
.tip-dot {
  color: #9c9dab;
  font-size: 13px;
  flex: 0 0 auto;
}
.tips-list button:hover .tip-dot {
  color: var(--p);
}

.help-card {
  text-align: center;
}
.help-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ps);
  color: var(--p);
  display: grid;
  place-items: center;
  font-size: 18px;
  margin: 0 auto 10px;
}
.help-card h4 {
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 4px;
}
.help-card p {
  font-size: 10.5px;
  color: var(--muted2);
  margin: 0 0 13px;
}
.btn-whatsapp {
  background: var(--wa);
  color: #fff;
  border: 1px solid var(--wa);
  font-weight: 800;
}
.btn-whatsapp:hover {
  background: #1c8c4a;
  color: #fff;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 26px 0 18px;
  margin-top: 10px;
}
.footer-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.footer-tagline {
  display: flex;
  flex-direction: column;
  font-size: 10px;
  color: var(--muted2);
  font-weight: 600;
  line-height: 1.5;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-left: auto;
}
.footer-nav a {
  color: #54555f;
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
}
.footer-nav a.active {
  color: var(--p);
}
.footer-social {
  display: flex;
  gap: 9px;
}
.footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f3f3f6;
  color: #54555f;
  display: grid;
  place-items: center;
  font-size: 13px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 15px;
  font-size: 10px;
  color: var(--muted2);
}
.footer-bottom .heart {
  margin-left: 2px;
}
@media (max-width: 700px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-nav {
    margin-left: 0;
  }
  /* ============================================================
   Toggle Switch for RERA Approved & Property Verified
   ============================================================ */
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed #e5e5e5;
}

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

.toggle-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.toggle-label i {
  font-size: 15px;
}

/* Switch Container */
.switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 22px;
  flex-shrink: 0;
  margin: 0;
}

/* Hide default checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.3s;
  border-radius: 22px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* Checked state */
.switch input:checked + .slider {
  background-color: #0d6efd; /* aapke theme ka primary color use karein */
}

.switch input:checked + .slider:before {
  transform: translateX(20px);
}

/* Focus state */
.switch input:focus + .slider {
  box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.25);
}
}
