/* =====================================================
   Rankers Ghar Theme — Main Stylesheet
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Fraunces:opsz,wght@9..144,400;9..144,600&display=swap');

:root {
  --primary: #1a8a8a;
  --primary-dark: #156f6f;
  --primary-light: #e8f5f5;
  --secondary: #f59e0b;
  --secondary-dark: #d97706;
  --bg: #faf9f7;
  --card-bg: #ffffff;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08);
  --transition: all .2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 22px; border-radius: var(--radius-sm); font-size: 14px;
  font-weight: 600; font-family: inherit; cursor: pointer; border: none;
  transition: var(--transition); text-decoration: none; line-height: 1;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-secondary { background: var(--secondary); color: #fff; }
.btn-secondary:hover { background: var(--secondary-dark); }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--primary-light); }
.btn-outline-gray { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-outline-gray:hover { border-color: #94a3b8; }
.btn-ghost { background: transparent; color: var(--text-muted); }
.btn-ghost:hover { background: #f1f5f9; color: var(--text); }
.btn-danger { background: #ef4444; color: #fff; }
.btn-danger:hover { background: #dc2626; }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-full { width: 100%; }
.btn:disabled { opacity: .6; cursor: not-allowed; }

/* ── Badges ── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 99px; font-size: 12px;
  font-weight: 600; line-height: 1.4;
}
.badge-primary { background: var(--primary-light); color: var(--primary); }
.badge-green { background: #dcfce7; color: #16a34a; }
.badge-yellow { background: #fef9c3; color: #a16207; }
.badge-red { background: #fee2e2; color: #dc2626; }
.badge-gray { background: #f1f5f9; color: #475569; }
.badge-orange { background: #fff7ed; color: #ea580c; }

/* ── Cards ── */
.card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.card-body { padding: 24px; }
.card-header { padding: 20px 24px; border-bottom: 1px solid var(--border); }
.card-header h3 { font-size: 16px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; }

/* ── Forms ── */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-control {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-size: 14px; font-family: inherit;
  background: #fff; color: var(--text); transition: var(--transition); line-height: 1.5;
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,138,138,.12); }
.form-control::placeholder { color: #94a3b8; }
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control { cursor: pointer; }
.form-error { font-size: 12px; color: #ef4444; margin-top: 4px; }
.form-row { display: grid; gap: 16px; }
.form-row-2 { grid-template-columns: 1fr 1fr; }
.form-row-3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 640px) { .form-row-2, .form-row-3 { grid-template-columns: 1fr; } }

/* ── Navbar ── */
.navbar {
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100;
}
.navbar-inner { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.navbar-brand { display: flex; align-items: center; gap: 8px; font-family: 'Fraunces',serif; font-size: 20px; font-weight: 600; color: var(--primary); }
.navbar-brand svg { width: 24px; height: 24px; }
.navbar-brand:hover { text-decoration: none; }
.navbar-nav { display: flex; align-items: center; gap: 24px; }
.navbar-nav a { font-size: 14px; font-weight: 500; color: var(--text); transition: var(--transition); }
.navbar-nav a:hover { color: var(--primary); text-decoration: none; }
.navbar-actions { display: flex; align-items: center; gap: 10px; }
.navbar-user { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-muted); font-weight: 500; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.mobile-menu { display: none; background: #fff; border-top: 1px solid var(--border); padding: 16px 0; }
.mobile-menu.open { display: block; }
.mobile-menu a, .mobile-menu button { display: block; padding: 12px 24px; font-size: 15px; color: var(--text); font-weight: 500; width: 100%; text-align: left; background: none; border: none; cursor: pointer; font-family: inherit; }
.mobile-menu a:hover, .mobile-menu button:hover { background: var(--primary-light); color: var(--primary); }

@media (max-width: 768px) {
  .navbar-nav, .navbar-actions { display: none; }
  .hamburger { display: flex; }
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, rgba(26,138,138,.05) 0%, transparent 50%, rgba(245,158,11,.04) 100%);
  padding: 80px 0 96px; text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 70% 20%, rgba(26,138,138,.07), transparent);
}
.hero-badge {
  display: inline-flex; align-items: center; padding: 6px 16px; border-radius: 99px;
  background: var(--primary-light); color: var(--primary); font-size: 13px; font-weight: 600;
  margin-bottom: 24px; border: 1px solid rgba(26,138,138,.2);
}
.hero h1 { font-size: clamp(36px, 6vw, 64px); font-weight: 600; margin-bottom: 20px; position: relative; }
.hero p { font-size: 18px; color: var(--text-muted); max-width: 560px; margin: 0 auto 40px; line-height: 1.7; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); font-weight: 500; }

