/* =====================================================
   Mcllary Rentals Public Site - Luxury Enterprise Theme
   ===================================================== */

:root {
  --bg-slate: #F8FAFC;
  --bg-white: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-nav: #0F172A;
  --bg-nav-top: #090D16;
  --bg-dark-card: #1E293B;

  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --text-faint: #94A3B8;
  --text-light: #F8FAFC;

  --brand-red: #DC2626;
  --brand-red-dark: #991B1B;
  --brand-red-light: rgba(220, 38, 38, 0.08);
  --brand-gold: #F59E0B;
  --brand-gold-light: rgba(245, 158, 11, 0.12);
  --whatsapp-green: #25D366;

  --border-color: #E2E8F0;
  --border-dark: #334155;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --shadow-hover: 0 20px 30px -10px rgba(220, 38, 38, 0.15);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* RESET & BASE */
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: 'Plus Jakarta Sans', 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-slate);
  color: var(--text-secondary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-red); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--brand-red-dark); text-decoration: none; }

/* UTILITY CLASSES */
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.text-gold { color: var(--brand-gold) !important; }
.text-brand { color: var(--brand-red) !important; }
.mx-3 { margin-left: 12px; margin-right: 12px; }

/* TOP ANNOUNCEMENT BAR */
.top-announcement-bar {
  background: var(--bg-nav-top);
  color: var(--text-faint);
  font-size: 12.5px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-announcement-bar a { color: var(--text-faint); font-weight: 500; }
.top-announcement-bar a:hover { color: #FFFFFF; }
.admin-link-pill {
  background: rgba(255, 255, 255, 0.08);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-left: 12px;
}

/* NAVBAR BRANDING & HAMBURGER TOGGLE */
.public-navbar {
  background: var(--bg-nav);
  border: none;
  margin-bottom: 0;
  border-radius: 0;
  padding: 8px 0;
  box-shadow: var(--shadow-md);
}

/* HAMBURGER BUTTON FIX FOR SMALL SCREENS */
.public-navbar .navbar-toggle {
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-right: 15px;
  border-radius: var(--radius-sm);
  padding: 8px 10px;
}
.public-navbar .navbar-toggle:hover,
.public-navbar .navbar-toggle:focus {
  background-color: rgba(255, 255, 255, 0.2) !important;
}
.public-navbar .navbar-toggle .icon-bar {
  background-color: #FFFFFF !important;
  height: 3px;
  border-radius: 1px;
  display: block;
  width: 22px;
}

.navbar-brand.brand-logo-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: auto;
  padding: 6px 15px;
  white-space: nowrap;
  float: left;
}
.mcllary-logo-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}
.mcllary-logo-icon.logo-sm { width: 36px; height: 36px; }
.mcllary-logo-icon.logo-xs { width: 28px; height: 28px; }
.mcllary-logo-icon svg { width: 100%; height: 100%; display: block; }
.brand-text-block {
  display: flex;
  flex-direction: column;
  line-height: 1;
  white-space: nowrap;
}
.brand-title {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #FFFFFF;
  line-height: 1;
}
.brand-subtitle {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--brand-gold);
  margin-top: 2px;
  line-height: 1;
}

/* CUSTOM NAV LINKS */
.custom-nav-links > li > a {
  color: #CBD5E1 !important;
  font-weight: 600;
  font-size: 14px;
  padding: 14px 16px !important;
  transition: var(--transition);
}
.custom-nav-links > li > a:hover,
.custom-nav-links > li > a.active {
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border-radius: var(--radius-sm);
}
.nav-cta-btn {
  margin-left: 12px;
}
.btn-brand-primary {
  background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
  color: #FFFFFF !important;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-md);
  padding: 8px 18px;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}
.btn-brand-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.4);
}

/* HERO SECTION */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 50%, #0F172A 100%);
  padding: 80px 0 100px;
  color: #FFFFFF;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 50% 30%, rgba(220, 38, 38, 0.15), transparent 70%);
  pointer-events: none;
}
.hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
  color: #F8FAFC;
}
.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  background: linear-gradient(180deg, #FFFFFF 0%, #CBD5E1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 17px;
  line-height: 1.6;
  color: #94A3B8;
  max-width: 720px;
  margin: 0 auto 36px;
}

