* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #777777;
  --line: #e9e9e9;
  --soft: #f7f7f7;
  --black: #111111;
  --accent: #d86f2f;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

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

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar,
.footer {
  display: none;
}

.home-hero {
  min-height: 100vh;
  padding: 28px 54px 70px;
  background: #ffffff;
  position: relative;
}

.hero-top {
  height: 64px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.brand-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-symbol {
  width: 38px;
  height: 38px;
  border: 1px solid var(--black);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.brand-area strong {
  display: block;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.8px;
}

.brand-area small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 1px;
}

.hero-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-top: 7px;
}

.hero-menu a {
  font-size: 13px;
  color: #333333;
}

.hero-menu a:hover {
  color: var(--accent);
}

.hero-center {
  text-align: center;
  padding-top: 118px;
  padding-bottom: 126px;
}

.hero-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 18px;
}

.hero-center h1 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.14;
  font-weight: 500;
  letter-spacing: -0.8px;
  max-width: 860px;
  margin: 0 auto;
}

.search-box {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.07);
  padding: 30px;
}

.search-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: 22px;
}

.search-title strong {
  font-size: 15px;
  font-weight: 600;
}

.search-title span {
  font-size: 12px;
  color: var(--muted);
}

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

.category-option {
  min-height: 150px;
  background: var(--soft);
  border: 1px solid transparent;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: 0.18s ease;
}

.category-option:hover {
  background: #ffffff;
  border-color: var(--black);
}

.category-option span {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
}

.category-option strong {
  display: block;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.4px;
  margin-top: 24px;
  margin-bottom: 6px;
}

.category-option small {
  color: var(--muted);
  font-size: 13px;
  max-width: 320px;
}

@media (max-width: 800px) {
  .home-hero {
    padding: 22px 18px 42px;
  }

  .hero-top {
    height: auto;
    padding-bottom: 18px;
    flex-direction: column;
    gap: 18px;
  }

  .hero-menu {
    width: 100%;
    gap: 16px;
    overflow-x: auto;
    padding-top: 0;
  }

  .hero-center {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .search-box {
    width: 100%;
    padding: 20px;
  }

  .search-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }
}

.catalog-page {
  min-height: 100vh;
  padding: 34px 54px 70px;
  background: #ffffff;
}

.catalog-header {
  max-width: 1120px;
  margin: 0 auto 34px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.back-link {
  display: inline-block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 42px;
}

.back-link:hover {
  color: var(--accent);
}

.catalog-header h1 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.8px;
  line-height: 1.12;
  margin-bottom: 12px;
}

.catalog-header p {
  max-width: 620px;
  color: var(--muted);
  font-size: 15px;
}

.filter-box {
  max-width: 1120px;
  margin: 0 auto 26px;
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 18px;
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr auto;
  gap: 10px;
}

.filter-box input,
.filter-box select {
  height: 44px;
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 0 12px;
  font-size: 13px;
  color: #333333;
  outline: none;
}

.filter-box input:focus,
.filter-box select:focus {
  border-color: #111111;
}

.filter-box button {
  height: 44px;
  border: 0;
  background: #111111;
  color: #ffffff;
  padding: 0 22px;
  font-size: 13px;
  cursor: pointer;
}

.filter-box button:hover {
  background: var(--accent);
}

.empty-state {
  max-width: 1120px;
  margin: 0 auto;
  border: 1px dashed var(--line);
  background: #fafafa;
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.empty-state strong {
  font-size: 15px;
  font-weight: 500;
}

.empty-state span {
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 900px) {
  .catalog-page {
    padding: 24px 18px 42px;
  }

  .filter-box {
    grid-template-columns: 1fr;
  }

  .filter-box button {
    width: 100%;
  }
}


.admin-page {
  min-height: 100vh;
  padding: 34px 54px 70px;
  background: #ffffff;
}

.admin-header {
  max-width: 1120px;
  margin: 0 auto 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.admin-header h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.8px;
  line-height: 1.12;
  margin-bottom: 12px;
}

.admin-header p {
  max-width: 640px;
  color: var(--muted);
  font-size: 15px;
}

.admin-action {
  height: 44px;
  background: #111111;
  color: #ffffff;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  white-space: nowrap;
}

.admin-action:hover {
  background: var(--accent);
}

.admin-stats {
  max-width: 1120px;
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.admin-stats div {
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 22px;
}

.admin-stats span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 10px;
}

.admin-stats strong {
  font-size: 30px;
  font-weight: 500;
}

.admin-table-box {
  max-width: 1120px;
  margin: 0 auto;
  border: 1px solid var(--line);
  background: #ffffff;
}

.admin-table-header {
  padding: 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-table-header strong {
  font-size: 15px;
  font-weight: 600;
}

.admin-table-header span {
  font-size: 12px;
  color: var(--muted);
}

.admin-empty {
  border: 0;
  background: #fafafa;
  margin: 0;
  max-width: none;
}

@media (max-width: 900px) {
  .admin-page {
    padding: 24px 18px 42px;
  }

  .admin-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-stats {
    grid-template-columns: 1fr;
  }

  .admin-action {
    width: 100%;
  }
}


.admin-action-light {
  background: #ffffff;
  color: #111111;
  border: 1px solid var(--line);
}

.admin-action-light:hover {
  background: #111111;
  color: #ffffff;
}

.property-form {
  max-width: 1120px;
  margin: 0 auto;
}

.form-section {
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 24px;
  margin-bottom: 16px;
}

.form-section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.form-section-title strong {
  font-size: 15px;
  font-weight: 600;
}

.form-section-title span {
  font-size: 12px;
  color: var(--muted);
}

.form-grid {
  display: grid;
  gap: 14px;
}

.form-grid.one {
  grid-template-columns: 1fr;
}

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

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

.property-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  color: #333333;
}

.property-form input,
.property-form select,
.property-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #ffffff;
  color: #111111;
  min-height: 44px;
  padding: 0 12px;
  font-size: 13px;
  outline: none;
  font-family: Arial, Helvetica, sans-serif;
}

.property-form textarea {
  padding: 12px;
  resize: vertical;
  line-height: 1.5;
}

.property-form input:focus,
.property-form select:focus,
.property-form textarea:focus {
  border-color: #111111;
}

