/* Live collection, preference interpretation and reservation handoff. */
.intelligence-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 17px;
  padding: 7px 12px;
  border: 1px solid #e1e6d7;
  border-radius: 30px;
  background: #f0f3e8;
  color: #576e4f;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.intelligence-status > .icon {
  width: 14px;
  height: 14px;
  color: #9b7843;
}

.prompt-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 17px;
}

.prompt-row textarea {
  min-width: 0;
}

.interpret-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 14px;
  border: 1px solid #d4decc;
  border-radius: 9px;
  background: #edf2e5;
  color: #3d6245;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

.interpret-button .icon {
  width: 16px;
  height: 16px;
  color: #a27940;
}

.interpret-button:hover:not(:disabled) {
  border-color: #99b18e;
  background: #e2ebd7;
}

.interpret-button:disabled {
  color: #78816d;
  background: #f2f4eb;
  cursor: wait;
}

.interpret-button:disabled .icon {
  animation: breathe 1.2s ease-in-out infinite;
}

.understood {
  padding: 11px 14px;
  border: 1px solid #e1e8d7;
  border-radius: 9px;
  background: #f2f5eb;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.understood > .icon {
  width: 15px;
  height: 15px;
  margin-right: 4px;
}

.portfolio-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #eff2e7;
  color: #66805a;
}

.portfolio-mark .icon {
  width: 17px;
  height: 17px;
}

.villa-title-row h3 {
  overflow-wrap: anywhere;
}

.availability-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 11px 0 0;
  color: #537344;
  font-size: 11px;
  line-height: 1.6;
}

.availability-note .icon {
  width: 14px;
  height: 14px;
  margin-top: 2px;
}

.availability-note.needs-check {
  color: #8a6638;
}

.alternatives-section {
  margin-top: 34px;
}

.alternatives-heading {
  margin-bottom: 24px;
  max-width: 760px;
}

.alternatives-heading .eyebrow {
  margin-bottom: 12px;
  font-size: 10px;
  color: #8d754e;
}

.alternatives-heading h2 {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.9px;
  line-height: 1.35;
}

.alternatives-heading > p:last-child {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: #75816b;
}

.alternatives-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 22px;
}

.alternative-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid #dedfcf;
  border-radius: 14px;
  background: #fffef8;
  overflow: hidden;
}

.alternative-card > img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.65;
  object-fit: cover;
  background: #e5e7de;
}

.alternative-card > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 20px;
}

.alternative-type {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 6px 9px;
  border-radius: 5px;
  background: #f1ecde;
  color: #866738;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
}

.alternative-type .icon {
  width: 14px;
  height: 14px;
}

.alternative-card h3 {
  margin: 15px 0 6px;
  font-family: 'Manrope', sans-serif;
  font-size: 23px;
  font-weight: 550;
  letter-spacing: -0.6px;
  overflow-wrap: anywhere;
}

.alternative-card p {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: #78836f;
}

.alternative-card ul {
  margin: 15px 0 20px;
  padding-left: 17px;
  font-size: 12px;
  line-height: 1.7;
  color: #7c704f;
}

.alternative-card li + li {
  margin-top: 6px;
}

.alternative-price {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #e7e8db;
}

.alternative-price strong {
  font-family: 'Manrope', sans-serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.7px;
}

.alternative-price span {
  font-size: 11px;
  line-height: 1.6;
  color: #778469;
}

.alternative-card .secondary {
  width: 100%;
  justify-content: space-between;
  gap: 9px;
  margin-top: 17px;
  font-size: 12px;
  line-height: 1.5;
  text-align: left;
}

.alternative-card .secondary .icon {
  width: 16px;
  height: 16px;
}

.alternatives-section .empty-suggestions {
  margin-top: 26px;
}

.photo-thumbnails {
  display: flex;
  gap: 9px;
  padding: 14px 25px 9px;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: #bccbb2 transparent;
}