/* HERO SEARCH CARD */
.hero-search-card {
  background: rgba(30, 41, 59, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.search-field-group, .search-select-group {
  position: relative;
  flex: 1;
}
.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 16px;
  z-index: 2;
}
.search-input, .search-select {
  height: 52px;
  border-radius: var(--radius-md) !important;
  background: rgba(15, 23, 42, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #FFFFFF !important;
  padding-left: 44px !important;
  font-size: 14px;
}
.search-input::placeholder { color: #64748B; }
.search-select option { background: #0F172A; color: #FFFFFF; }

.btn-brand-red {
  background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
  color: #FFFFFF;
  font-weight: 700;
  border: none;
  height: 52px;
  padding: 0 28px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4);
  transition: var(--transition);
}
.btn-brand-red:hover {
  background: linear-gradient(135deg, #EF4444, var(--brand-red));
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5);
}

/* HERO STATS ROW */
.hero-stats-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.stat-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  color: #CBD5E1;
}
.stat-num {
  color: var(--brand-gold);
  font-weight: 800;
  margin-right: 4px;
}

/* SECTION HEADER */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.section-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
}
.btn-outline-red {
  border: 1.5px solid var(--brand-red);
  color: var(--brand-red);
  font-weight: 700;
  border-radius: var(--radius-md);
  padding: 6px 16px;
  background: transparent;
  transition: var(--transition);
}
.btn-outline-red:hover {
  background: var(--brand-red);
  color: #FFFFFF;
}

/* CLEAN MINIMALIST LIST TABS WITH ACTIVE BORDER BOTTOM */
.clean-tab-container {
  width: 100%;
  border-bottom: 2px solid #E2E8F0;
  margin-bottom: 30px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none; /* Firefox: Hide scrollbar */
  -ms-overflow-style: none; /* IE/Edge: Hide scrollbar */
  -webkit-overflow-scrolling: touch;
}

.clean-tab-container::-webkit-scrollbar {
  display: none; /* Chrome/Safari/Opera: Hide scrollbar */
  width: 0;
  height: 0;
}

/* NAIRA CURRENCY SYMBOL FONT FIX */
.naira-symbol {
  font-family: 'Arial', 'Segoe UI', 'Inter', sans-serif !important;
  font-weight: 700 !important;
  display: inline-block;
  margin-right: 1px;
}

.clean-nav-tabs {
  display: flex;
  flex-wrap: nowrap !important;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  width: max-content;
  min-width: 100%;
}

.clean-nav-item {
  flex: 0 0 auto;
}

.clean-tab-btn {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 12px 4px 14px 4px;
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease-in-out;
  margin-bottom: -2px;
}

.clean-tab-btn:hover {
  color: var(--brand-red);
}

.clean-tab-btn.active {
  color: var(--brand-red) !important;
  font-weight: 700;
  border-bottom-color: var(--brand-red) !important;
  background: transparent !important;
}

.clean-tab-count {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.clean-tab-btn.active .clean-tab-count {
  color: var(--brand-red);
  font-weight: 600;
}

/* FEATURED TAB CONTENT PANELS & GRID */
.featured-tab-panels .tab-content-panel {
  display: none;
}

.featured-tab-panels .tab-content-panel.active {
  display: block;
}

.featured-tab-panels .listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
  width: 100%;
}

@media (max-width: 991px) {
  .featured-vertical-wrapper {
    grid-template-columns: 1fr;
  }
  .featured-list-tabs-scroll {
    max-height: 250px;
  }
}

/* LISTING GRID & COLUMN BROKEN FULL LENGTH CARDS */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  width: 100%;
}
.col-span-full { grid-column: 1 / -1; }

.tab-slider-track {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  width: 100%;
  transition: none !important;
  transform: none !important;
}

.listing-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  flex: 1 1 100%;
}
.listing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(220, 38, 38, 0.3);
}

