body.public-interface {
  background: #f6f7f5;
  color: #26354a;
}
body.public-interface > header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid #ffffff18;
  box-shadow: none;
}
body.public-interface > header a[href*="admin"] {
  background: transparent !important;
  color: #fff !important;
  border: 1px solid #ffffff70;
  border-radius: 9px;
  padding: 10px 16px;
}
body.public-interface > header a[href*="admin"]:hover {
  background: #ffffff12 !important;
}
body.public-interface > header a[href*="admin"] > span {
  background: transparent;
  color: #fff;
  font-size: 21px;
}
.public-catalog {
  max-width: 1440px;
  margin: auto;
  padding: 25px 36px 32px;
  font: 18px/1.6 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #26354a;
}
.public-catalog * { box-sizing: border-box; }
.public-catalog [hidden] { display: none !important; }
.public-catalog svg { width: 21px; height: 21px; flex-shrink: 0; }
.public-catalog :is(button,input,select) { font: inherit; }
.public-catalog button { cursor: pointer; }
.public-catalog a { text-decoration: none; }
.public-catalog :is(a,button,summary,input,select):focus-visible {
  outline: 3px solid #1d55af;
  outline-offset: 4px;
}
.pc-catalog-title {
  font-size: 30px;
  line-height: 1.35;
  font-weight: 750;
  letter-spacing: -.5px;
  margin: 0 0 6px;
  color: #22344e;
}
.pc-catalog-note { margin: 0 0 21px; font-size: 17px; color: #4b5d73; }
.pc-stats {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 15px;
  margin: 0 0 23px;
}
.pc-stat {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px;
  border: 1px solid #d8e0ea;
  border-left: 4px solid #1d55af;
  border-radius: 12px;
  background: #fff;
  text-align: left;
  box-shadow: none;
  transition: border-color .15s, background-color .15s;
}
.pc-stat:hover { border-color: #a4b6d0; background: #f8faff; }
.pc-stat.is-active { border-color: #1d55af; background: #f0f5ff; }
.pc-stat-icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #eef2ef;
  color: #245cb4;
}
.pc-stat-icon svg { width: 24px; height: 24px; }
.pc-tone-disponible { border-left-color: #25834d; }
.pc-tone-reservado { border-left-color: #c99b18; }
.pc-tone-vendido { border-left-color: #c83e48; }
.pc-stat.pc-tone-disponible strong { color: #1a6a3a; }
.pc-stat.pc-tone-reservado strong { color: #845d00; }
.pc-stat.pc-tone-vendido strong { color: #b72f3a; }
.pc-tone-disponible .pc-stat-icon { background: #e0f1e7; color: #21673d; }
.pc-tone-reservado .pc-stat-icon { background: #fff0c4; color: #795500; }
.pc-tone-vendido .pc-stat-icon { background: #fce5e7; color: #9b3333; }
.pc-stat > span:nth-child(2) { display: flex; flex-direction: column; }
.pc-stat strong { font-size: 30px; line-height: 1.2; font-weight: 750; color: #26364d; }
.pc-stat > span:nth-child(2) > span { font-size: 17px; color: #3f5066; margin-top: 5px; font-weight: 600; }
.pc-stat-arrow { display: none; }
.pc-explore { scroll-margin-top: 100px; }
.pc-tools {
  background: #fff;
  border: 1px solid #d8e0ea;
  border-radius: 12px;
  padding: 18px;
}
.pc-search-row { display: grid; grid-template-columns: minmax(0,1fr) 290px; gap: 14px; }
.pc-search {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  height: 58px;
  border: 1px solid #94a397;
  border-radius: 8px;
  padding: 0 15px;
  background: #fff;
  color: #596c5f;
}
.pc-search input { width: 100%; min-width: 0; height: 100%; border: none; outline: none; background: transparent; font-size: 18px; color: #26354a; }
.pc-search input::placeholder { color: #5d6c61; opacity: 1; }
.pc-search:focus-within { border-color: #1d55af; box-shadow: 0 0 0 2px #1d55af20; }
.pc-project-select select { width: 100%; height: 58px; border: 1px solid #94a397; border-radius: 8px; background: white; padding: 0 12px; font-size: 18px; color: #33483a; }
.pc-categories { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 15px; }
.pc-categories button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 50px;
  padding: 10px 14px;
  border: 1px solid #c7d2e1;
  border-radius: 8px;
  background: #fff;
  color: #3d516d;
  font-size: 17px;
  font-weight: 600;
  transition: background-color .15s, border-color .15s;
}
.pc-categories button:hover { background: #f2f5fa; border-color: #9eb2cf; }
.pc-categories button.is-active { background: #1d55af; border-color: #1d55af; color: #fff; }
.pc-categories button svg { width: 21px; height: 21px; }
.pc-results { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin: 19px 0 20px; }
.pc-results > p { margin: 0; font-size: 18px; color: #324968; font-weight: 650; }
.pc-results > button { min-height: 44px; padding: 5px 9px; border: none; border-radius: 5px; background: none; text-decoration: underline; text-underline-offset: 3px; color: #1d55af; font-size: 17px; }
.pc-results > button:hover { background: #edf3fc; }
.pc-results > span { display: flex; align-items: flex-start; gap: 6px; flex-basis: 100%; font-size: 16px; color: #4b5d73; }
.pc-results > span svg { width: 18px; height: 22px; }
.pc-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; align-items: start; }
.pc-card {
  overflow: hidden;
  border: 1px solid #d8e0ea;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 2px 5px #233b6104;
  transition: border-color .15s, box-shadow .15s;
}
.pc-card:hover { border-color: #a4b6d0; box-shadow: 0 4px 12px #233b610a; }
.pc-card-cover {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 93px;
  padding: 17px 19px 38px;
  border-bottom: 1px solid #e2e8f0;
  background: #f2f6fd;
  color: #2555a0;
}
.pc-cover-type { display: flex; align-items: center; gap: 6px; font-size: 17px; font-weight: 650; }
.pc-cover-type svg { width: 25px; height: 25px; color: #1e5ac0; }
.pc-code { position: absolute; bottom: 12px; left: 19px; color: #536884; font-size: 15px; font-weight: 500; letter-spacing: .2px; }
.pc-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 33px;
  padding: 4px 9px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.45;
}
.pc-status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pc-state-disponible { background: #07763b; border-color: #07763b; color: #fff; }
.pc-state-reservado { background: #946200; border-color: #946200; color: #fff; }
.pc-state-vendido { background: #b91c25; border-color: #b91c25; color: #fff; }
.pc-state-inactivo { background: #465771; border-color: #465771; color: #fff; }
.pc-offer { position: absolute; right: 18px; bottom: 11px; padding: 1px 0; font-size: 15px; font-weight: 650; color: #ae2833; }
.pc-card-body { padding: 21px 20px 20px; }
.pc-project { margin: 0 0 8px; color: #2555a0; font-size: 17px; font-weight: 600; }
.pc-card h3 { margin: 0 0 11px; font-size: 24px; line-height: 1.4; font-weight: 750; letter-spacing: -.3px; color: #25374f; overflow-wrap: anywhere; }
.pc-location { display: flex; align-items: flex-start; gap: 6px; margin: 0; color: #4b5d73; font-size: 18px; line-height: 1.6; }
.pc-location svg { color: #1e5ac0; width: 20px; height: 24px; margin-top: 2px; }
.pc-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin: 18px 0 0; padding: 16px 0; border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; }
.pc-facts dt { display: flex; align-items: center; gap: 6px; font-size: 17px; color: #4b5d73; margin-bottom: 6px; }
.pc-facts dt svg { width: 21px; height: 21px; color: #1e5ac0; }
.pc-facts dd { margin: 0; font-size: 20px; font-weight: 650; color: #273b58; overflow-wrap: anywhere; }
.pc-floor { display: block; margin-top: 9px; color: #4d6079; font-size: 17px; }
.pc-document { margin: 13px 0 0; font-size: 17px; line-height: 1.5; color: #3f536c; overflow-wrap: anywhere; }
.pc-document strong { font-weight: 650; color: #273b58; }
.pc-price { display: flex; flex-direction: column; gap: 5px; margin-top: 21px; }
.pc-price > span { color: #4d6079; font-size: 17px; font-weight: 500; }
.pc-price > strong { color: #1d55af; font-size: 33px; line-height: 1.3; font-weight: 750; letter-spacing: -.7px; overflow-wrap: anywhere; }
.pc-price.has-discount > strong { color: #b12735; }
.pc-price.has-discount > span { color: #9a2733; font-weight: 650; }
.pc-price > small { font-size: 17px; line-height: 1.6; color: #4b5d73; }
.pc-price-action { display: flex; justify-content: center; margin: 20px 0 17px; }
.public-catalog .pc-price-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: auto; max-width: 100%; min-height: 48px; padding: 10px 17px; border: 1px solid #1d55af; border-radius: 8px; background: #1d55af; color: #fff; font-size: 18px; line-height: 1.45; font-weight: 700; transition: background-color .15s; }
.public-catalog .pc-price-button:hover { background: #194998; }
body.pc-modal-open { overflow: hidden; }
.pc-price-modal { inset: 0; width: min(620px,calc(100% - 32px)); max-width: none; max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); margin: auto; padding: 0; border: 1px solid #c4d5ef; border-radius: 16px; background: #fff; color: #26354a; box-shadow: 0 20px 65px #10213c40; overflow: hidden; }
.pc-price-modal[open] { display: flex; flex-direction: column; }
.pc-price-modal::backdrop { background: #14243c99; }
.pc-price-modal-header { display: flex; align-items: flex-start; gap: 16px; flex-shrink: 0; padding: 21px 24px 17px; border-bottom: 1px solid #d7e1f1; }
.pc-price-modal-header > div { min-width: 0; flex: 1; }
.pc-price-modal-header h2 { margin: 0; color: #1d55af; font-size: 26px; font-weight: 750; line-height: 1.3; }
#price-modal-property { margin: 7px 0 3px; color: #273b58; font-size: 20px; font-weight: 650; line-height: 1.4; overflow-wrap: anywhere; }
#price-modal-code { font-size: 16px; color: #536884; }
.pc-price-modal-x { display: grid; place-items: center; flex-shrink: 0; min-width: 44px; min-height: 44px; padding: 9px; border: 1px solid #c4d5ef; border-radius: 8px; background: #f4f7fc; color: #273b58; }
.pc-price-modal-x:hover { background: #eaf1fc; }
.pc-price-modal-content { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 20px 24px; }
.pc-price-modal-footer { display: flex; justify-content: center; flex-shrink: 0; padding: 14px 24px; border-top: 1px solid #d7e1f1; background: #fff; }
.pc-price-modal-footer .pc-price-button { min-width: 130px; }
.pc-price-breakdown { padding: 16px; border: 1px solid #c4d5ef; border-radius: 9px; background: #f5f8fe; }
.pc-price-breakdown-note { margin: 0 0 14px; font-size: 17px; line-height: 1.5; color: #425674; }
.pc-price-breakdown dl { display: flex; flex-direction: column; gap: 0; margin: 0; }
.pc-price-breakdown dl > div { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 14px 0; border-top: 1px solid #d7e1f1; }
.pc-price-breakdown dl > div:last-child { padding-bottom: 0; }
.pc-price-breakdown dt { flex: 1; font-size: 18px; color: #3c506e; }
.pc-price-breakdown dd { margin: 0; font-size: 23px; line-height: 1.35; color: #1d55af; font-weight: 750; overflow-wrap: anywhere; max-width: 55%; }
.pc-price-breakdown .pc-price-row-total dt { font-weight: 650; }
.pc-price-breakdown .pc-price-row-discount :is(dt,dd) { color: #a82434; }
.pc-card-footer { display: flex; flex-direction: column; gap: 15px; margin-top: 11px; }
.pc-card-footer > span:first-child { display: flex; align-items: center; gap: 5px; font-size: 16px; color: #536884; }
.pc-card-footer > span:first-child svg { width: 18px; height: 18px; }
.pc-maps { display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 55px; padding: 11px 14px; border: 1px solid #9cb5dd; border-radius: 8px; background: #fff; color: #1d55af; font-size: 18px; font-weight: 600; transition: background-color .15s; }
.pc-maps svg { width: 21px; height: 21px; }
.pc-maps svg:last-child { margin-left: auto; }
.pc-maps:hover { background: #f0f5ff; }
.pc-location-pending { display: grid; place-items: center; min-height: 55px; font-size: 17px; color: #536884; border: 1px solid #dde5ef; border-radius: 8px; background: #f6f8fb; }
.pc-empty { padding: 40px 20px; background: #fff; border: 1px solid #d8e0ea; border-radius: 12px; text-align: center; color: #4d6079; }
.pc-empty > svg { display: block; width: 40px; height: 40px; margin: 0 auto 18px; }
.pc-empty h3 { margin: 0; font-size: 26px; font-weight: 650; color: #1d55af; }
.pc-empty p { margin: 12px 0 21px; font-size: 18px; color: #4d6079; }
.pc-empty button { display: inline-flex; align-items: center; gap: 15px; min-height: 55px; padding: 11px 17px; font-size: 18px; border: 1px solid #1d55af; border-radius: 8px; background: #1d55af; color: #fff; }
.pc-empty button:hover { background: #194998; }
.pc-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 13px 20px; margin-top: 32px; padding: 23px 0 3px; border-top: 1px solid #d8e1ed; font-size: 17px; color: #4d6079; }
.pc-footer strong { font-size: 18px; font-weight: 600; color: #273b58; }
.pc-footer a { margin-left: auto; font-size: 17px; color: #1d55af; }
.pc-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media(max-width:1179px) {
  .public-catalog { padding: 23px 24px; }
  .pc-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pc-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pc-search-row { grid-template-columns: minmax(0,1fr) 240px; }
}
@media(max-width:759px) {
  .public-catalog { padding: 20px 14px 28px; }
  .pc-catalog-title { font-size: 28px; }
  .pc-grid { grid-template-columns: 1fr; }
  .pc-stats { gap: 10px; }
  .pc-stat { gap: 9px; padding: 15px 11px; }
  .pc-stat-icon { width: 33px; height: 33px; border-radius: 8px; }
  .pc-stat-icon svg { width: 20px; height: 20px; }
  .pc-stat strong { font-size: 28px; }
  .pc-stat > span:nth-child(2) > span { font-size: 16px; }
  .pc-tools { padding: 14px 12px; }
  .pc-search-row { grid-template-columns: 1fr; gap: 12px; }
  .pc-categories { gap: 8px; }
  .pc-categories button { max-width: 100%; padding: 9px 11px; }
  .pc-card-body { padding: 20px 18px; }
  .pc-facts { gap: 12px; }
  .pc-price-modal { width: calc(100% - 24px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); border-radius: 13px; }
  .pc-price-modal-header { padding: 18px 16px 14px; gap: 10px; }
  .pc-price-modal-header h2 { font-size: 24px; }
  .pc-price-modal-content { padding: 16px; }
  .pc-price-modal-footer { padding: 12px 16px; }
  .pc-price-breakdown dl > div { flex-direction: column; align-items: flex-start; gap: 5px; }
  .pc-price-breakdown dd { max-width: 100%; }
  .pc-footer { align-items: flex-start; flex-direction: column; }
  .pc-footer a { margin-left: 0; }
}
@media(prefers-reduced-motion:reduce) {
  .public-catalog * { transition: none !important; }
}