/* ── Listing Cards ── */
.listing-card {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); display: block;
}
.listing-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: rgba(26,138,138,.3); text-decoration: none; }
.listing-card-img { height: 192px; overflow: hidden; background: linear-gradient(135deg, var(--primary-light), #fff7ed); position: relative; }
.listing-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.listing-card:hover .listing-card-img img { transform: scale(1.05); }
.listing-card-img .badge { position: absolute; top: 10px; left: 10px; }
.listing-card-body { padding: 16px; }
.listing-card-title { font-size: 15px; font-weight: 700; margin-bottom: 4px; font-family: 'Plus Jakarta Sans', sans-serif; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.listing-card-location { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; margin-bottom: 10px; }
.listing-card-meta { display: flex; gap: 12px; font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.listing-card-price { display: flex; align-items: baseline; gap: 4px; }
.listing-card-price strong { font-size: 20px; font-weight: 700; color: var(--primary); }
.listing-card-price span { font-size: 13px; color: var(--text-muted); }
.listings-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }

/* ── Section ── */
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }
.section-header { margin-bottom: 40px; }
.section-header h2 { font-size: 32px; margin-bottom: 8px; }
.section-header p { color: var(--text-muted); font-size: 16px; }
.section-header-flex { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }

/* ── Steps ── */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step-item { text-align: center; }
.step-num { width: 52px; height: 52px; border-radius: 16px; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; margin: 0 auto 16px; box-shadow: 0 4px 12px rgba(26,138,138,.3); }
.step-item h3 { font-size: 17px; font-family: 'Plus Jakarta Sans',sans-serif; font-weight: 700; margin-bottom: 8px; }
.step-item p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
@media (max-width: 640px) { .steps-grid { grid-template-columns: 1fr; } }

/* ── Cities ── */
.cities-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.city-tag { padding: 8px 20px; border-radius: 99px; border: 1.5px solid var(--border); font-size: 14px; font-weight: 600; color: var(--text); cursor: pointer; transition: var(--transition); }
.city-tag:hover, .city-tag.active { background: var(--primary); color: #fff; border-color: var(--primary); text-decoration: none; }

/* ── CTA Banner ── */
.cta-banner { background: linear-gradient(135deg, var(--primary), #156f6f); padding: 64px 0; text-align: center; color: #fff; }
.cta-banner h2 { color: #fff; font-size: 32px; margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,.85); font-size: 17px; max-width: 520px; margin: 0 auto 32px; }
.cta-features { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.cta-feature { display: flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255,255,255,.9); }
.cta-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: #f0fdfb; color: var(--primary-dark); }
.btn-outline-white { border: 1.5px solid rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-outline-white:hover { background: rgba(255,255,255,.1); }

/* ── Stats ── */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-item { text-align: center; }
.stat-icon { margin: 0 auto 8px; color: var(--primary); }
.stat-value { font-size: 28px; font-weight: 800; font-family: 'Plus Jakarta Sans',sans-serif; color: var(--text); }
.stat-label { font-size: 13px; color: var(--text-muted); }
@media (max-width: 640px) { .stats-grid { grid-template-columns: 1fr 1fr; } }

/* ── Footer ── */
.footer { background: #f1f5f9; border-top: 1px solid var(--border); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand { font-family: 'Fraunces',serif; font-size: 20px; font-weight: 600; color: var(--primary); display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.footer-desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; max-width: 320px; }
.footer-col h4 { font-size: 14px; font-weight: 700; font-family: 'Plus Jakarta Sans',sans-serif; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 14px; color: var(--text-muted); }
.footer-col ul li a:hover { color: var(--primary); text-decoration: none; }
.footer-col p { font-size: 14px; color: var(--text-muted); margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; text-align: center; font-size: 13px; color: var(--text-muted); }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── Auth Pages ── */
.auth-page { min-height: calc(100vh - 64px); display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.auth-card { width: 100%; max-width: 440px; }
.auth-logo { text-align: center; margin-bottom: 32px; }
.auth-logo a { display: inline-flex; align-items: center; gap: 8px; font-family: 'Fraunces',serif; font-size: 22px; font-weight: 600; color: var(--primary); }
.auth-card .card-header h2 { font-size: 20px; font-family: 'Plus Jakarta Sans',sans-serif; font-weight: 700; }
.auth-card .card-header p { font-size: 14px; color: var(--text-muted); margin-top: 4px; }
.auth-footer { text-align: center; margin-top: 20px; font-size: 14px; color: var(--text-muted); }
.auth-switch { display: flex; gap: 8px; margin-top: 16px; }
.auth-switch .btn { flex: 1; }
.admin-hint { font-size: 12px; color: #94a3b8; text-align: center; margin-top: 16px; border-top: 1px solid var(--border); padding-top: 12px; }

/* ── Dashboard ── */
.dashboard-header { margin-bottom: 32px; }
.dashboard-header h1 { font-size: 28px; }
.dashboard-header p { color: var(--text-muted); margin-top: 4px; }
.dashboard-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.stat-card { padding: 20px; border-radius: var(--radius); }
.stat-card-value { font-size: 26px; font-weight: 800; font-family: 'Plus Jakarta Sans',sans-serif; }
.stat-card-label { font-size: 13px; margin-top: 2px; }
.stat-green { background: #f0fdf4; border: 1px solid #bbf7d0; }
.stat-green .stat-card-value { color: #16a34a; }
.stat-green .stat-card-label { color: #15803d; }
.stat-yellow { background: #fefce8; border: 1px solid #fef08a; }
.stat-yellow .stat-card-value { color: #a16207; }
.stat-yellow .stat-card-label { color: #92400e; }
.stat-red { background: #fef2f2; border: 1px solid #fecaca; }
.stat-red .stat-card-value { color: #dc2626; }
.stat-red .stat-card-label { color: #b91c1c; }

/* ── Listing Rows ── */
.listing-row { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--border); }
.listing-row:last-child { border-bottom: none; }
.listing-row-thumb { width: 80px; height: 64px; border-radius: var(--radius-sm); overflow: hidden; background: var(--primary-light); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.listing-row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.listing-row-body { flex: 1; min-width: 0; }
.listing-row-title { font-size: 14px; font-weight: 700; font-family: 'Plus Jakarta Sans',sans-serif; margin-bottom: 3px; }
.listing-row-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.listing-row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.rejection-note { font-size: 12px; color: #dc2626; background: #fef2f2; border-radius: 6px; padding: 4px 10px; margin-top: 6px; display: inline-block; }

/* ── Subscription Card ── */
.sub-card { border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.sub-active { background: linear-gradient(135deg, #f0fdf4, #dcfce7); border: 2px solid #86efac; }
.sub-inactive { background: linear-gradient(135deg, var(--primary-light), #fff7ed); border: 2px solid rgba(26,138,138,.3); }
.sub-card-header { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 12px; }
.sub-card-title { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.sub-features { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.sub-feature { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); }

/* ── Plan Cards ── */
.plan-card {
  border: 2px solid var(--border); border-radius: var(--radius); padding: 20px;
  cursor: pointer; transition: var(--transition); position: relative;
}
.plan-card:hover { border-color: var(--primary); }
.plan-card.selected { border-color: var(--primary); background: var(--primary-light); }
.plan-popular { position: absolute; top: -12px; right: 16px; background: var(--secondary); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.plan-card-inner { display: flex; justify-content: space-between; align-items: center; }
.plan-name { font-weight: 700; }
.plan-per { font-size: 13px; color: var(--text-muted); }
.plan-price { font-size: 22px; font-weight: 800; color: var(--primary); }
.plan-billing { font-size: 12px; color: var(--text-muted); }

/* ── Admin ── */
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); padding: 10px 14px; border-bottom: 2px solid var(--border); text-align: left; }
.admin-table td { padding: 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #f8fafc; }

/* ── Listing Detail ── */
.listing-detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
@media (max-width: 900px) { .listing-detail-grid { grid-template-columns: 1fr; } }
.gallery-main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; background: var(--primary-light); position: relative; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.gallery-thumb { width: 72px; height: 52px; border-radius: 8px; overflow: hidden; flex-shrink: 0; cursor: pointer; border: 2px solid transparent; transition: var(--transition); }
.gallery-thumb.active { border-color: var(--primary); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.detail-title { font-size: 26px; margin-bottom: 10px; }
.detail-location { display: flex; align-items: center; gap: 6px; font-size: 15px; color: var(--text-muted); margin-bottom: 24px; }
.detail-attrs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 24px; }
@media (min-width: 480px) { .detail-attrs { grid-template-columns: repeat(4, 1fr); } }
.detail-attr { background: #f8fafc; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px; text-align: center; }
.detail-attr-icon { color: var(--primary); margin: 0 auto 4px; }
.detail-attr-label { font-size: 11px; color: var(--text-muted); }
.detail-attr-value { font-size: 13px; font-weight: 700; }
.amenity-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.amenity-tag { background: #f1f5f9; border-radius: 99px; padding: 4px 12px; font-size: 13px; font-weight: 500; }
.contact-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); position: sticky; top: 80px; }
.contact-price { text-align: center; margin-bottom: 20px; }
.contact-price .price { font-size: 32px; font-weight: 800; color: var(--primary); font-family: 'Plus Jakarta Sans',sans-serif; }
.contact-price .period { font-size: 14px; color: var(--text-muted); }
.contact-price .deposit { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.locked-box { background: #f8fafc; border: 1.5px dashed var(--border); border-radius: var(--radius-sm); padding: 20px; text-align: center; margin-bottom: 16px; }
.locked-box svg { color: var(--text-muted); margin: 0 auto 8px; }
.locked-box h4 { font-size: 14px; font-weight: 700; font-family: 'Plus Jakarta Sans',sans-serif; margin-bottom: 4px; }
.locked-box p { font-size: 13px; color: var(--text-muted); }
.contact-info-box { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: var(--radius-sm); padding: 16px; text-align: center; margin-bottom: 12px; }
.contact-info-box .label { font-size: 12px; color: #15803d; margin-bottom: 4px; }
.contact-info-box .phone { font-size: 18px; font-weight: 700; color: #15803d; display: flex; align-items: center; justify-content: center; gap: 6px; }

/* ── Photo Upload Grid ── */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.photo-upload-box {
  aspect-ratio: 4/3; border-radius: var(--radius-sm); border: 2px dashed var(--border);
  background: #f8fafc; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition); overflow: hidden; position: relative;
}
.photo-upload-box:hover { border-color: var(--primary); background: var(--primary-light); }
.photo-upload-box.filled { border-style: solid; border-color: rgba(26,138,138,.4); }
.photo-upload-box input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.photo-upload-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-placeholder { text-align: center; }
.photo-placeholder svg { margin: 0 auto 6px; color: #94a3b8; }
.photo-placeholder span { font-size: 12px; color: #94a3b8; display: block; }

/* ── Step Wizard ── */
.step-wizard { display: flex; align-items: center; gap: 8px; margin-bottom: 32px; }
.step-wizard-item { display: flex; align-items: center; gap: 6px; flex: 1; }
.step-wizard-num {
  width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 14px; font-weight: 700; transition: var(--transition); flex-shrink: 0;
}
.step-wizard-num.active { background: var(--primary); color: #fff; }
.step-wizard-num.done { background: rgba(26,138,138,.2); color: var(--primary); }
.step-wizard-num.pending { background: #f1f5f9; color: #94a3b8; }
.step-wizard-label { font-size: 12px; display: none; }
@media (min-width: 480px) { .step-wizard-label { display: block; } }
.step-wizard-label.active { color: var(--text); font-weight: 600; }
.step-wizard-label.pending { color: #94a3b8; }
.step-wizard-line { height: 2px; flex: 1; background: var(--border); }
.step-wizard-line.done { background: var(--primary); }

/* ── Amenity Chips ── */
.amenity-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.amenity-chip {
  padding: 6px 14px; border-radius: 99px; border: 1.5px solid var(--border);
  font-size: 13px; font-weight: 500; cursor: pointer; transition: var(--transition);
  background: #fff; user-select: none;
}
.amenity-chip.selected { background: var(--primary); color: #fff; border-color: var(--primary); }
.amenity-chip:hover:not(.selected) { border-color: var(--primary); color: var(--primary); }

/* ── Alert ── */
.alert { border-radius: var(--radius-sm); padding: 14px 18px; font-size: 14px; margin-bottom: 16px; border: 1px solid; }
.alert-info { background: #eff6ff; border-color: #bfdbfe; color: #1d4ed8; }
.alert-warning { background: #fefce8; border-color: #fef08a; color: #a16207; }
.alert-success { background: #f0fdf4; border-color: #bbf7d0; color: #15803d; }
.alert-error { background: #fef2f2; border-color: #fecaca; color: #dc2626; }

/* ── Loaders ── */
.spinner { width: 20px; height: 20px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; display: inline-block; }
.spinner-dark { border-color: rgba(26,138,138,.2); border-top-color: var(--primary); }
@keyframes spin { to { transform: rotate(360deg); } }

.loading-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.skeleton { background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%); background-size: 200%; animation: shimmer 1.5s infinite; border-radius: var(--radius); }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ── Toast ── */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; }
.toast {
  background: var(--text); color: #fff; padding: 14px 20px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; box-shadow: var(--shadow-md);
  animation: slideIn .3s ease; max-width: 360px; display: flex; align-items: center; gap: 10px;
}
.toast.success { background: #16a34a; }
.toast.error { background: #dc2626; }
@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ── Filters Bar ── */
.filters-bar { background: rgba(255,255,255,.9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); padding: 14px 0; position: sticky; top: 64px; z-index: 90; }
.filters-inner { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.filters-inner .form-control { flex: 1; min-width: 160px; max-width: 240px; }

/* ── Empty State ── */
.empty-state { text-align: center; padding: 80px 24px; }
.empty-state svg { margin: 0 auto 16px; color: #cbd5e1; }
.empty-state h3 { font-size: 18px; font-family: 'Plus Jakarta Sans',sans-serif; font-weight: 700; margin-bottom: 8px; }
.empty-state p { color: var(--text-muted); font-size: 15px; margin-bottom: 24px; }

/* ── Success Screen ── */
.success-screen { text-align: center; padding: 60px 24px; }
.success-icon { width: 80px; height: 80px; border-radius: 50%; background: #dcfce7; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; }
.success-icon svg { color: #16a34a; }

/* ── CMS Editor ── */
.cms-section { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; }
.cms-section-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; cursor: pointer; background: #f8fafc; }
.cms-section-header:hover { background: #f1f5f9; }
.cms-section-header h3 { font-size: 15px; font-family: 'Plus Jakarta Sans',sans-serif; font-weight: 700; }
.cms-section-body { padding: 20px; border-top: 1px solid var(--border); display: none; }
.cms-section-body.open { display: block; }
.cms-preview { background: #f8fafc; border-radius: var(--radius-sm); padding: 14px; font-size: 13px; font-family: monospace; white-space: pre-wrap; word-break: break-all; overflow-x: auto; margin-bottom: 14px; border: 1px solid var(--border); }

/* ── Pagination ── */
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 40px; }

/* ── Responsive ── */
@media (max-width: 640px) {
  .listing-detail-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 40px 0; }
  .hero { padding: 48px 0 64px; }
}

/* ── WP Admin integration (hide default WP notices on frontend) ── */
.wp-custom-logo { display: none !important; }
