/**
 * Ofertas dias órfãos — faixa em /accommodation/ofertas_dias.php
 * (variáveis --bg-card, --border, etc. vêm de alojamentos_publico / checkinall-public)
 */
.ap-orphan-offers-wrap {
  max-width: min(1200px, 100%);
  margin: 0 auto 1.25rem;
  padding: 0 clamp(0.65rem, 3vw, 1rem);
  box-sizing: border-box;
}
.ap-orphan-offers-panel {
  background: var(--bg-card, #fff);
  border: 1px solid var(--border, #e7e7e7);
  border-radius: 12px;
  padding: 1rem 1rem 0.95rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.ofp-head {
  margin-bottom: 0.65rem;
}
.ofp-title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}
.ofp-sub {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.ofp-hint {
  margin: 0.5rem 0 0;
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.35;
}
.ofp-hint strong {
  color: var(--text);
  font-weight: 600;
}
.ofp-carousel-host {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.ofp-viewport {
  flex: 1 1 auto;
  min-height: 220px;
  max-height: min(56vh, 560px);
  overflow: hidden;
  border-radius: 14px;
  position: relative;
  background: var(--bg, #f3f3f5);
  cursor: pointer;
}
.ofp-track {
  display: flex;
  flex-direction: column;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .ofp-track {
    transition: none;
  }
}
.ofp-page {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 2px;
  overflow: hidden;
  box-sizing: border-box;
}
@media (min-width: 640px) {
  .ofp-page {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    align-content: start;
  }
}
.ofp-page--empty {
  justify-content: center;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 1rem;
}
.ofp-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-card);
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}
.ofp-card:hover {
  border-color: #d8d8d8;
}
.ofp-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.ofp-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #e8e8ec;
  overflow: hidden;
  isolation: isolate;
}
.ofp-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.ofp-card-img--modal {
  aspect-ratio: 16 / 10;
  border-radius: 0;
}
.ofp-card-pill {
  margin: 0;
  padding: 0.42rem 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  pointer-events: none;
  flex-shrink: 0;
}
.ofp-card-pill svg {
  flex-shrink: 0;
}
.ofp-card-body {
  padding: 0.55rem 0.65rem 0.65rem;
}
.ofp-card-loc {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  color: var(--text-muted);
}
.ofp-card-title {
  margin: 0 0 0.3rem;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
}
.ofp-card-tag {
  margin: 0 0 0.2rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
}
.ofp-card-price {
  margin: 0 0 0.2rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
}
.ofp-card-dates {
  margin: 0;
  font-size: 0.72rem;
  color: var(--text);
}
.ofp-open-all {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-weight: 600;
  font-size: 0.8rem;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.ofp-open-all:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.ofp-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.ofp-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: #ccc;
  cursor: pointer;
}
.ofp-dot[aria-current="true"] {
  background: var(--accent);
  transform: scale(1.15);
}
.ofp-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  padding: 0;
  margin: -1px;
}
.ofp-foot {
  margin: 0.65rem 0 0;
  text-align: center;
}
.ofp-foot-link {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}
.ofp-foot-link:hover {
  color: var(--accent);
}

.ofp-guests-dialog,
.ofp-list-dialog {
  max-width: calc(100% - 1.5rem);
  padding: 0;
  border: none;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
}
.ofp-guests-dialog {
  width: min(380px, 100%);
}
.ofp-list-dialog {
  width: min(900px, 100%);
  max-height: min(90dvh, 720px);
}
.ofp-guests-dialog::backdrop,
.ofp-list-dialog::backdrop {
  background: rgba(0, 0, 0, 0.45);
}
.ofp-list-inner {
  display: flex;
  flex-direction: column;
  max-height: min(90dvh, 720px);
}
.ofp-dlg-head {
  position: relative;
  padding: 1rem 2.5rem 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
}
.ofp-dlg-head h2 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
}
.ofp-dlg-head p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.ofp-dlg-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 50%;
  background: var(--bg, #f3f3f5);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--text-muted);
}
.ofp-dlg-close:hover {
  color: var(--text);
}
.ofp-guests-body {
  padding: 1rem 1rem 1.15rem;
}
.ofp-guests-body label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.ofp-guests-body input[type="number"] {
  width: 100%;
  padding: 0.55rem 0.65rem;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  margin-bottom: 0.85rem;
  box-sizing: border-box;
}
.ofp-guests-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}
.ofp-btn {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.85rem;
  font-family: inherit;
  cursor: pointer;
  border: none;
}
.ofp-btn--ghost {
  background: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.ofp-btn--primary {
  background: #006ce4;
  color: #fff;
}
.ofp-list-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.65rem 1rem;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border);
  background: #fafafa;
}
.ofp-toolbar-field {
  flex: 1 1 140px;
  min-width: 0;
}
.ofp-field-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}
.ofp-select {
  width: 100%;
  padding: 0.45rem 1.75rem 0.45rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.88rem;
  font-family: inherit;
  background: #fff;
  cursor: pointer;
}
.ofp-guests-chip {
  padding: 0.45rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  color: #006ce4;
  cursor: pointer;
  font-family: inherit;
}
.ofp-list-scroll {
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  padding: 0.65rem 0.75rem 1rem;
}
.ofp-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 2rem 1rem;
  font-size: 0.9rem;
  margin: 0;
}

