:root {
  --ink: #222222;
  --muted: #6a6a6a;
  --line: #dddddd;
  --soft-line: #ebebeb;
  --surface: #ffffff;
  --soft: #f7f7f7;
  --brand: #ff385c;
  --brand-dark: #d70466;
  --green: #0f6b57;
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  letter-spacing: 0;
}

button,
input,
select {
  font: inherit;
}

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

img {
  display: block;
  max-width: 100%;
}

button,
input,
select {
  border: 0;
}

button {
  cursor: pointer;
}

svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  min-height: 80px;
  padding: 0 max(24px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid var(--soft-line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  color: var(--brand);
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.9rem;
}

.search-pill {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-height: 48px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  font-size: 0.88rem;
  font-weight: 700;
}

.search-pill span {
  padding: 0 16px;
  border-right: 1px solid var(--line);
}

.search-pill span:nth-child(3) {
  color: var(--muted);
  font-weight: 500;
}

.search-pill i {
  display: grid;
  width: 34px;
  height: 34px;
  margin: 0 7px;
  place-items: center;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  padding: 8px;
}

.nav-links {
  display: flex;
  gap: 18px;
  justify-self: end;
  color: #444;
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-links a {
  padding: 10px 0;
}

.listing-hero,
.listing-layout,
.wide-section,
.site-footer {
  width: min(1120px, calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

.listing-hero {
  padding: 30px 0 0;
}

.listing-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 8px;
  font-size: clamp(1.65rem, 4vw, 2.05rem);
  line-height: 1.18;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 3vw, 1.55rem);
  line-height: 1.25;
}

.listing-title p,
.booking-card-head p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: #444;
  font-size: 0.94rem;
}

.listing-title svg,
.booking-card-head svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.dot-separator {
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: #555;
}

.share-button,
.outline-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  font-weight: 700;
}

.share-button {
  padding: 0 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.share-button:hover,
.outline-button:hover {
  background: var(--soft);
}

.photo-grid {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 205px 205px;
  gap: 8px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--soft);
}

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

.photo-main {
  grid-row: span 2;
}

.all-photos-button {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.86rem;
  font-weight: 800;
}

.listing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 74px;
  align-items: start;
  padding: 42px 0 34px;
}

.listing-main > section {
  padding: 30px 0;
  border-bottom: 1px solid var(--soft-line);
}

.listing-main > section:first-child {
  padding-top: 0;
}

.host-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.host-summary p,
.section-block p,
.section-heading-row p {
  color: var(--muted);
  line-height: 1.6;
}

.host-badge {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
  background: #ffe8ed;
  color: var(--brand);
  font-weight: 800;
}

.feature-list {
  display: grid;
  gap: 22px;
}

.feature-list article {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
}

.feature-list svg,
.amenity-grid svg {
  color: var(--ink);
}

.feature-list strong {
  display: block;
  margin-bottom: 4px;
}

.feature-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.48;
}

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

.amenity-grid span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 32px;
  font-weight: 600;
}

.persona-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.persona-grid article,
.review-grid article,
.review-note,
.travel-grid article,
.nearby-grid article {
  border: 1px solid var(--soft-line);
  border-radius: 12px;
  background: #fff;
}

.persona-grid article {
  padding: 16px;
}

.persona-grid strong {
  display: block;
  margin-bottom: 8px;
}

.persona-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.48;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.review-grid article {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 190px;
  padding: 16px;
}

.review-grid article div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.review-grid span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: #fff7dd;
  color: #8b6400;
  font-size: 0.78rem;
  font-weight: 800;
}

.review-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.review-note {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  margin-top: 14px;
  padding: 16px;
  background: var(--soft);
}

.review-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.booking-card {
  position: sticky;
  top: 104px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

.booking-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.booking-card-head strong {
  display: block;
  font-size: 1.35rem;
}

.booking-card-head span {
  color: var(--muted);
  font-size: 0.86rem;
}

.booking-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid #b0b0b0;
  border-radius: 10px;
}

.field {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 12px;
  border-bottom: 1px solid #b0b0b0;
  background: #fff;
}

.field:nth-child(2) {
  border-right: 1px solid #b0b0b0;
}

.field.full {
  grid-column: 1 / -1;
}

.field span {
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
}

.field input,
.field select {
  width: 100%;
  min-width: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
}

.reserve-button {
  grid-column: 1 / -1;
  min-height: 48px;
  margin: 14px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--brand), var(--brand-dark));
  color: #fff;
  font-weight: 800;
}

.booking-note {
  margin: 16px 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
  text-align: center;
}

.booking-summary {
  display: grid;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
}

.booking-summary div,
.booking-card-head {
  display: flex;
  justify-content: space-between;
}

.booking-summary span {
  color: var(--muted);
}

.booking-summary strong {
  font-weight: 700;
}

.whatsapp-link {
  display: inline-flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  border-radius: 8px;
  background: #18a65b;
  color: #fff;
  font-weight: 800;
}

.status-pill {
  display: inline-flex;
  width: 100%;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  border-radius: 999px;
  background: #eaf7f2;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
}

.section-heading-row {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: end;
  margin-bottom: 22px;
}

.section-heading-row p {
  max-width: 460px;
  margin-bottom: 0;
}

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

.unit-card {
  overflow: hidden;
  border: 1px solid var(--soft-line);
  border-radius: 14px;
  background: #fff;
}

.unit-card img {
  width: 100%;
  aspect-ratio: 1.22 / 1;
  object-fit: cover;
}

.unit-body {
  padding: 16px;
}

.unit-body h3 {
  margin-bottom: 5px;
  font-size: 1rem;
}