.upload-box {
  min-height: 120px;
  border: 1px dashed var(--line);
  background: #fafafa;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
}

.upload-box input {
  display: none;
}

.upload-box strong {
  font-size: 14px;
  font-weight: 600;
  color: #111111;
}

.upload-box span {
  color: var(--muted);
  font-size: 12px;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

.btn-primary,
.btn-secondary {
  height: 44px;
  padding: 0 22px;
  border: 0;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: #111111;
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent);
}

.btn-secondary {
  background: #ffffff;
  color: #111111;
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  border-color: #111111;
}

@media (max-width: 900px) {
  .form-section-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .form-grid.two,
  .form-grid.four {
    grid-template-columns: 1fr;
  }

  .form-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }
}

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

.form-gap-top {
  margin-top: 14px;
}

@media (max-width: 900px) {
  .form-grid.three {
    grid-template-columns: 1fr;
  }
}

.image-preview {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 120px));
  gap: 12px;
  align-items: start;
}

.preview-item {
  width: 120px;
  height: 120px;
  position: relative;
  border: 1px solid var(--line);
  background: #f7f7f7;
  overflow: hidden;
}

.preview-item img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  display: block;
}

.preview-item span {
  position: absolute;
  top: 7px;
  left: 7px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  background: #111111;
  color: #ffffff;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-list {
  display: flex;
  flex-direction: column;
}

.admin-property-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.admin-property-row:last-child {
  border-bottom: 0;
}

.admin-property-row strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #111111;
  margin-bottom: 4px;
}

.admin-property-row span {
  display: block;
  font-size: 13px;
  color: #555555;
}

.admin-property-row small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 4px;
}

.admin-row-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-row-actions a,
.admin-row-actions button {
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: #111111;
  font-size: 12px;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
}

.admin-row-actions a:hover,
.admin-row-actions button:hover {
  border-color: #111111;
}

.admin-row-actions form {
  margin: 0;
}

@media (max-width: 1000px) {
  .admin-property-row {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .admin-row-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .admin-row-actions a,
  .admin-row-actions button {
    flex: 1;
  }
}

.admin-catalog-head {
  max-width: 1120px;
  margin: 30px auto 22px;
  text-align: center;
}

.admin-catalog-head h2 {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  letter-spacing: -0.5px;
}

.property-card-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.property-card {
  background: #ffffff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: 0.2s ease;
}

.property-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.property-image {
  height: 210px;
  position: relative;
  background: #f5f5f5;
  overflow: hidden;
}

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

.property-image-empty {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 13px;
}

.property-status {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 34px;
  background: #111111;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 13px;
  letter-spacing: 0.3px;
}

.property-ref {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(0, 0, 0, 0.72);
  color: #ffffff;
  padding: 9px 13px;
  font-size: 13px;
}

.property-info {
  padding: 20px 20px 18px;
}

.property-info h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 8px;
}

.property-location {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 14px;
}

.property-price {
  font-size: 20px;
  color: #111111;
  font-weight: 700;
}

.property-price span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  margin-left: 4px;
}

.property-details {
  border-top: 1px solid var(--line);
  padding: 14px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: #333333;
  font-size: 12px;
}

.property-actions {
  border-top: 1px solid var(--line);
  padding: 14px 20px;
  display: flex;
  gap: 8px;
}

.property-actions a,
.property-actions button {
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: #111111;
  font-size: 12px;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
}

.property-actions a:hover,
.property-actions button:hover {
  border-color: #111111;
}

.property-actions form {
  margin: 0;
}

@media (max-width: 1000px) {
  .property-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .property-card-grid {
    grid-template-columns: 1fr;
  }

  .property-image {
    height: 230px;
  }
}

.property-carousel {
  position: relative;
}

.carousel-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.carousel-photo.active {
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 46px;
  border: 0;
  background: rgba(0, 0, 0, 0.42);
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: 0.18s ease;
  z-index: 5;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.68);
}

.carousel-prev {
  left: 0;
}

.carousel-next {
  right: 0;
}

.property-ref {
  z-index: 6;
}

.property-status {
  z-index: 6;
}

.property-image {
  height: 245px;
}

@media (max-width: 700px) {
  .property-image {
    height: 240px;
  }
}

.property-description {
  color: #666666;
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 14px;
  min-height: 38px;
}

.property-main-details {
  border-top: 1px solid var(--line);
  padding: 14px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.property-main-details div {
  border: 1px solid var(--line);
  padding: 10px 8px;
  text-align: center;
  background: #fafafa;
}

.property-main-details small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 4px;
}

.property-main-details strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #111111;
}

.property-extra-details {
  border-top: 1px solid var(--line);
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  color: #555555;
}

.property-extra-details strong {
  color: #111111;
  font-weight: 600;
}

.property-price {
  margin-top: 8px;
}

@media (max-width: 700px) {
  .property-main-details {
    grid-template-columns: repeat(2, 1fr);
  }
}

.import-box {
  max-width: 1120px;
  margin: 0 auto 18px;
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 24px;
}

.csv-example {
  white-space: pre-wrap;
  word-break: break-word;
  background: #fafafa;
  border: 1px solid var(--line);
  padding: 16px;
  font-size: 12px;
  line-height: 1.6;
  color: #333333;
}

.admin-header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

@media (max-width: 900px) {
  .admin-header-actions {
    width: 100%;
    flex-direction: column;
  }

  .admin-header-actions .admin-action {
    width: 100%;
  }
}

.current-photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 140px));
  gap: 14px;
}

.current-photo-item {
  border: 1px solid var(--line);
  background: #ffffff;
  overflow: hidden;
}

.current-photo-item img {
  width: 140px;
  height: 110px;
  object-fit: cover;
  display: block;
}

.current-photo-item form {
  padding: 8px;
}

.current-photo-item > button:not(.photo-drag-handle):not(.current-photo-delete) {
  width: 100%;
  height: 32px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: #111111;
  font-size: 12px;
  cursor: pointer;
}

.current-photo-item > button:not(.photo-drag-handle):not(.current-photo-delete):hover {
  border-color: #111111;
}

.current-photo-item .photo-drag-handle,
.current-photo-item .current-photo-delete {
  width: auto;
  height: auto;
}

