/* tlo-reserve.css
   Injection-only styles — deactivate plugin = these never load.
   Uses TLO brand palette: Navy #053361 · Gold #C8972B · White #ffffff
*/

/* ── Button cluster ──────────────────────────────────────────────────────── */
.tlo-button-cluster {
  margin: 18px 0;
  padding: 18px 20px;
  background: #f8f9fb;
  border: 1px solid #e0e4ea;
  border-radius: 10px;
  font-family: inherit;
}
.tlo-lot-name {
  font-size: 15px;
  font-weight: 700;
  color: #053361;
  display: block;
  margin-bottom: 6px;
}
.tlo-cash-price {
  font-size: 26px;
  font-weight: 800;
  color: #053361;
  display: block;
}
.tlo-mo-price {
  font-size: 14px;
  color: #555;
  display: block;
  margin-bottom: 12px;
}
.tlo-financing-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #C8972B;
  text-transform: uppercase;
  display: block;
  margin-bottom: 14px;
}
.tlo-btn-reserve, .tlo-btn-buy, .tlo-btn-add {
  display: block;
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 8px;
  border: none;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: background .15s, transform .08s;
  font-family: inherit;
}
.tlo-btn-reserve {
  background: #053361;
  color: #fff;
}
.tlo-btn-reserve:hover { background: #074080; transform: translateY(-1px); }
.tlo-btn-buy {
  background: #C8972B;
  color: #fff;
}
.tlo-btn-buy:hover { background: #a87d20; transform: translateY(-1px); }
.tlo-btn-add {
  background: #fff;
  color: #053361;
  border: 2px solid #053361;
}
.tlo-btn-add:hover { background: #e8eef6; }
.tlo-deposit-note {
  font-size: 11px;
  color: #888;
  margin-top: 6px;
  text-align: center;
}
.tlo-unavailable .tlo-btn-reserve,
.tlo-unavailable .tlo-btn-buy,
.tlo-unavailable .tlo-btn-add {
  opacity: .5;
  cursor: not-allowed;
  transform: none !important;
}
.tlo-status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.tlo-status-available { background: #d4edda; color: #155724; }
.tlo-status-reserved  { background: #fff3cd; color: #856404; }
.tlo-status-pending   { background: #fff3cd; color: #856404; }
.tlo-status-sold      { background: #f8d7da; color: #721c24; }

/* ── Cart drawer ─────────────────────────────────────────────────────────── */
.tlo-cart-drawer { position: fixed; inset: 0; z-index: 99998; pointer-events: none; }
.tlo-cart-drawer.tlo-open { pointer-events: all; }
.tlo-cart-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0; transition: opacity .25s;
}
.tlo-cart-drawer.tlo-open .tlo-cart-overlay { opacity: 1; }
.tlo-cart-panel {
  position: absolute; top: 0; right: 0;
  width: 360px; max-width: 95vw; height: 100%;
  background: #fff;
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .28s ease;
  box-shadow: -4px 0 24px rgba(0,0,0,.15);
}
.tlo-cart-drawer.tlo-open .tlo-cart-panel { transform: translateX(0); }
.tlo-cart-header {
  padding: 18px 20px;
  background: #053361; color: #fff;
  display: flex; justify-content: space-between; align-items: center;
}
.tlo-cart-header h3 { margin: 0; font-size: 18px; }
.tlo-cart-close {
  background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; padding: 0 4px;
}
.tlo-cart-items { flex: 1; overflow-y: auto; padding: 16px; }
.tlo-cart-item {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 0; border-bottom: 1px solid #eee;
}
.tlo-ci-name { flex: 1; font-size: 13px; color: #053361; font-weight: 600; }
.tlo-ci-dep  { font-size: 13px; color: #555; white-space: nowrap; }
.tlo-ci-remove {
  background: none; border: none; color: #aaa; font-size: 16px; cursor: pointer; padding: 0 4px;
}
.tlo-ci-remove:hover { color: #e00; }
.tlo-cart-empty { color: #888; font-size: 14px; text-align: center; padding: 30px 0; }
.tlo-cart-footer {
  padding: 16px 20px;
  border-top: 1px solid #e0e4ea;
  background: #f8f9fb;
}
.tlo-cart-total { font-size: 15px; font-weight: 700; color: #053361; margin-bottom: 8px; }
.tlo-cart-note  { font-size: 11px; color: #888; margin-bottom: 12px; }
.tlo-checkout-btn {
  display: block; width: 100%; padding: 14px;
  background: #C8972B; color: #fff;
  border: none; border-radius: 7px;
  font-size: 15px; font-weight: 700; cursor: pointer;
  font-family: inherit; transition: background .15s;
}
.tlo-checkout-btn:hover { background: #a87d20; }

/* ── Cart toggle button (floating) ──────────────────────────────────────── */
.tlo-cart-toggle {
  position: fixed; top: 80px; right: 20px; z-index: 99990;
  width: 48px; height: 48px; border-radius: 50%;
  background: #053361; color: #fff;
  border: none; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.25);
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.tlo-cart-toggle:hover { background: #074080; }
.tlo-cart-badge {
  position: absolute; top: -4px; right: -4px;
  background: #C8972B; color: #fff;
  border-radius: 50%; width: 18px; height: 18px;
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.tlo-cart-badge:empty { display: none; }

/* ── Sticky mobile bar (< 768px) ─────────────────────────────────────────── */
.tlo-sticky-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 99989;
  background: #053361; color: #fff;
  padding: 12px 16px;
  align-items: center; justify-content: space-between; gap: 12px;
  box-shadow: 0 -2px 12px rgba(0,0,0,.2);
}
@media (max-width: 767px) { .tlo-sticky-bar { display: flex; } }
.tlo-sticky-name { font-size: 13px; font-weight: 600; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tlo-sticky-reserve {
  padding: 10px 16px; background: #C8972B; color: #fff;
  border: none; border-radius: 6px; font-size: 14px; font-weight: 700;
  cursor: pointer; white-space: nowrap; font-family: inherit;
}
.tlo-sticky-reserve:disabled { opacity: .5; cursor: not-allowed; }

/* ── LOTS tab link ───────────────────────────────────────────────────────── */
.tlo-tab-link {
  display: inline-block;
  padding: 8px 16px;
  font-weight: 700; font-size: 13px; text-decoration: none;
  color: #053361; border-bottom: 3px solid transparent;
  transition: border-color .15s, color .15s;
}
.tlo-tab-link.tlo-active, .tlo-tab-link:hover { color: #C8972B; border-bottom-color: #C8972B; }

/* ── Lots panel ──────────────────────────────────────────────────────────── */
.tlo-lots-panel { padding: 16px 0; }
.tlo-lot-picker-wrap { max-width: 820px; margin: 0 auto; }
.tlo-lot-legend {
  display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 10px; font-size: 13px;
}
.tlo-legend-av   { color: #2d9b3e; font-weight: 600; }
.tlo-legend-pend { color: #c8972b; font-weight: 600; }
.tlo-legend-sold { color: #c0392b; font-weight: 600; }
.tlo-lot-info {
  margin-bottom: 10px; padding: 10px 14px;
  background: #f0f4f8; border-radius: 7px;
  font-size: 14px; color: #053361; min-height: 40px;
}
.tlo-btn-info-reserve {
  background: #053361; color: #fff;
  border: none; border-radius: 5px;
  padding: 5px 12px; font-size: 13px; font-weight: 700;
  cursor: pointer; font-family: inherit;
}
.tlo-btn-info-reserve:hover { background: #C8972B; }
.tlo-loading { color: #888; font-size: 13px; padding: 20px 0; }

/* ── File viewer modal ───────────────────────────────────────────────────── */
.tlo-file-modal { position: fixed; inset: 0; z-index: 99995; display: none; }
.tlo-file-modal.tlo-fm-open { display: flex; align-items: center; justify-content: center; }
.tlo-fm-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,.6);
}
.tlo-fm-panel {
  position: relative; z-index: 1;
  width: 90vw; max-width: 960px; height: 88vh;
  background: #fff; border-radius: 10px;
  display: flex; flex-direction: column;
  box-shadow: 0 8px 48px rgba(0,0,0,.35);
  overflow: hidden;
}
.tlo-fm-header {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; background: #053361; color: #fff;
}
.tlo-fm-title { flex: 1; font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tlo-fm-download {
  color: #FFD24A; font-size: 13px; text-decoration: none; font-weight: 600; white-space: nowrap;
}
.tlo-fm-close {
  background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; padding: 0 2px; line-height: 1;
}
.tlo-fm-frame { flex: 1; border: none; width: 100%; }

/* ── Prevent body scroll when modal open ────────────────────────────────── */
body.tlo-modal-open { overflow: hidden; }

/* ── Sidebar cluster (Amazon-model right rail) ───────────────────────────── */
.tlo-sidebar-cluster {
  margin: 0;
  padding: 14px 0 0;
  background: transparent;
  border: none;
  border-radius: 0;
  border-top: 1px solid #e0e4ea;
}
/* Hide repeated badge + name — page H1 and the sidebar "FOR SALE" header cover them */
.tlo-sidebar-cluster .tlo-status-badge,
.tlo-sidebar-cluster .tlo-lot-name { display: none !important; }

/* Price block — larger, navy, prominent */
.tlo-sidebar-cluster .tlo-cash-price {
  font-size: 24px;
  font-weight: 800;
  color: #053361;
  margin-bottom: 2px;
}
.tlo-sidebar-cluster .tlo-mo-price {
  font-size: 13px;
  color: #555;
  margin-bottom: 10px;
}
.tlo-sidebar-cluster .tlo-financing-label {
  font-size: 11px;
  color: #C8972B;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
/* Buttons — full width, stacked, match existing sidebar style */
.tlo-sidebar-cluster .tlo-btn-reserve,
.tlo-sidebar-cluster .tlo-btn-buy,
.tlo-sidebar-cluster .tlo-btn-add {
  width: 100%;
  display: block;
  box-sizing: border-box;
  padding: 13px 16px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 6px;
  margin-bottom: 8px;
}
.tlo-sidebar-cluster .tlo-deposit-note {
  font-size: 11px;
  color: #888;
  text-align: center;
  margin-top: 4px;
}

/* ── Image column width fix (Joey: "images at top are too narrow") ──────── */
.property-hero .hero-images-section {
  flex: 0 0 42% !important;
  max-width: 42% !important;
  min-width: 300px !important;
  width: 42% !important;
}
.property-hero .property-info-main {
  flex: 1 1 0% !important;
  min-width: 0 !important;
}
