/*
Theme Name: Rentora Elementor Theme
Author: Rentora
Description: Lightweight presentation theme for the Rentora rental marketplace. Built for Elementor and Elementor Pro Theme Builder. Business logic belongs in Rentora Core.
Version: 0.6.2
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: rentora-theme
*/

:root {
  --rentora-primary: #0f6b4d;
  --rentora-primary-dark: #0a503a;
  --rentora-primary-soft: #e9f5ef;
  --rentora-accent: #d6b46a;
  --rentora-bg: #f7f8f5;
  --rentora-surface: #ffffff;
  --rentora-text: #17211c;
  --rentora-muted: #66736c;
  --rentora-border: #dfe6e1;
  --rentora-success: #1f8a5b;
  --rentora-warning: #b97a16;
  --rentora-danger: #c94a4a;
  --rentora-info: #3177c8;
  --rentora-radius-sm: 8px;
  --rentora-radius-md: 14px;
  --rentora-radius-lg: 22px;
  --rentora-shadow-sm: 0 6px 20px rgba(20, 43, 31, 0.07);
  --rentora-shadow-md: 0 18px 48px rgba(20, 43, 31, 0.10);
  --rentora-container: 1280px;
}

html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
body {
  margin: 0;
  background: var(--rentora-bg);
  color: var(--rentora-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: var(--rentora-primary); text-decoration: none; }
a:hover { color: var(--rentora-primary-dark); }
img { max-width: 100%; height: auto; }

.rentora-site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.rentora-site-main { flex: 1; }
.rentora-container { width: min(calc(100% - 32px), var(--rentora-container)); margin-inline: auto; }

.rentora-fallback-header {
  background: var(--rentora-surface);
  border-bottom: 1px solid var(--rentora-border);
}
.rentora-fallback-header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.rentora-brand { font-weight: 800; font-size: 1.3rem; color: var(--rentora-primary-dark); }
.rentora-menu { display: flex; gap: 20px; align-items: center; list-style: none; margin: 0; padding: 0; }
.rentora-menu a { color: var(--rentora-text); font-weight: 600; }

.rentora-fallback-footer {
  margin-top: 48px;
  padding: 36px 0;
  background: #0b3327;
  color: #eff8f3;
}
.rentora-fallback-footer a { color: #ffffff; }

.rentora-content { padding: 40px 0; }
.rentora-entry { background: var(--rentora-surface); border: 1px solid var(--rentora-border); border-radius: var(--rentora-radius-lg); padding: 32px; }

@media (max-width: 768px) {
  .rentora-fallback-header__inner { min-height: 64px; }
  .rentora-menu { gap: 12px; font-size: 0.92rem; }
  .rentora-content { padding: 24px 0; }
  .rentora-entry { padding: 20px; }
}

/* Rentora homepage visual parity pass - 2026-09-26 */
.home .rentora-fallback-header,
.home .rentora-fallback-footer { display: none !important; }
.home .rentora-site-main { width: 100%; }
.home .rentora-site-shell { background: #fff; }
.home .elementor,
.home .elementor-element { --rentora-home-ink:#111815; }
.home .rentora-search-form label { font-size: 11px; font-weight: 700; color: #31413b; }
.home .rentora-search-form input,
.home .rentora-search-form select { min-height: 42px; border-radius: 7px; border: 1px solid #dfe6e1; font-size: 13px; }
.home .rentora-search-form button,
.home .rentora-search-form .button { min-height: 42px; border-radius: 7px; font-size: 12px; font-weight: 700; }
.home .rentora-property-grid { gap: 16px; }
.home .rentora-property-card { border-radius: 10px; border-color:#dfe6e1; box-shadow:0 8px 20px rgba(7,91,66,.06); }
@media (max-width: 767px) {
  .home .rentora-search-form { grid-template-columns: 1fr !important; }
}

/* Rentora homepage precision pass - 2026-09-28 */
.home .rentora-search {
  display:block;
  padding:14px;
  border:1px solid #DDE6E2;
  border-radius:10px;
  background:#fff;
  box-shadow:0 14px 30px rgba(7,91,66,.12);
}
.home .rentora-search__primary {
  grid-template-columns:1.45fr 1fr .75fr .75fr auto;
  gap:10px;
}
.home .rentora-search label { gap:5px; font-size:11px; }
.home .rentora-search input,
.home .rentora-search select {
  min-height:42px;
  border-radius:7px;
  padding:8px 10px;
  font-size:12px;
}
.home .rentora-search button {
  min-height:42px;
  border-radius:7px;
  padding:0 18px;
  background:#075B42;
  font-size:12px;
}
.home .rentora-search__advanced {
  margin-top:10px;
  padding-top:9px;
}
.home .rentora-search__advanced summary { font-size:11px; }
.home .rentora-empty-state {
  padding:26px 22px;
  border-radius:10px;
}
@media (max-width:1024px) {
  .home .rentora-search__primary { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .home .rentora-search__primary button { grid-column:1/-1; }
}
@media (max-width:640px) {
  .home .rentora-search__primary { grid-template-columns:1fr; }
}