.card-img-wrapper {
  position: relative;
  width: 100%;
  height: 210px;
  background: #0F172A;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.listing-card:hover .card-img-wrapper img {
  transform: scale(1.06);
}
.card-img-wrapper i {
  font-size: 48px;
  color: #475569;
}
.card-badge-floating {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
}

.card-content-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-meta-text {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--brand-red);
  margin-bottom: 8px;
}
.card-item-title {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 14px;
  line-height: 1.35;
  height: 48px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.card-price-row {
  margin-top: auto;
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.price-amount {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
}
.price-period {
  font-size: 13px;
  color: var(--text-muted);
}

.btn-brand-outline-sm {
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-weight: 700;
  border-radius: var(--radius-sm);
  padding: 10px 0;
  text-align: center;
  background: #F8FAFC;
  transition: var(--transition);
}
.btn-brand-outline-sm:hover {
  background: var(--brand-red);
  color: #FFFFFF;
  border-color: var(--brand-red);
}

/* STATUS BADGES */
.status-badge {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}
.status-available { background: #DCFCE7; color: #15803D; }
.status-rented { background: #FEE2E2; color: #B91C1C; }

/* LISTINGS PAGE SUB-HERO */
.listings-hero-section {
  background: #0F172A;
  color: #FFFFFF;
  padding: 40px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.breadcrumbs-bar {
  font-size: 13px;
  color: #94A3B8;
  margin-bottom: 12px;
}
.breadcrumbs-bar a { color: #CBD5E1; }
.breadcrumbs-bar span { color: #FFFFFF; font-weight: 600; }
.listings-hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 6px;
}
.listings-hero-subtitle {
  color: #94A3B8;
  font-size: 15px;
  margin: 0;
}

/* LAPPING SIDEBAR & UNSTYLED CATEGORY TEXT LIST */
.main-listings-container { padding: 40px 15px; position: relative; }
.listings-layout-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
}
.lapping-sidebar {
  position: sticky;
  top: 20px;
  z-index: 10;
  margin-top: -30px;
}
.sidebar-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.sidebar-header {
  padding: 16px 20px;
  background: #F8FAFC;
  border-bottom: 1px solid var(--border-color);
}
.sidebar-header h4 { margin: 0; font-size: 16px; font-weight: 700; color: var(--text-primary); }
.btn-close-sidebar { background: transparent; border: none; font-size: 18px; color: var(--text-muted); }
.sidebar-body { padding: 20px; }
.form-label { font-size: 13px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }

.input-icon-wrapper { position: relative; }
.input-icon-wrapper i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.input-icon-wrapper input { padding-left: 36px !important; }

/* UNSTYLED CATEGORY TEXT LIST (NO BUTTON BOXES) */
.category-filter-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.category-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: transparent;
  border: none;
  border-left: 3px solid transparent;
  border-radius: 0;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.category-item:hover {
  background: rgba(220, 38, 38, 0.04);
  color: var(--brand-red);
  border-left-color: rgba(220, 38, 38, 0.4);
}
.category-item.active {
  background: var(--brand-red-light);
  color: var(--brand-red);
  border-left-color: var(--brand-red);
  font-weight: 700;
}
.category-item .bi-chevron-right {
  font-size: 12px;
  opacity: 0.4;
  transition: var(--transition);
}
.category-item.active .bi-chevron-right {
  opacity: 1;
  transform: translateX(3px);
  color: var(--brand-red);
}

/* FLOATING FILTER BUTTON FOR MOBILE */
.mobile-floating-filter {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1050;
}
.btn-fab-filter {
  border-radius: var(--radius-full) !important;
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.45);
  padding: 12px 24px !important;
  font-weight: 700;
  font-size: 14px;
}

/* EMPTY STATE CARD */
.empty-state-card {
  background: #FFFFFF;
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 48px 24px;
  text-align: center;
}
.empty-icon { font-size: 48px; color: var(--text-muted); margin-bottom: 14px; display: block; }
.empty-state-card h4 { font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 700; color: var(--text-primary); margin: 0 0 8px; }

/* DETAIL PAGE */
.detail-container { padding: 40px 15px; }
.detail-header-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 24px 30px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.detail-title { font-family: 'Outfit', sans-serif; font-size: 32px; font-weight: 800; color: var(--text-primary); margin: 0 0 6px; }
.detail-subtitle { font-size: 14px; color: var(--text-muted); margin: 0; }
.price-tag-badge {
  background: var(--brand-red-light);
  border: 1px solid rgba(220, 38, 38, 0.2);
  color: var(--brand-red);
  font-size: 26px;
  font-weight: 800;
  padding: 10px 24px;
  border-radius: var(--radius-md);
}

.detail-hero-image-wrapper {
  width: 100%;
  height: 420px;
  background: #0F172A;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
}
.detail-hero-image-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.image-placeholder-icon { font-size: 64px; color: #475569; }

.detail-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 24px 30px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.card-section-title { font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 700; margin: 0 0 16px; color: var(--text-primary); }
.detail-description-text { font-size: 15px; line-height: 1.7; color: var(--text-secondary); margin: 0; }

.detail-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.spec-tile {
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
}
.spec-label { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; margin-bottom: 4px; }
.spec-value { font-size: 15px; font-weight: 700; color: var(--text-primary); }

.detail-sidebar-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  position: sticky;
  top: 20px;
}
.widget-header { background: #0F172A; color: #FFFFFF; padding: 20px 24px; }
.widget-header h4 { margin: 0 0 4px; font-size: 18px; font-weight: 700; }
.widget-sub { font-size: 13px; color: #94A3B8; margin: 0; }
.widget-body { padding: 24px; }

.contact-row { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.icon-circle { width: 38px; height: 38px; border-radius: var(--radius-full); background: var(--brand-red-light); color: var(--brand-red); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }

.btn-whatsapp-direct {
  background: var(--whatsapp-green);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 15px;
  padding: 14px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  margin-top: 10px;
}
.btn-whatsapp-direct:hover {
  background: #20BA5A;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
}
.trust-item { font-size: 13px; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }

/* HOW IT WORKS / STEPS */
.how-to-section { padding: 80px 0; background: #FFFFFF; border-top: 1px solid var(--border-color); }
.section-header-center { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.section-lead-text { font-size: 16px; color: var(--text-muted); margin-top: 10px; }

.how-to-steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.step-card {
  background: #F8FAFC;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 30px 24px;
  position: relative;
  transition: var(--transition);
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-red); }
.step-badge { position: absolute; top: 16px; right: 20px; font-family: 'Outfit', sans-serif; font-size: 28px; font-weight: 800; color: #E2E8F0; }
.step-icon-box { width: 50px; height: 50px; border-radius: var(--radius-md); background: var(--brand-red); color: #FFFFFF; font-size: 22px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3); }
.step-card h4 { font-family: 'Outfit', sans-serif; font-size: 18px; font-weight: 700; margin: 0 0 10px; color: var(--text-primary); }
.step-card p { font-size: 14px; line-height: 1.6; color: var(--text-muted); margin: 0; }

/* DOWNLOAD APP SECTION */
.download-section { padding: 70px 0; }
.download-card {
  background: linear-gradient(135deg, #0F172A, #1E293B);
  border-radius: var(--radius-lg);
  padding: 50px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.download-content { max-width: 520px; }
.download-badge { font-size: 11.5px; font-weight: 800; letter-spacing: 1.5px; color: var(--brand-gold); display: block; margin-bottom: 12px; }
.download-content h2 { font-family: 'Outfit', sans-serif; font-size: 36px; font-weight: 800; margin: 0 0 16px; }
.download-content p { font-size: 16px; color: #94A3B8; line-height: 1.6; margin-bottom: 30px; }
.download-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.store-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 10px 20px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}
.store-btn:hover { background: rgba(255, 255, 255, 0.18); color: #FFFFFF; }
.store-btn i { font-size: 24px; }
.store-btn small { display: block; font-size: 10px; color: #94A3B8; text-transform: uppercase; }
.store-btn strong { font-size: 14px; }

/* APP MOCKUP IMAGE */
.download-mockup-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}
.app-mockup-img {
  max-width: 210px;
  max-height: 320px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.4));
  transition: var(--transition);
}
.app-mockup-img:hover {
  transform: translateY(-4px);
}

/* FOOTER */
.public-footer {
  background: var(--bg-nav);
  color: #94A3B8;
  padding-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand-title { font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 800; color: #FFFFFF; }
.footer-about-text { font-size: 14px; line-height: 1.6; color: #94A3B8; margin-bottom: 20px; }

.footer-social-links { display: flex; gap: 12px; }
.footer-social-links a { width: 36px; height: 36px; border-radius: var(--radius-full); background: rgba(255, 255, 255, 0.08); color: #FFFFFF; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.footer-social-links a:hover { background: var(--brand-red); color: #FFFFFF; }

.footer-heading { font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 700; color: #FFFFFF; margin: 0 0 20px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #94A3B8; font-size: 14px; }
.footer-links a:hover { color: #FFFFFF; padding-left: 4px; }

.footer-contact-list li { margin-bottom: 12px; font-size: 14px; display: flex; align-items: center; gap: 10px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 24px 0; margin-top: 40px; text-align: center; font-size: 13px; color: #64748B; }

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 991px) {
  .listings-layout-grid { grid-template-columns: 1fr; }
  .listings-sidebar.lapping-sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    z-index: 9999;
    margin-top: 0;
    transition: left 0.3s ease;
    overflow-y: auto;
  }
  .listings-sidebar.lapping-sidebar.open {
    left: 0;
  }
  .sidebar-card {
    border-radius: 0;
    min-height: 100vh;
  }

  .download-card { flex-direction: column; text-align: center; padding: 36px 24px; gap: 40px; }
  .download-content { max-width: 100%; }
  .download-buttons { justify-content: center; }
  .hero-title { font-size: 32px; }
  .hero-search-card { flex-direction: column; }
  .btn-brand-red { width: 100%; }
}

/* PUBLIC PAGINATION STYLING */
.pagination {
  display: inline-flex;
  gap: 6px;
  padding-left: 0;
  list-style: none;
  border-radius: 8px;
  margin: 30px 0 10px;
}

.pagination > li > a,
.pagination > li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 8px !important;
  text-decoration: none;
  transition: var(--transition);
}

.pagination > li > a:hover {
  background: #F8FAFC;
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.pagination > li.active > a,
.pagination > li.active > span {
  background: var(--brand-red) !important;
  border-color: var(--brand-red) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

.pagination > li.disabled > span {
  color: #94A3B8;
  background: #F1F5F9;
  border-color: #E2E8F0;
  cursor: not-allowed;
}

/* FEATURED TAB HORIZONTAL SLIDER STYLING */
.tab-slider-container {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.slider-chevron-left,
.slider-chevron-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--border-color, #E2E8F0);
  color: var(--text-primary, #1E293B);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

.slider-chevron-left {
  left: -22px;
}

.slider-chevron-right {
  right: -22px;
}

.slider-chevron-left:hover:not(:disabled),
.slider-chevron-right:hover:not(:disabled) {
  background: var(--brand-red, #DC2626);
  color: #FFFFFF;
  border-color: var(--brand-red, #DC2626);
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.4);
  transform: translateY(-50%) scale(1.08);
}

.slider-chevron-left:disabled,
.slider-chevron-right:disabled {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(0.9);
}

.tab-slider-viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 10px 4px;
}

/* BOOTSTRAP MEDIA LIST CARD STYLING */
.listings-media-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.listing-media-card {
  display: flex;
  background: #FFFFFF;
  border: 1px solid var(--border-color, #E2E8F0);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.listing-media-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-color: #CBD5E1;
}

.media-card-img-wrapper {
  position: relative;
  width: 260px;
  min-width: 260px;
  height: 190px;
  overflow: hidden;
  background: #0F172A;
}

.media-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.listing-media-card:hover .media-card-img-wrapper img {
  transform: scale(1.05);
}

.media-card-body {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.media-card-top-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
}

.media-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text-primary, #0F172A);
  line-height: 1.3;
}

.media-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.media-card-title a:hover {
  color: var(--brand-red, #DC2626);
}

.media-card-desc {
  font-size: 14px;
  color: var(--text-muted, #64748B);
  margin-bottom: 12px;
  line-height: 1.5;
}

.media-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spec-pill-sm {
  background: #F1F5F9;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid #E2E8F0;
}

.media-card-right-action {
  width: 220px;
  min-width: 220px;
  padding: 20px;
  background: #F8FAFC;
  border-left: 1px solid #F1F5F9;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  text-align: right;
}

@media (max-width: 991px) {
  .listing-media-card {
    flex-direction: column;
  }
  .media-card-img-wrapper {
    width: 100%;
    min-width: 100%;
    height: 220px;
  }
  .media-card-right-action {
    width: 100%;
    min-width: 100%;
    border-left: none;
    border-top: 1px solid #F1F5F9;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }
}

/* DETAIL PAGE IMAGE ANGLE PREVIEW CONTROLS */
.detail-hero-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #0F172A;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease, transform 0.4s ease;
}

.detail-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
}

.detail-gallery-arrow:hover:not(:disabled) {
  background: #DC2626;
  border-color: #DC2626;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.45);
}

.detail-gallery-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.gallery-arrow-left {
  left: 16px;
}

.gallery-arrow-right {
  right: 16px;
}

.angle-counter-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  letter-spacing: 0.5px;
  z-index: 10;
}

.detail-gallery-zoom-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.detail-gallery-zoom-btn:hover {
  background: #DC2626;
  border-color: #DC2626;
  transform: scale(1.08);
}

.gallery-thumb {
  width: 90px;
  height: 65px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid #E2E8F0;
  transition: all 0.2s ease;
  opacity: 0.75;
}

.gallery-thumb:hover,
.gallery-thumb.active {
  border-color: #DC2626 !important;
  opacity: 1 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.angle-scrubber-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  display: flex;
  z-index: 12;
}

.angle-scrubber-segment {
  flex: 1;
  height: 100%;
  border-right: 1px solid rgba(15, 23, 42, 0.6);
  background: transparent;
  transition: background 0.2s ease;
}

.angle-scrubber-segment.active {
  background: #DC2626;
}

@media (max-width: 768px) {
  .detail-hero-image-wrapper {
    height: 320px;
    border-radius: 10px;
  }
  .detail-gallery-arrow {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
  .angle-counter-badge {
    bottom: 12px;
    right: 12px;
    font-size: 11px;
    padding: 4px 10px;
  }
}

/* ANGLES OVERLAY BAR */
.hero-angles-overlay-bar {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 1;
  transform: translateY(0);
  z-index: 15;
}

.angles-bar-label {
  color: #F8FAFC;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.angles-chips-wrapper {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  width: 100%;
}

.angles-chips-wrapper::-webkit-scrollbar {
  height: 3px;
}

.angles-chips-wrapper::-webkit-scrollbar-thumb {
  background: var(--brand-red, #DC2626);
  border-radius: 3px;
}

.angle-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px 4px 6px;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.angle-chip img {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  object-fit: cover;
}

.angle-chip:hover,
.angle-chip.active {
  background: var(--brand-red, #DC2626);
  border-color: var(--brand-red, #DC2626);
  color: #FFFFFF;
  transform: scale(1.04);
}

/* DESIGN ALIGNED BREADCRUMBS BAR */
.breadcrumbs-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted, #64748B);
  padding: 8px 0;
}

.breadcrumbs-bar a {
  color: var(--text-muted, #64748B);
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.breadcrumbs-bar a:hover {
  color: var(--brand-red, #DC2626);
}

.breadcrumbs-bar .breadcrumb-separator {
  color: #94A3B8;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  margin: 0 4px;
}

.breadcrumbs-bar .breadcrumb-current {
  color: var(--text-primary, #0F172A);
  font-weight: 700;
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}