.ofp-prop {
  margin-bottom: 0.85rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-card);
}
.ofp-prop:last-child {
  margin-bottom: 0;
}
.ofp-prop-row {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}
@media (min-width: 640px) {
  .ofp-prop-row {
    flex-direction: row;
    align-items: stretch;
  }
}
.ofp-prop-row:hover {
  background: #fafafa;
}
.ofp-prop-media {
  flex: 0 0 auto;
  width: 100%;
}
@media (min-width: 640px) {
  .ofp-prop-media {
    width: min(36%, 220px);
    max-width: 220px;
  }
}
.ofp-prop-main {
  flex: 1 1 auto;
  padding: 0.65rem 0.85rem;
  min-width: 0;
}
.ofp-prop-title {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #006ce4;
}
.ofp-prop-loc {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  color: #006ce4;
}
.ofp-prop-snippet {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
}
.ofp-prop-side {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-top: 1px solid var(--border);
}
@media (min-width: 640px) {
  .ofp-prop-side {
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    border-top: none;
    border-left: 1px solid var(--border);
    min-width: 120px;
  }
}
.ofp-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  padding: 0.25rem 0.4rem;
  background: #006ce4;
  color: #fff;
  border-radius: 6px 6px 6px 0;
  font-weight: 700;
  font-size: 0.88rem;
}
.ofp-score-cap {
  margin: 0.2rem 0 0;
  font-size: 0.68rem;
  color: var(--text-muted);
  text-align: right;
}
.ofp-from {
  margin: 0;
  font-size: 0.72rem;
  color: var(--text-muted);
}
.ofp-price-big {
  margin: 0.1rem 0 0;
  font-size: 1rem;
  font-weight: 700;
}

.ofp-offer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
  background: #fbfbfb;
}
.ofp-offer-row {
  display: grid;
  gap: 0.45rem;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 560px) {
  .ofp-offer-row {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}
.ofp-offer-row:last-child {
  border-bottom: none;
}
.ofp-offer-tag {
  margin: 0 0 0.15rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
}
.ofp-offer-dates {
  margin: 0;
  font-size: 0.78rem;
}
.ofp-offer-min {
  margin: 0.25rem 0 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: #008009;
}
.ofp-offer-min--warn {
  color: #b06000;
}
.ofp-offer-price {
  text-align: left;
}
@media (min-width: 560px) {
  .ofp-offer-price {
    text-align: right;
  }
}
.ofp-offer-pp {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
}
.ofp-offer-pp span {
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.ofp-offer-total {
  margin: 0.15rem 0 0;
  font-size: 0.72rem;
  color: var(--text-muted);
}
.ofp-calc {
  margin-top: 0.35rem;
  padding: 0.35rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #006ce4;
  background: #fff;
  border: 1px solid #006ce4;
  border-radius: 9999px;
  cursor: pointer;
  font-family: inherit;
}
.ofp-calc:hover {
  background: rgba(0, 108, 228, 0.08);
}