.current-photo-item button:hover {
  border-color: #111111;
}

.public-property-grid {
  margin-top: 26px;
}

.public-property-actions a {
  width: 100%;
  text-align: center;
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.public-property-actions a:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.filter-clear {
  height: 44px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: #111111;
  padding: 0 18px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.filter-clear:hover {
  border-color: #111111;
}

.filter-box {
  grid-template-columns: 1.7fr 1fr 1fr 1fr auto auto;
}

@media (max-width: 900px) {
  .filter-box {
    grid-template-columns: 1fr;
  }

  .filter-clear {
    width: 100%;
  }
}

.filter-box {
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr auto auto;
}

@media (max-width: 900px) {
  .filter-box {
    grid-template-columns: 1fr;
  }
}

.property-detail-page {
  padding: 70px 24px 90px;
  background: #ffffff;
}

.detail-container {
  max-width: 1180px;
  margin: 0 auto;
}

.detail-top {
  margin-bottom: 36px;
}

.detail-heading {
  margin-top: 28px;
  max-width: 760px;
}

.detail-heading h1 {
  font-size: 46px;
  line-height: 1.08;
  font-weight: 400;
  margin: 12px 0 12px;
  color: #111111;
}

.detail-heading p {
  color: #666666;
  font-size: 15px;
}

.detail-gallery {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 14px;
  margin-bottom: 42px;
}

.detail-main-photo {
  height: 520px;
  background: #f5f5f5;
  overflow: hidden;
}

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

.detail-side-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.detail-side-photos img {
  width: 100%;
  height: 253px;
  object-fit: cover;
  background: #f5f5f5;
}

.detail-no-photo {
  grid-column: 1 / -1;
  height: 420px;
  background: #f7f7f7;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777777;
}

.detail-content-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 42px;
  align-items: start;
}

.detail-main-content {
  min-width: 0;
}

.detail-section {
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
  margin-bottom: 28px;
}

.detail-section h2 {
  font-size: 34px;
  font-weight: 400;
  margin: 16px 0 8px;
  color: #111111;
}

.detail-section h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 12px;
  color: #111111;
}

.detail-section p {
  font-size: 15px;
  line-height: 1.8;
  color: #555555;
  white-space: pre-line;
}

.detail-status {
  display: inline-flex;
  padding: 8px 13px;
  background: #111111;
  color: #ffffff;
  font-size: 12px;
}

.detail-address {
  color: #777777;
}

.detail-icons {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
  margin-bottom: 34px;
}

.detail-icons div {
  padding: 22px 16px;
  border-right: 1px solid var(--line);
}

.detail-icons div:last-child {
  border-right: 0;
}

.detail-icons strong {
  display: block;
  font-size: 19px;
  font-weight: 500;
  color: #111111;
  margin-bottom: 5px;
}

.detail-icons span {
  font-size: 12px;
  color: #777777;
}

.detail-card {
  border: 1px solid var(--line);
  padding: 26px;
  background: #ffffff;
  position: sticky;
  top: 24px;
}

.detail-card h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 20px;
}