.photo-thumbnails > button {
  flex: 0 0 80px;
  width: 80px;
  height: 61px;
  padding: 3px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
}

.photo-thumbnails img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  object-fit: cover;
}

.photo-thumbnails > button[aria-pressed='true'] {
  border-color: #7f9873;
  background: #edf1e5;
}

.photo-thumbnails > button:hover {
  border-color: #9caf8f;
}

.stay-note {
  margin: 0 0 22px;
  padding: 13px 15px;
  border-left: 2px solid #be9e6c;
  background: #f3f0e5;
  color: #7e7050;
  font-size: 13px;
  line-height: 1.75;
}

.detail-stay > span:nth-child(2) {
  margin-left: 27px;
  color: #78886b;
  font-size: 12px;
}

.detail-stay .text-button {
  align-self: flex-start;
  min-height: 44px;
  padding: 5px 0;
  font-size: 12px;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #567548;
}

.booking-disclaimer {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.75;
  color: #78816d;
}

.booking-ready {
  margin-top: 24px;
  padding: 25px;
  border: 1px solid #c6d7b8;
  border-radius: 12px;
  background: #eef3e5;
  text-align: center;
}

.booking-ready > .icon {
  width: 33px;
  height: 33px;
  color: #62804d;
  stroke-width: 1.3;
}

.booking-ready h3 {
  margin: 12px 0;
  font-family: 'Manrope', sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.6px;
}

.booking-ready p {
  margin: 10px 0;
  color: #687d59;
  font-size: 13px;
  line-height: 1.8;
}

.booking-ready > strong {
  display: block;
  margin: 14px 0;
  font-size: 17px;
  font-weight: 600;
}

.booking-ready a.primary {
  width: 100%;
  gap: 12px;
  margin-top: 10px;
  padding: 14px;
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
}

.booking-ready small {
  display: block;
  margin-top: 13px;
  color: #7c886e;
  font-size: 11px;
  line-height: 1.7;
}

.nightly-prices > summary {
  min-height: 44px;
  padding: 10px 0;
}

@media (max-width: 900px) {
  .alternatives-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .prompt-row {
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: start;
    row-gap: 9px;
  }

  .interpret-button {
    grid-column: 2;
    justify-self: end;
  }
}

@media (max-width: 540px) {
  .intelligence-status {
    margin-bottom: 15px;
    padding: 7px 10px;
    font-size: 10px;
  }

  .prompt-row {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 8px 10px;
    padding-bottom: 13px;
  }

  .interpret-button {
    font-size: 11px;
    min-height: 44px;
    padding: 10px 12px;
  }

  .understood {
    padding: 11px 12px;
    font-size: 12px;
  }

  .alternatives-section {
    margin-top: 27px;
  }

  .alternatives-heading h2 {
    font-size: 24px;
  }

  .alternatives-heading > p:last-child {
    font-size: 13px;
  }

  .alternatives-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .alternative-card .secondary {
    min-height: 46px;
    font-size: 13px;
  }

  .alternative-card ul {
    font-size: 13px;
  }

  .photo-thumbnails {
    gap: 7px;
    padding: 12px 18px 8px;
  }

  .photo-thumbnails > button {
    flex-basis: 72px;
    width: 72px;
    height: 56px;
  }

  .detail-stay > span:first-child {
    align-items: flex-start;
    line-height: 1.7;
  }

  .detail-stay > span:first-child > .icon {
    margin-top: 2px;
  }

  .booking-ready {
    padding: 22px 16px;
  }

  .booking-ready h3 {
    font-size: 21px;
  }

  .booking-ready > strong {
    font-size: 16px;
  }

  .booking-ready a.primary {
    padding: 12px;
    font-size: 12px;
    gap: 8px;
  }

  .booking-disclaimer,
  .stay-note {
    font-size: 12px;
  }

  .availability-note {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .interpret-button:disabled .icon {
    animation: none;
  }
}

.ai-privacy { margin: 10px 4px 0; color: #747c70; font-size: 11px; line-height: 1.6; }
