/* ═══════════════════════════════════════════
   PATNA360 — home.css (v2 — clean slate)
   All major styles now live in index.php
   This file holds only shared/utility overrides
   ═══════════════════════════════════════════ */

/* ── Legacy search autocomplete (used on search.php too) ── */
.autocomplete-dropdown {
  position: fixed;
  background: white;
  border-radius: 14px;
  box-shadow: 0 8px 40px rgba(15,23,42,0.14), 0 0 0 1px #E2E8F0;
  max-height: 260px;
  overflow-y: auto; overflow-x: hidden;
  z-index: 9999; display: none;
  border: 1px solid #E2E8F0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: #4F46E5 transparent;
}
.autocomplete-dropdown::-webkit-scrollbar { width: 4px; }
.autocomplete-dropdown::-webkit-scrollbar-thumb { background: #4F46E5; border-radius: 4px; }
.autocomplete-item {
  padding: 12px 18px; border-bottom: 1px solid #F1F5F9;
  cursor: pointer; display: flex; align-items: center; gap: 12px;
  transition: background 0.15s;
}
.autocomplete-item:last-child { border-bottom: none; }
.autocomplete-item:hover { background: #EFF6FF; }
.autocomplete-item strong { color: #0F172A; display: block; font-size: 0.92rem; }
.autocomplete-item span   { color: #64748B; font-size: 0.8rem; }

/* ── Footer ── */
.home-footer { background: #0F172A; padding: 0; }
.skyline-svg-wrapper { line-height: 0; }
.footer-content { padding: 36px 0 24px; text-align: center; }
.footer-brand { margin-bottom: 12px; }
.footer-logo { font-size: 1.4rem; font-weight: 800; font-family: 'Plus Jakarta Sans', sans-serif; color: white; }
.footer-tagline { color: rgba(255,255,255,0.45); margin-top: 4px; font-size: 0.88rem; }
.footer-links { display: flex; justify-content: center; gap: 20px; margin: 16px 0; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.55); font-weight: 500; font-size: 0.88rem; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-copy { color: rgba(255,255,255,0.35); font-size: 0.78rem; }

/* ── Mobile bottom nav spacing ── */
@media (max-width: 767px) {
  .areas-banner, .why-section, .category-section, .search-v2-section {
    padding-bottom: 80px;
  }
}

/* ── Featured Card (used across home, nearby, search) ── */
.featured-card {
    background: white; border-radius: 16px; border: 1px solid #F0F0F5;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04); margin-bottom: 16px;
    display: flex; flex-direction: column; overflow: hidden; position: relative;
    text-decoration: none; color: inherit;
}
.fc-badge {
    position: absolute; top: 0; left: 0;
    background: linear-gradient(135deg, #6C63FF, #4F46E5); color: white;
    font-size: 0.65rem; font-weight: 800; padding: 4px 10px;
    border-bottom-right-radius: 12px; display: inline-flex; align-items: center; gap: 4px; z-index: 2;
}
.fc-main { display: flex; padding: 16px; padding-top: 24px; gap: 12px; }
.fc-owner-col { display: flex; flex-direction: column; align-items: center; width: 65px; flex-shrink: 0; }
.fc-owner-img {
    width: 50px; height: 50px; border-radius: 50%; border: 2.5px solid #8B5CF6;
    object-fit: cover; margin-bottom: 6px; background: #f0f0f0;
}
.fc-owner-name { font-size: 0.7rem; font-weight: 800; color: #1E293B; text-align: center; line-height: 1.1; margin-bottom: 2px; }
.fc-owner-role { font-size: 0.6rem; font-weight: 700; color: #8B5CF6; margin-bottom: 4px; }
.fc-ok-pill { background: #DCFCE7; color: #16A34A; font-size: 0.6rem; font-weight: 800; padding: 2px 6px; border-radius: 100px; display: inline-flex; align-items: center; gap: 2px; }
.fc-shop-img-col { position: relative; width: 85px; height: 85px; flex-shrink: 0; border-radius: 12px; overflow: hidden; }
.fc-shop-img { width: 100%; height: 100%; object-fit: cover; }
.fc-img-count { position: absolute; bottom: 4px; right: 4px; background: rgba(0,0,0,0.6); color: white; font-size: 0.6rem; font-weight: 700; padding: 2px 6px; border-radius: 6px; }
.fc-info-col { flex: 1; display: flex; flex-direction: column; justify-content: flex-start; }
.fc-shop-name { font-size: 0.95rem; font-weight: 800; color: #1A1A2E; margin-bottom: 4px; line-height: 1.2; }
.fc-category { display: inline-block; background: #EEF2FF; color: #4F46E5; font-size: 0.65rem; font-weight: 700; padding: 3px 8px; border-radius: 100px; margin-bottom: 6px; align-self: flex-start; }
.fc-rating { font-size: 0.75rem; font-weight: 800; color: #F59E0B; display: flex; align-items: center; gap: 4px; margin-bottom: 6px; }
.fc-live-loc { font-size: 0.7rem; font-weight: 700; color: #10B981; display: flex; align-items: center; gap: 4px; margin-bottom: 2px; }
.fc-area { font-size: 0.7rem; color: #64748B; display: flex; align-items: center; gap: 4px; }
.fc-actions { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #F0F0F5; padding: 10px 0; background: #FAFAFF; }
.fc-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; background: transparent; border: none; border-right: 1px solid #F0F0F5; color: #475569; font-size: 0.65rem; font-weight: 700; cursor: pointer; text-decoration: none; gap: 4px; }
.fc-btn:last-child { border-right: none; }
.fc-btn-icon { font-size: 1rem; color: #6C63FF; }