.detail-list {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

.detail-list div {
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.detail-list span {
  display: block;
  font-size: 12px;
  color: #777777;
  margin-bottom: 5px;
}

.detail-list strong {
  font-size: 14px;
  color: #111111;
  font-weight: 500;
}

.whatsapp-detail-btn,
.maps-detail-btn {
  width: 100%;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  border: 1px solid #111111;
  margin-top: 10px;
}

.whatsapp-detail-btn {
  background: #111111;
  color: #ffffff;
}

.maps-detail-btn {
  background: #ffffff;
  color: #111111;
}

@media (max-width: 900px) {
  .detail-heading h1 {
    font-size: 34px;
  }

  .detail-gallery,
  .detail-content-grid {
    grid-template-columns: 1fr;
  }

  .detail-main-photo {
    height: 360px;
  }

  .detail-side-photos {
    grid-template-columns: 1fr 1fr;
  }

  .detail-side-photos img {
    height: 160px;
  }

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

  .detail-icons div {
    border-bottom: 1px solid var(--line);
  }

  .detail-card {
    position: static;
  }
}

.gallery-open {
  cursor: pointer;
}

.gallery-open:hover {
  filter: brightness(0.92);
}

.gallery-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.gallery-modal.active {
  display: flex;
}

.gallery-modal-content {
  width: min(1100px, 92vw);
  height: min(760px, 82vh);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.gallery-modal-content img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.gallery-close {
  position: fixed;
  top: 22px;
  right: 28px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #ffffff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  z-index: 10001;
}

.gallery-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 70px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 48px;
  line-height: 1;
  cursor: pointer;
  z-index: 10000;
}

.gallery-prev {
  left: 28px;
}

.gallery-next {
  right: 28px;
}

#galleryCounter {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  font-size: 13px;
  letter-spacing: 0.08em;
}

@media (max-width: 700px) {
  .gallery-nav {
    width: 42px;
    height: 56px;
    font-size: 36px;
  }

  .gallery-prev {
    left: 12px;
  }

  .gallery-next {
    right: 12px;
  }

  .gallery-close {
    right: 14px;
  }
}

.public-property-actions {
  padding: 18px 22px 22px;
}

.public-property-actions a {
  width: 100%;
  height: 46px;
  background: #ffffff;
  color: #111111;
  border: 1px solid #d9d9d9;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: 0.22s ease;
}

.public-property-actions a span {
  font-size: 15px;
  transform: translateY(-1px);
  transition: 0.22s ease;
}

.public-property-actions a:hover {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.public-property-actions a:hover span {
  transform: translate(4px, -1px);
}

.admin-ads-page {
  max-width: 1280px;
  margin: 0 auto;
}

.admin-ads-header {
  max-width: 1220px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.admin-ads-header h1 {
  font-size: 38px;
  font-weight: 500;
  margin: 8px 0 10px;
}

.admin-ads-header p {
  color: #555555;
  font-size: 14px;
}

.admin-ads-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.admin-ads-toolbar {
  max-width: 1220px;
  margin: 30px auto 18px;
  display: flex;
  justify-content: space-between;
}

.admin-ads-toolbar strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.admin-ads-toolbar span {
  font-size: 13px;
  color: #777777;
}

.admin-ads-list {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.admin-ad-card {
  display: grid;
  grid-template-columns: 160px 1fr 230px 150px;
  gap: 18px;
  align-items: center;
  background: #ffffff;
  border: 1px solid #dcdcdc;
  padding: 12px;
  transition: 0.18s ease;
}

.admin-ad-card:hover {
  border-color: #bcbcbc;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.admin-ad-photo {
  width: 160px;
  height: 105px;
  background: #f3f3f3;
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.admin-ad-photo span {
  font-size: 12px;
  color: #777777;
}

.admin-ad-content {
  min-width: 0;
}

.admin-ad-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.admin-ad-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 7px;
}

.admin-ad-tags span {
  font-size: 11px;
  background: #f3f3f3;
  color: #444444;
  padding: 4px 8px;
  border-radius: 999px;
}

.admin-ad-content h3 {
  font-size: 18px;
  margin: 0;
  color: #111111;
  font-weight: 600;
}

.admin-ad-menu {
  border: 0;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
  color: #111111;
}

.admin-ad-location {
  margin: 9px 0 10px;
  font-size: 13px;
  color: #555555;
}

.admin-ad-price {
  font-size: 22px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 9px;
}

.admin-ad-specs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-ad-specs span {
  font-size: 12px;
  color: #333333;
}

.admin-ad-performance {
  display: grid;
  justify-items: end;
  gap: 10px;
  text-align: right;
}

.admin-ad-created span {
  display: block;
  font-size: 11px;
  color: #888888;
}

.admin-ad-created strong {
  font-size: 12px;
  color: #333333;
}

.admin-ad-numbers {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.admin-ad-numbers span {
  font-size: 12px;
  color: #333333;
}

.admin-ad-score {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #111111;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.admin-ad-buttons {
  display: grid;
  gap: 8px;
}

.admin-ad-buttons a,
.admin-ad-buttons button {
  height: 34px;
  width: 100%;
  border: 1px solid var(--line);
  background: #ffffff;
  color: #111111;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-ad-buttons a.primary {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.admin-ad-buttons a:hover,
.admin-ad-buttons button:hover {
  border-color: #111111;
}

.admin-ad-buttons form {
  margin: 0;
}

@media (max-width: 1000px) {
  .admin-ad-card {
    grid-template-columns: 120px 1fr;
  }

  .admin-ad-photo {
    width: 120px;
    height: 90px;
  }

  .admin-ad-performance,
  .admin-ad-buttons {
    grid-column: 1 / -1;
  }

  .admin-ad-performance {
    justify-items: start;
    text-align: left;
  }

  .admin-ad-buttons {
    grid-template-columns: repeat(3, 1fr);
  }

  .admin-ads-header {
    flex-direction: column;
  }
}

.admin-filter-bar {
  max-width: 1220px;
  margin: 0 auto 22px;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr auto auto;
  gap: 10px;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 14px;
}

.admin-filter-bar input,
.admin-filter-bar select {
  height: 42px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: #111111;
  padding: 0 12px;
  font-size: 13px;
  outline: none;
}

.admin-filter-bar input:focus,
.admin-filter-bar select:focus {
  border-color: #111111;
}

.admin-filter-bar button,
.admin-filter-bar a {
  height: 42px;
  border: 1px solid #111111;
  background: #111111;
  color: #ffffff;
  padding: 0 18px;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.admin-filter-bar a {
  background: #ffffff;
  color: #111111;
  border-color: var(--line);
}

.admin-filter-bar a:hover {
  border-color: #111111;
}

@media (max-width: 1000px) {
  .admin-filter-bar {
    grid-template-columns: 1fr;
  }

  .admin-filter-bar button,
  .admin-filter-bar a {
    width: 100%;
  }
}

.sortable-preview {
  margin-top: 22px;
}

.sortable-preview-item {
  cursor: grab;
}

.sortable-preview-item.dragging {
  opacity: 0.45;
  transform: scale(0.98);
}

.preview-item {
  position: relative;
}

.preview-number {
  position: absolute;
  top: 7px;
  left: 7px;
  min-width: 24px;
  height: 24px;
  background: #111111;
  color: #ffffff;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.preview-remove {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 24px;
  height: 24px;
  border: 0;
  background: #ffffff;
  color: #111111;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}

.preview-remove:hover {
  background: #111111;
  color: #ffffff;
}

.sortable-preview-item {
  cursor: grab;
  user-select: none;
}

.sortable-preview-item.dragging {
  opacity: 0.45;
  transform: scale(0.98);
}

.sortable-preview-item.drag-over {
  outline: 2px solid #111111;
  outline-offset: 3px;
}

.preview-controls {
  position: absolute;
  top: 7px;
  right: 7px;
  display: flex;
  gap: 4px;
  z-index: 5;
}

.preview-controls button {
  width: 24px;
  height: 24px;
  border: 0;
  background: #ffffff;
  color: #111111;
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}

.preview-controls button:hover {
  background: #111111;
  color: #ffffff;
}

.preview-remove {
  font-size: 18px !important;
  line-height: 1;
}

.preview-controls {
  position: absolute;
  top: 6px;
  right: 6px;
  display: flex;
  gap: 3px;
  z-index: 5;
  opacity: 0;
  transition: 0.18s ease;
}

.preview-item:hover .preview-controls {
  opacity: 1;
}

.preview-controls button {
  width: 19px;
  height: 19px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: #111111;
  font-size: 10px;
  line-height: 1;
  cursor: pointer;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.preview-controls button:hover {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.preview-remove {
  font-size: 13px !important;
  font-weight: 400;
}

.preview-number {
  top: 6px;
  left: 6px;
  min-width: 20px;
  height: 20px;
  font-size: 10px;
  font-weight: 500;
  background: rgba(17, 17, 17, 0.88);
}

.sortable-preview-item.drag-over {
  outline: 1px solid #111111;
  outline-offset: 2px;
}

.premium-current-photo .photo-drag-handle {
  width: 30px !important;
  min-width: 30px !important;
  max-width: 30px !important;
  height: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
  padding: 0 !important;
  margin: 0 !important;
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  right: auto !important;
  bottom: auto !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: column !important;
  gap: 2px !important;
}

.premium-current-photo .current-photo-delete {
  width: 28px !important;
  min-width: 28px !important;
  max-width: 28px !important;
  height: 28px !important;
  min-height: 28px !important;
  max-height: 28px !important;
  padding: 0 !important;
  margin: 0 !important;
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  left: auto !important;
  bottom: auto !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 15px !important;
  line-height: 1 !important;
}

.premium-current-photo .photo-drag-handle span {
  width: 12px !important;
  height: 2px !important;
  display: block !important;
  border-radius: 999px !important;
}

.property-carousel {
  position: relative;
}

.property-carousel .carousel-photo {
  display: none !important;
}

.property-carousel .carousel-photo.active {
  display: block !important;
}

.property-carousel .carousel-btn {
  z-index: 20 !important;
  pointer-events: auto !important;
}

.vm-footer {
  margin-top: 90px;
  background: #111111;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.vm-footer-inner {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 54px 0 46px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr;
  gap: 54px;
  align-items: start;
}

.vm-footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.vm-footer-logo {
  width: 82px;
  height: 82px;
  object-fit: contain;
  display: block;
  background: transparent;
}

.vm-footer-brand strong {
  display: block;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.vm-footer-brand span,
.vm-footer-info p,
.vm-footer-contact p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.7;
}

.vm-footer-label {
  color: #ffffff !important;
  font-size: 11px !important;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 12px;
}

.vm-footer-muted {
  color: rgba(255, 255, 255, 0.48);
}

.vm-footer-bottom {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 18px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
}

@media (max-width: 850px) {
  .vm-footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .vm-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

.vm-footer {
  margin-top: 110px;
  background:
    radial-gradient(circle at 15% 20%, rgba(216, 111, 47, 0.10), transparent 28%),
    linear-gradient(180deg, #111111 0%, #090909 100%);
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.vm-footer-inner {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 62px 0 52px;
  display: grid;
  grid-template-columns: 1.25fr 1fr 0.8fr;
  gap: 58px;
  align-items: start;
}

.vm-footer-brand {
  display: flex;
  align-items: center;
  gap: 22px;
}

.vm-footer-logo {
  width: 74px;
  height: 74px;
  object-fit: contain;
  display: block;
  background: transparent;
  filter: drop-shadow(0 12px 28px rgba(216, 111, 47, 0.18));
}

.vm-footer-brand div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  transform: translateY(-2px);
}

.vm-footer-brand strong {
  display: block;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.15;
  color: #ffffff;
}

.vm-footer-brand span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 2px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
}

.vm-footer-info,
.vm-footer-contact {
  padding-top: 4px;
}

.vm-footer-info p,
.vm-footer-contact p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.75;
}

.vm-footer-label {
  color: #ffffff !important;
  font-size: 11px !important;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 13px;
  font-weight: 600;
}

.vm-footer-muted {
  color: rgba(255, 255, 255, 0.42);
}

.vm-footer-bottom {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 20px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: rgba(255, 255, 255, 0.44);
  font-size: 12px;
}

.vm-footer-bottom span:last-child {
  color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 850px) {
  .vm-footer-inner {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 46px 0 40px;
  }

  .vm-footer-brand {
    align-items: center;
  }

  .vm-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

.topbar,
.footer {
  display: none !important;
}

.vm-topbar {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.vm-topbar-inner {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.vm-topbar-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.vm-topbar-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 10px 22px rgba(216, 111, 47, 0.12));
}

.vm-topbar-brand strong {
  display: block;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.1;
  color: #111111;
}

.vm-topbar-brand span {
  display: block;
  margin-top: 7px;
  color: rgba(17, 17, 17, 0.52);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.vm-topbar-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vm-topbar-nav a {
  min-height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(17, 17, 17, 0.72);
  font-size: 13px;
  transition: 0.2s ease;
}

.vm-topbar-nav a:hover {
  background: #111111;
  color: #ffffff;
}

.vm-home-premium {
  min-height: calc(100vh - 92px);
  padding-top: 96px;
  background:
    radial-gradient(circle at 50% 0%, rgba(216, 111, 47, 0.07), transparent 34%),
    #ffffff;
}

.vm-home-premium .hero-center {
  padding-top: 0;
  padding-bottom: 72px;
}

.vm-home-premium .hero-center h1 {
  max-width: 850px;
}

.vm-home-subtitle {
  max-width: 620px;
  margin: 22px auto 0;
  color: rgba(17, 17, 17, 0.58);
  font-size: 15px;
  line-height: 1.7;
}

.vm-category-box {
  border-radius: 0;
  box-shadow: 0 24px 70px rgba(17, 17, 17, 0.08);
}

.vm-category-card {
  min-height: 170px;
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.vm-category-card:hover {
  border-color: #111111;
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(17, 17, 17, 0.08);
}

@media (max-width: 800px) {
  .vm-topbar-inner {
    height: auto;
    padding: 20px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .vm-topbar-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .vm-topbar-nav a {
    white-space: nowrap;
    background: #f7f7f7;
  }

  .vm-home-premium {
    padding-top: 70px;
  }
}

/* HOME PREMIUM UPGRADE */

.vm-home-premium {
  min-height: calc(100vh - 92px);
  padding: 118px 24px 120px;
  background:
    radial-gradient(circle at 50% 2%, rgba(216, 111, 47, 0.10), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #fafafa 62%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.vm-home-premium::before {
  content: "";
  position: absolute;
  top: 86px;
  left: 50%;
  width: 760px;
  height: 760px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(17, 17, 17, 0.045), transparent 62%);
  pointer-events: none;
}

.vm-home-premium .hero-center {
  position: relative;
  z-index: 2;
  padding: 0 0 82px;
}

.vm-home-premium .hero-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: rgba(17, 17, 17, 0.50);
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.vm-home-premium .hero-center h1 {
  max-width: 860px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.04;
  font-weight: 400;
  letter-spacing: -0.055em;
  color: #101010;
}

.vm-home-subtitle {
  max-width: 640px;
  margin: 28px auto 0;
  color: rgba(17, 17, 17, 0.54);
  font-size: 15px;
  line-height: 1.8;
}

.vm-category-box {
  position: relative;
  z-index: 3;
  width: min(1040px, 100%);
  padding: 34px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(22px);
  box-shadow:
    0 34px 90px rgba(17, 17, 17, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.85) inset;
}

.vm-category-box .search-title {
  padding-bottom: 24px;
  margin-bottom: 26px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.vm-category-box .search-title strong {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #111111;
}

.vm-category-box .search-title span {
  font-size: 12px;
  color: rgba(17, 17, 17, 0.50);
}

.vm-category-box .category-grid {
  gap: 16px;
}

.vm-category-card {
  position: relative;
  min-height: 190px;
  padding: 28px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
  border: 1px solid rgba(17, 17, 17, 0.08);
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.vm-category-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: 0.24s ease;
}

.vm-category-card::after {
  content: "→";
  position: absolute;
  right: 28px;
  bottom: 26px;
  color: rgba(17, 17, 17, 0.28);
  font-size: 22px;
  transition: 0.24s ease;
}

.vm-category-card span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.vm-category-card strong {
  margin-top: 38px;
  margin-bottom: 12px;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.04em;
  color: #111111;
}

.vm-category-card small {
  max-width: 340px;
  color: rgba(17, 17, 17, 0.54);
  font-size: 14px;
  line-height: 1.65;
}

.vm-category-card:hover {
  transform: translateY(-5px);
  border-color: rgba(17, 17, 17, 0.22);
  box-shadow: 0 26px 60px rgba(17, 17, 17, 0.10);
}

.vm-category-card:hover::before {
  opacity: 1;
}

.vm-category-card:hover::after {
  right: 22px;
  color: #111111;
}

@media (max-width: 800px) {
  .vm-home-premium {
    padding: 74px 18px 80px;
  }

  .vm-home-premium .hero-center {
    padding-bottom: 56px;
  }

  .vm-home-premium .hero-center h1 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .vm-category-box {
    padding: 22px;
  }

  .vm-category-box .search-title {
    align-items: flex-start;
  }

  .vm-category-card {
    min-height: 165px;
  }

  .vm-category-card strong {
    font-size: 23px;
  }
}

.vm-home-trust {
  margin: 30px auto 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.vm-home-trust span {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.045);
  border: 1px solid rgba(17, 17, 17, 0.07);
  color: rgba(17, 17, 17, 0.58);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.vm-home-trust span:first-child {
  background: rgba(216, 111, 47, 0.08);
  border-color: rgba(216, 111, 47, 0.16);
  color: rgba(17, 17, 17, 0.68);
}

@media (max-width: 800px) {
  .vm-home-trust {
    margin-top: 24px;
    justify-content: center;
  }

  .vm-home-trust span {
    font-size: 10px;
  }
}


/* =========================================================
   VALERÃO MENDES, IDENTIDADE PREMIUM
   Azul escuro, branco, laranja e verde sutil de paisagismo.
   Este bloco fica no final para sobrescrever regras antigas.
========================================================= */

:root {
  --vm-blue: #071827;
  --vm-blue-2: #0d2335;
  --vm-blue-3: #12324b;
  --vm-orange: #f26a21;
  --vm-orange-soft: rgba(242, 106, 33, 0.12);
  --vm-green: #6f8f72;
  --vm-green-soft: rgba(111, 143, 114, 0.14);
  --vm-white: #ffffff;
  --vm-cream: #f7f5f0;
  --vm-text: #101820;
  --vm-muted: rgba(16, 24, 32, 0.58);
  --vm-line: rgba(7, 24, 39, 0.10);
  --accent: #f26a21;
  --black: #071827;
}

body {
  background: #ffffff;
  color: var(--vm-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Topo institucional */
.vm-topbar {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.93));
  backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(7, 24, 39, 0.08);
  box-shadow: 0 14px 40px rgba(7, 24, 39, 0.045);
}

.vm-topbar-inner {
  width: min(1180px, calc(100% - 56px));
  height: 94px;
}

.vm-topbar-brand {
  gap: 17px;
}

.vm-topbar-logo {
  width: 54px;
  height: 54px;
  filter: drop-shadow(0 14px 26px rgba(242, 106, 33, 0.18));
}

.vm-topbar-brand strong {
  color: var(--vm-blue);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.vm-topbar-brand span {
  color: rgba(7, 24, 39, 0.54);
  font-size: 10px;
  letter-spacing: 0.30em;
  font-weight: 600;
}

.vm-topbar-nav {
  gap: 8px;
}

.vm-topbar-nav a {
  color: rgba(7, 24, 39, 0.72);
  border: 1px solid transparent;
  font-weight: 500;
}

.vm-topbar-nav a:hover {
  background: var(--vm-blue);
  color: #ffffff;
  border-color: rgba(242, 106, 33, 0.30);
  box-shadow: 0 12px 28px rgba(7, 24, 39, 0.14);
}

/* Home com mais cara de marca */
.vm-home-premium {
  min-height: calc(100vh - 94px);
  padding: 118px 24px 128px;
  background:
    radial-gradient(circle at 18% 12%, rgba(111, 143, 114, 0.16), transparent 26%),
    radial-gradient(circle at 78% 5%, rgba(242, 106, 33, 0.12), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8f6f1 68%, #ffffff 100%);
  overflow: hidden;
}

.vm-home-premium::before {
  top: 70px;
  width: 880px;
  height: 880px;
  background:
    radial-gradient(circle, rgba(7, 24, 39, 0.055), transparent 63%);
}

.vm-home-premium::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 118px;
  width: min(1180px, calc(100% - 48px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(242, 106, 33, 0.30), transparent);
  pointer-events: none;
}

.vm-home-premium .hero-label {
  color: rgba(7, 24, 39, 0.56);
  font-weight: 700;
}

.vm-home-premium .hero-center h1 {
  color: var(--vm-blue);
  letter-spacing: -0.058em;
}

.vm-home-subtitle {
  color: rgba(7, 24, 39, 0.60);
}

.vm-home-trust span {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(7, 24, 39, 0.09);
  color: rgba(7, 24, 39, 0.62);
  box-shadow: 0 12px 34px rgba(7, 24, 39, 0.05);
}

.vm-home-trust span:first-child {
  background: rgba(242, 106, 33, 0.10);
  border-color: rgba(242, 106, 33, 0.20);
  color: var(--vm-blue);
}

/* Box de categorias */
.vm-category-box {
  width: min(1080px, 100%);
  border: 1px solid rgba(7, 24, 39, 0.10);
  background: rgba(255, 255, 255, 0.86);
  box-shadow:
    0 34px 90px rgba(7, 24, 39, 0.10),
    0 1px 0 rgba(255, 255, 255, 0.90) inset;
}

.vm-category-box .search-title {
  border-bottom-color: rgba(7, 24, 39, 0.09);
}

.vm-category-box .search-title strong {
  color: var(--vm-blue);
}

.vm-category-box .search-title span {
  color: rgba(7, 24, 39, 0.52);
}

.vm-category-card {
  border-color: rgba(7, 24, 39, 0.10);
  background:
    radial-gradient(circle at 94% 16%, rgba(111, 143, 114, 0.10), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
}

.vm-category-card::before {
  background: linear-gradient(90deg, var(--vm-orange), rgba(111, 143, 114, 0.42), transparent);
}

.vm-category-card::after {
  color: rgba(7, 24, 39, 0.28);
}

.vm-category-card span {
  color: var(--vm-orange);
}

.vm-category-card strong {
  color: var(--vm-blue);
}

.vm-category-card small {
  color: rgba(7, 24, 39, 0.58);
}

.vm-category-card:hover {
  border-color: rgba(7, 24, 39, 0.24);
  box-shadow:
    0 28px 68px rgba(7, 24, 39, 0.13),
    0 0 0 1px rgba(242, 106, 33, 0.06) inset;
}

.vm-category-card:hover::after {
  color: var(--vm-orange);
}

/* Páginas públicas */
.catalog-page {
  background:
    radial-gradient(circle at 88% 4%, rgba(111, 143, 114, 0.10), transparent 25%),
    linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
}

.catalog-header {
  border-bottom-color: rgba(7, 24, 39, 0.10);
}

.catalog-header h1,
.detail-heading h1 {
  color: var(--vm-blue);
}

.catalog-header p,
.detail-heading p,
.property-location,
.property-description,
.property-extra-details {
  color: rgba(7, 24, 39, 0.58);
}

.back-link:hover {
  color: var(--vm-orange);
}

.filter-box {
  border: 1px solid rgba(7, 24, 39, 0.10);
  box-shadow: 0 18px 46px rgba(7, 24, 39, 0.055);
}

.filter-box input,
.filter-box select,
.admin-filter-bar input,
.admin-filter-bar select {
  border-color: rgba(7, 24, 39, 0.10);
  color: var(--vm-blue);
}

.filter-box input:focus,
.filter-box select:focus,
.admin-filter-bar input:focus,
.admin-filter-bar select:focus {
  border-color: var(--vm-orange);
  box-shadow: 0 0 0 3px rgba(242, 106, 33, 0.10);
}

.filter-box button,
.admin-filter-bar button {
  background: var(--vm-blue);
  color: #ffffff;
}

.filter-box button:hover,
.admin-filter-bar button:hover {
  background: var(--vm-orange);
}

.filter-clear,
.admin-filter-bar a {
  color: var(--vm-blue);
  border-color: rgba(7, 24, 39, 0.12);
}

.filter-clear:hover,
.admin-filter-bar a:hover {
  border-color: var(--vm-orange);
  color: var(--vm-orange);
}

/* Cards de imóveis */
.property-card {
  border: 1px solid rgba(7, 24, 39, 0.10);
  background: #ffffff;
  box-shadow: 0 16px 44px rgba(7, 24, 39, 0.055);
}

.property-card:hover {
  transform: translateY(-5px);
  border-color: rgba(7, 24, 39, 0.18);
  box-shadow: 0 28px 70px rgba(7, 24, 39, 0.12);
}

.property-status {
  background: linear-gradient(90deg, var(--vm-blue), var(--vm-blue-2));
  border-bottom: 1px solid rgba(242, 106, 33, 0.22);
}

.property-ref {
  background: rgba(7, 24, 39, 0.78);
  backdrop-filter: blur(12px);
}

.carousel-btn {
  background: rgba(7, 24, 39, 0.56);
  backdrop-filter: blur(10px);
}

.carousel-btn:hover {
  background: var(--vm-orange);
}

.property-info h3,
.property-price,
.property-main-details strong,
.property-extra-details strong {
  color: var(--vm-blue);
}

.property-price span {
  color: rgba(7, 24, 39, 0.42);
}

.property-main-details div {
  background: #fbfaf7;
  border-color: rgba(7, 24, 39, 0.08);
}

.property-main-details small {
  color: rgba(7, 24, 39, 0.48);
}

.public-property-actions a {
  background: var(--vm-blue);
  color: #ffffff;
  border-color: var(--vm-blue);
}

.public-property-actions a:hover {
  background: var(--vm-orange);
  border-color: var(--vm-orange);
}

/* Página de detalhe */
.property-detail-page {
  background:
    radial-gradient(circle at 8% 2%, rgba(111, 143, 114, 0.09), transparent 24%),
    #ffffff;
}

.detail-section {
  border-bottom-color: rgba(7, 24, 39, 0.10);
}

.detail-section h2,
.detail-section h3,
.detail-card h3,
.detail-list strong,
.detail-icons strong {
  color: var(--vm-blue);
}

.detail-section p,
.detail-list span,
.detail-icons span {
  color: rgba(7, 24, 39, 0.58);
}

.detail-status,
.whatsapp-detail-btn {
  background: var(--vm-blue);
  color: #ffffff;
}

.maps-detail-btn {
  border-color: rgba(7, 24, 39, 0.16);
  color: var(--vm-blue);
}

.maps-detail-btn:hover {
  border-color: var(--vm-orange);
  color: var(--vm-orange);
}

.detail-card,
.detail-icons {
  border-color: rgba(7, 24, 39, 0.10);
  box-shadow: 0 18px 46px rgba(7, 24, 39, 0.055);
}

/* Admin com identidade da marca */
.admin-page {
  background:
    radial-gradient(circle at 92% 0%, rgba(111, 143, 114, 0.08), transparent 24%),
    #ffffff;
}

.admin-header,
.admin-ads-header {
  border-bottom-color: rgba(7, 24, 39, 0.10);
}

.admin-header h1,
.admin-ads-header h1,
.admin-table-header strong,
.admin-ads-toolbar strong,
.admin-ad-content h3,
.admin-ad-price {
  color: var(--vm-blue);
}

.admin-action,
.btn-primary,
.admin-ad-buttons a.primary {
  background: var(--vm-blue);
  color: #ffffff;
}

.admin-action:hover,
.btn-primary:hover,
.admin-ad-buttons a.primary:hover {
  background: var(--vm-orange);
}

.admin-action-light,
.btn-secondary {
  color: var(--vm-blue);
  border-color: rgba(7, 24, 39, 0.12);
}

.admin-action-light:hover,
.btn-secondary:hover {
  background: var(--vm-blue);
  color: #ffffff;
}

.admin-stats div,
.form-section,
.admin-table-box,
.admin-ad-card,
.import-box {
  border-color: rgba(7, 24, 39, 0.10);
  box-shadow: 0 14px 40px rgba(7, 24, 39, 0.04);
}

.admin-ad-score {
  background: var(--vm-blue);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(7, 24, 39, 0.14);
}

.admin-ad-tags span {
  background: rgba(7, 24, 39, 0.05);
  color: rgba(7, 24, 39, 0.72);
}

.admin-ad-card:hover {
  border-color: rgba(242, 106, 33, 0.28);
  box-shadow: 0 18px 46px rgba(7, 24, 39, 0.08);
}

/* Fotos atuais premium, mantendo o visual que já funcionou */
.premium-current-photo {
  border-color: rgba(7, 24, 39, 0.10);
  box-shadow: 0 20px 48px rgba(7, 24, 39, 0.10);
}

.premium-current-photo.drag-over,
.new-photo-preview-item.drag-over {
  border-color: rgba(242, 106, 33, 0.75);
  box-shadow: 0 0 0 4px rgba(242, 106, 33, 0.12), 0 24px 58px rgba(7, 24, 39, 0.14);
}

.current-photo-number,
.new-photo-number {
  color: var(--vm-blue);
}

.current-photo-delete:hover,
.new-photo-remove:hover {
  background: var(--vm-blue) !important;
}

.photo-help-badge {
  color: rgba(7, 24, 39, 0.62);
}

/* Rodapé, agora com azul escuro da marca */
.vm-footer {
  margin-top: 112px;
  background:
    radial-gradient(circle at 12% 18%, rgba(242, 106, 33, 0.14), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(111, 143, 114, 0.10), transparent 30%),
    linear-gradient(180deg, var(--vm-blue) 0%, #03101b 100%);
  color: #ffffff;
  border-top: 1px solid rgba(242, 106, 33, 0.16);
}

.vm-footer-logo {
  filter: drop-shadow(0 16px 30px rgba(242, 106, 33, 0.22));
}

.vm-footer-brand strong {
  color: #ffffff;
}

.vm-footer-brand span {
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(242, 106, 33, 0.18);
  color: rgba(255, 255, 255, 0.72);
}

.vm-footer-label {
  color: #ffffff !important;
}

.vm-footer-info p,
.vm-footer-contact p {
  color: rgba(255, 255, 255, 0.66);
}

.vm-footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.09);
}

/* Responsivo */
@media (max-width: 850px) {
  .vm-topbar-inner {
    width: min(100% - 32px, 1180px);
  }

  .vm-topbar-nav a {
    background: rgba(7, 24, 39, 0.045);
  }

  .vm-home-premium {
    padding: 76px 18px 84px;
  }

  .vm-category-box {
    padding: 22px;
  }

  .vm-footer {
    margin-top: 76px;
  }
}

/* ADMIN CLEAN FULL BACKGROUND */

.admin-page,
.admin-ads-page {
  max-width: none !important;
  width: 100% !important;
  background: #ffffff !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.admin-page::before,
.admin-page::after,
.admin-ads-page::before,
.admin-ads-page::after {
  display: none !important;
  content: none !important;
}

.admin-ads-header,
.premium-admin-stats,
.admin-ads-toolbar,
.admin-filter-bar,
.admin-ads-list {
  width: min(1220px, calc(100% - 48px)) !important;
  max-width: 1220px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.admin-page {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.admin-header .admin-action-light {
  background: rgba(255, 255, 255, 0.82) !important;
  color: var(--vm-blue, #071827) !important;
  border: 1px solid rgba(7, 24, 39, 0.16) !important;
  min-width: 156px;
  height: 48px;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 36px rgba(7, 24, 39, 0.06);
}

.admin-header .admin-action-light:hover {
  background: var(--vm-blue, #071827) !important;
  color: #ffffff !important;
  border-color: var(--vm-blue, #071827) !important;
  box-shadow: 0 18px 42px rgba(7, 24, 39, 0.14);
}

/* CORREÇÃO DEFINITIVA, BOTÕES DO TOPO ADMIN */

.admin-ads-actions {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.admin-ads-actions a {
  height: 48px !important;
  min-width: 150px !important;
  padding: 0 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border-radius: 0 !important;
}

/* Importar imóveis, botão secundário claro */
.admin-ads-actions a.admin-action-light {
  background: #ffffff !important;
  color: #071827 !important;
  border: 1px solid rgba(7, 24, 39, 0.18) !important;
  box-shadow: 0 14px 34px rgba(7, 24, 39, 0.06) !important;
}

/* Criar anúncio, botão principal escuro */
.admin-ads-actions a.admin-action:not(.admin-action-light) {
  background: #071827 !important;
  color: #ffffff !important;
  border: 1px solid #071827 !important;
  box-shadow: 0 14px 34px rgba(7, 24, 39, 0.12) !important;
}

.admin-ads-actions a.admin-action-light:hover {
  background: #f7f9f8 !important;
  color: #071827 !important;
  border-color: rgba(242, 106, 33, 0.55) !important;
}

.admin-ads-actions a.admin-action:not(.admin-action-light):hover {
  background: #f26a21 !important;
  color: #ffffff !important;
  border-color: #f26a21 !important;
}