.unit-body p {
  min-height: 68px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.unit-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}

.unit-meta span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--soft);
  font-size: 0.75rem;
  font-weight: 700;
}

.unit-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.unit-price strong,
.unit-price small {
  display: block;
}

.unit-price small {
  color: var(--muted);
}

.mini-button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
}

.wide-section {
  padding: 48px 0;
  border-top: 1px solid var(--soft-line);
}

.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 24px;
  align-items: stretch;
}

.map-layout iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: 14px;
  background: var(--soft);
}

.location-copy {
  padding: 22px;
  border: 1px solid var(--soft-line);
  border-radius: 14px;
  background: #fff;
}

.location-copy p {
  color: var(--muted);
  line-height: 1.58;
}

.nearby-grid {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.nearby-grid article {
  padding: 14px;
}

.nearby-grid strong,
.nearby-grid span {
  display: block;
}

.nearby-grid span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.42;
}

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

.travel-grid article {
  padding: 18px;
}

.travel-grid i {
  color: var(--brand);
}

.travel-grid h3 {
  margin: 18px 0 8px;
  font-size: 1rem;
}

.travel-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.52;
}

.calendar-panel {
  padding: 22px;
  border: 1px solid var(--soft-line);
  border-radius: 14px;
  background: #fff;
}

.calendar-head {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}

.calendar-head h3 {
  margin: 0;
  text-align: center;
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.calendar-weekdays {
  margin-bottom: 8px;
}

.calendar-weekdays span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}

.calendar-day {
  display: grid;
  min-height: 82px;
  align-content: space-between;
  padding: 10px;
  border: 1px solid var(--soft-line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  text-align: left;
}

.calendar-day.is-empty {
  border-color: transparent;
}

.calendar-day small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.calendar-day.available {
  border-color: #b7dfd1;
}

.calendar-day.limited {
  background: #fff8e6;
  border-color: #f0ce72;
}

.calendar-day.booked {
  background: #fff0f3;
  border-color: #ff9dae;
}

.calendar-day.blocked {
  background: var(--soft);
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.legend {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.legend.available {
  background: var(--green);
}

.legend.limited {
  background: #d99b00;
}

.legend.booked {
  background: var(--brand);
}

.legend.blocked {
  background: #a0a0a0;
}

.more-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.more-photo-grid img {
  width: 100%;
  aspect-ratio: 1.2 / 1;
  border-radius: 12px;
  object-fit: cover;
}

.dashboard {
  overflow: hidden;
  border: 1px solid var(--soft-line);
  border-radius: 14px;
  background: #fff;
}

.dashboard-tabs {
  display: flex;
  gap: 4px;
  padding: 12px;
  border-bottom: 1px solid var(--soft-line);
  background: var(--soft);
}

.admin-tab {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 999px;
  background: transparent;
  color: #555;
  font-weight: 800;
}

.admin-tab.active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.dashboard-body {
  padding: 18px;
}

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

.admin-toolbar strong,
.admin-toolbar span {
  display: block;
}

.admin-toolbar span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.88rem;
}

.outline-button {
  padding: 0 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.admin-content {
  display: grid;
  gap: 10px;
}

.booking-row,
.unit-admin-row,
.rate-row,
.task-row {
  display: grid;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--soft-line);
  border-radius: 12px;
}

.booking-row {
  grid-template-columns: 1.1fr 0.8fr 0.75fr auto;
}

.unit-admin-row,
.rate-row,
.task-row {
  grid-template-columns: 1fr auto auto;
}

.booking-row small,
.unit-admin-row small,
.rate-row small,
.task-row small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.8rem;
}

.booking-tag {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-self: end;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
}

.booking-tag.paid {
  background: #eaf7f2;
  color: var(--green);
}

.booking-tag.pending {
  background: #fff7dd;
  color: #986b00;
}

.booking-tag.cleaning {
  background: var(--soft);
  color: #555;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 34px 0;
  border-top: 1px solid var(--soft-line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer strong {
  display: block;
  color: var(--ink);
}

.site-footer span {
  display: block;
  margin-top: 4px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .search-pill {
    justify-self: end;
  }

  .search-pill span:nth-child(2),
  .search-pill span:nth-child(3) {
    display: none;
  }

  .listing-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .booking-card {
    position: static;
    order: -1;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 70px;
    padding: 0 18px;
  }

  .brand strong {
    display: none;
  }

  .search-pill span {
    padding: 0 12px;
  }

  .listing-hero,
  .listing-layout,
  .wide-section,
  .site-footer {
    width: min(100% - 32px, 1120px);
  }

  .listing-title {
    display: block;
  }

  .share-button {
    margin-top: 14px;
  }

  .photo-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 150px 150px;
  }

  .photo-main {
    grid-column: 1 / -1;
    grid-row: span 1;
  }

  .listing-layout {
    padding-top: 30px;
  }

  .host-summary {
    align-items: flex-start;
  }

  .amenity-grid,
  .unit-grid,
  .more-photo-grid,
  .persona-grid,
  .review-grid,
  .map-layout,
  .travel-grid {
    grid-template-columns: 1fr;
  }

  .unit-body p {
    min-height: 0;
  }

  .calendar-panel {
    overflow-x: auto;
  }

  .calendar-weekdays,
  .calendar-grid {
    min-width: 620px;
  }

  .dashboard-tabs {
    overflow-x: auto;
  }

  .booking-row,
  .unit-admin-row,
  .rate-row,
  .task-row {
    grid-template-columns: 1fr;
  }

  .booking-tag {
    justify-self: start;
  }

  .admin-toolbar,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
