/* ============================================================
   AlAinSouq – Premium Design System v3.0
   ============================================================ */

/* ---- RESET & BASE ---- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth
}

body {
  font-family: 'Inter', sans-serif;
  background: #f0f4f8;
  color: #0f172a;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased
}

a {
  text-decoration: none;
  color: inherit
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem
}

/* ---- DESIGN TOKENS ---- */
:root {
  --green: #10b981;
  --green-dark: #059669;
  --green-light: #34d399;
  --green-glow: rgba(16, 185, 129, .25);
  --navy: #0f172a;
  --slate: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --bg-soft: #f8fafc;
  --white: #ffffff;
  --radius-sm: .5rem;
  --radius-md: .875rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, .06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, .08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, .12);
  --shadow-green: 0 6px 24px rgba(16, 185, 129, .22);
}

/* ============================================================  HEADER  ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(16, 185, 129, 0.12);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
  gap: 1rem;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: .9rem;
  box-shadow: 0 4px 14px rgba(16, 185, 129, .4);
  transition: transform .25s, box-shadow .25s
}

.logo:hover .logo-icon {
  transform: rotate(-5deg) scale(1.07);
  box-shadow: 0 6px 20px rgba(16, 185, 129, .5)
}

.logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: #0f172a
}

.logo-accent {
  color: #10b981
}

.desktop-nav {
  display: none;
  gap: 0.35rem;
  align-items: center;
}

@media(min-width:992px) {
  .desktop-nav {
    display: flex
  }
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
  padding: 0.4rem 0.65rem;
  border-radius: 0.75rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link:hover,
.nav-link.active {
  color: #10b981;
  background: rgba(16, 185, 129, 0.08);
  transform: translateY(-1px);
}

.header-search-form {
  display: none;
  align-items: center;
  gap: .35rem;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: .75rem;
  padding: .15rem .15rem .15rem .75rem;
  max-width: 170px;
  transition: border-color .2s
}

.header-search-form:focus-within {
  border-color: #10b981
}

@media(min-width:768px) {
  .header-search-form {
    display: flex
  }
}

.header-search-input {
  background: transparent;
  border: none;
  outline: none;
  font-size: .82rem;
  font-family: 'Inter', sans-serif;
  color: #0f172a;
  width: 100%
}

.header-search-input::placeholder {
  color: #94a3b8
}

.header-search-btn {
  background: #10b981;
  border: none;
  border-radius: .55rem;
  padding: .35rem .6rem;
  cursor: pointer;
  font-size: .85rem;
  transition: background .2s
}

.header-search-btn:hover {
  background: #059669
}

.location-pill {
  display: flex;
  align-items: center;
  gap: .35rem;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 999px;
  padding: .45rem 1rem;
  font-size: .8rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.location-pill:hover {
  border-color: #10b981;
  color: #10b981;
  background: rgba(16, 185, 129, 0.03);
}

.btn-post-ad {
  display: flex;
  align-items: center;
  gap: .4rem;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(16, 185, 129, .35);
  transition: all .25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-post-ad:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 22px rgba(16, 185, 129, .45);
}

/* ============================================================  HERO  ============================================================ */
.hero {
  background: linear-gradient(135deg, #020617 0%, #0f172a 40%, #052e16 100%);
  color: #fff;
  padding: 5rem 1rem 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
  pointer-events: none
}

.hero::before {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(16, 185, 129, .18), transparent 70%);
  top: -80px;
  left: -60px;
  animation-delay: 0s
}

.hero::after {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(52, 211, 153, .13), transparent 70%);
  bottom: -60px;
  right: -40px;
  animation-delay: -4s
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) scale(1)
  }

  50% {
    transform: translate(20px, -20px) scale(1.05)
  }
}

.hero-bg-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(16, 185, 129, .12), transparent);
  pointer-events: none
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 740px;
  margin: 0 auto
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(16, 185, 129, .15);
  border: 1px solid rgba(52, 211, 153, .3);
  color: #34d399;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px)
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: .85rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .4)
}

.text-emerald {
  color: #34d399;
  background: linear-gradient(90deg, #34d399, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.hero-subtitle {
  color: #94a3b8;
  font-size: 1rem;
  margin-bottom: 2.25rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7
}

.search-bar {
  background: rgba(255, 255, 255, .08);
  border: 1.5px solid rgba(255, 255, 255, .15);
  border-radius: 1.25rem;
  padding: .5rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  backdrop-filter: blur(12px);
  max-width: 660px;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .25);
  transition: border-color .3s, box-shadow .3s
}

.search-bar:focus-within {
  border-color: rgba(52, 211, 153, .5);
  box-shadow: 0 8px 32px rgba(16, 185, 129, .2)
}

@media(min-width:640px) {
  .search-bar {
    flex-direction: row;
    border-radius: 999px;
    padding: .4rem
  }
}

.search-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .55rem 1.1rem
}

.search-icon {
  font-size: 1.1rem
}

#inp-hero-search {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: .95rem;
  font-family: 'Inter', sans-serif
}

#inp-hero-search::placeholder {
  color: #475569
}

.btn-ai-search {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  font-weight: 700;
  font-size: .875rem;
  padding: .8rem 1.6rem;
  border-radius: .9rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .4rem;
  transition: all .25s;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(16, 185, 129, .4)
}

@media(min-width:640px) {
  .btn-ai-search {
    border-radius: 999px
  }
}

.btn-ai-search:hover {
  background: linear-gradient(135deg, #059669, #047857);
  transform: scale(1.03)
}

.hero-popular {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  flex-wrap: wrap;
  font-size: .8rem;
  color: #475569
}

.hero-popular a {
  color: #34d399;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .2s
}

.hero-popular a:hover {
  opacity: .8
}

/* ============================================================  CATEGORY BAR  ============================================================ */
.category-bar {
  background: #fff;
  border-bottom: 1px solid #f1f5f9;
  padding: .85rem 0;
  box-shadow: var(--shadow-sm)
}

.cat-scroller {
  display: flex;
  gap: .55rem;
  overflow-x: auto;
  padding: .25rem 0;
  scrollbar-width: none
}

.cat-scroller::-webkit-scrollbar {
  display: none
}

.cat-btn {
  display: flex;
  align-items: center;
  gap: .5rem;
  white-space: nowrap;
  padding: .55rem 1.1rem;
  border-radius: 999px;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  font-size: .82rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all .25s
}

.cat-btn:hover {
  background: #f0fdf4;
  border-color: #10b981;
  color: #10b981;
  transform: translateY(-1px)
}

.cat-btn.active {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(16, 185, 129, .3)
}

/* ============================================================  SUBCATEGORY  ============================================================ */
.subcategory-panel {
  background: linear-gradient(to right, #f8fafc, #f0fdf4);
  border-bottom: 1px solid #e2e8f0;
  padding: 1rem 0
}

.subcat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .75rem;
  font-size: .875rem;
  color: #475569
}

.subcat-header strong {
  color: #10b981
}

.btn-clear-filter {
  background: none;
  border: none;
  color: #ef4444;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer
}

.subcat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem
}

.subcat-chip {
  padding: .4rem .9rem;
  border-radius: .6rem;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  font-size: .8rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all .2s
}

.subcat-chip:hover,
.subcat-chip.active {
  background: #10b981;
  color: #fff;
  border-color: #10b981
}

/* ============================================================  MAIN LAYOUT  ============================================================ */
.main-content {
  padding: 2rem 0 5rem
}

.main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem
}

@media(min-width:992px) {
  .main-grid {
    grid-template-columns: 268px 1fr
  }
}

/* ============================================================  SIDEBAR  ============================================================ */
.sidebar {
  display: none;
  flex-direction: column;
  gap: 1rem
}

@media(min-width:992px) {
  .sidebar {
    display: flex
  }
}

.filter-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid #f1f5f9;
  padding: 1.25rem;
  box-shadow: var(--shadow-sm)
}

.filter-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: #0f172a;
  margin-bottom: 1rem
}

.filter-group {
  margin-bottom: 1rem
}

.filter-label {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .4rem
}

.filter-select,
.filter-input {
  width: 100%;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: .6rem .9rem;
  font-size: .85rem;
  font-weight: 600;
  color: #334155;
  outline: none;
  font-family: 'Inter', sans-serif;
  transition: border-color .2s
}

.filter-select:focus,
.filter-input:focus {
  border-color: #10b981;
  background: #fff
}

.price-range {
  display: flex;
  align-items: center;
  gap: .4rem
}

.range-sep {
  color: #cbd5e1;
  font-size: .85rem
}

.btn-apply-filter {
  width: 100%;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  font-weight: 700;
  font-size: .875rem;
  padding: .7rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all .25s;
  box-shadow: 0 4px 12px rgba(16, 185, 129, .25)
}

.btn-apply-filter:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, .35)
}

.ai-tip-card {
  background: linear-gradient(135deg, #0f172a, #052e16);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(16, 185, 129, .25);
  box-shadow: 0 4px 20px rgba(16, 185, 129, .1)
}

.ai-tip-glow {
  position: absolute;
  right: -1.5rem;
  top: -1.5rem;
  width: 7rem;
  height: 7rem;
  background: rgba(16, 185, 129, .15);
  border-radius: 50%;
  filter: blur(2rem)
}

.ai-tip-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: .6rem
}

.ai-tip-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: .4rem
}

.ai-tip-text {
  color: #94a3b8;
  font-size: .78rem;
  line-height: 1.6;
  margin-bottom: .75rem
}

.ai-tip-link {
  color: #34d399;
  font-size: .8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: .3rem
}

.location-list {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  max-height: 260px;
  overflow-y: auto;
  padding-right: .3rem
}

.location-list::-webkit-scrollbar {
  width: 3px
}

.location-list::-webkit-scrollbar-track {
  background: #f8fafc
}

.location-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 2px
}

.loc-item {
  padding: .45rem .75rem;
  border-radius: .6rem;
  background: #f8fafc;
  border: 1.5px solid #f1f5f9;
  font-size: .82rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all .2s
}

.loc-item:hover {
  border-color: #10b981;
  color: #10b981;
  background: #f0fdf4
}

.loc-item.active {
  background: #f0fdf4;
  color: #059669;
  border-color: #10b981;
  font-weight: 700
}

/* ============================================================  LISTINGS TOOLBAR  ============================================================ */
.listings-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem
}

.listings-count {
  font-size: .875rem;
  color: #64748b
}

.listings-count span {
  color: #0f172a;
  font-weight: 700
}

.btn-mobile-filter {
  display: flex;
  align-items: center;
  gap: .35rem;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: .6rem;
  padding: .45rem .85rem;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s
}

.btn-mobile-filter:hover {
  border-color: #10b981;
  color: #10b981
}

@media(min-width:992px) {
  .btn-mobile-filter {
    display: none
  }
}

/* ============================================================  LISTINGS GRID & CARDS  ============================================================ */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 1.25rem
}

@media (max-width: 768px) {
  .listings-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.6rem !important;
    width: 100% !important;
  }
  .listing-card .card-image {
    height: 115px !important;
  }
  .listing-card .card-body {
    padding: 0.65rem !important;
  }
  .listing-card .card-title {
    font-size: 0.825rem !important;
    margin-bottom: 0.4rem !important;
    -webkit-line-clamp: 2 !important;
    height: 2.3em;
    overflow: hidden;
  }
  .listing-card .card-meta {
    margin-bottom: 0.3rem !important;
  }
  .listing-card .card-cat, 
  .listing-card .card-time {
    font-size: 0.58rem !important;
  }
  .listing-card .card-specs {
    display: none !important;
  }
  .listing-card .card-footer {
    padding-top: 0.5rem !important;
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.4rem;
  }
  .listing-card .card-location {
    font-size: 0.58rem !important;
    padding: 0.15rem 0.4rem !important;
    align-self: flex-start;
  }
  .listing-card .card-price {
    font-size: 0.9rem !important;
  }
  .listing-card .card-price-aed {
    font-size: 0.62rem !important;
  }
  .listing-card .card-action {
    display: none !important;
  }
}

.listing-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid #f1f5f9;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  position: relative;
  transition: all .32s cubic-bezier(.4, 0, .2, 1)
}

.listing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(16, 185, 129, .13);
  border-color: rgba(16, 185, 129, .25)
}

.card-badges {
  position: absolute;
  top: .75rem;
  left: .75rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: .3rem
}

.badge-premium {
  background: linear-gradient(90deg, #f59e0b, #ea580c);
  color: #fff;
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .2rem .55rem;
  border-radius: .4rem;
  box-shadow: 0 2px 8px rgba(245, 158, 11, .4)
}

.badge-featured {
  background: linear-gradient(90deg, #10b981, #059669);
  color: #fff;
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .2rem .55rem;
  border-radius: .4rem;
  box-shadow: 0 2px 8px rgba(16, 185, 129, .35)
}

.btn-wishlist {
  position: absolute;
  top: .75rem;
  right: .75rem;
  z-index: 2;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(6px);
  border: 1.5px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .875rem;
  cursor: pointer;
  transition: all .2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .1)
}

.btn-wishlist:hover {
  transform: scale(1.15);
  border-color: #f87171
}

.card-image {
  height: 11rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.25rem;
  overflow: hidden;
  position: relative
}

.card-image-bg {
  position: absolute;
  inset: 0;
  transition: transform .4s cubic-bezier(.4, 0, .2, 1)
}

.listing-card:hover .card-image-bg {
  transform: scale(1.08)
}

.card-emoji {
  position: relative;
  z-index: 1;
  transition: transform .3s;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .2))
}

.listing-card:hover .card-emoji {
  transform: scale(1.12)
}

.card-body {
  padding: 1.1rem
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .45rem
}

.card-cat {
  font-size: .65rem;
  font-weight: 700;
  color: #57687e;
  text-transform: uppercase;
  letter-spacing: .08em
}

.card-time {
  font-size: .65rem;
  color: #64748b
}

.card-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: .93rem;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: .55rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s
}

.listing-card:hover .card-title {
  color: #10b981
}

.card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin-bottom: .75rem
}

.spec-tag {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: .35rem;
  padding: .15rem .45rem;
  font-size: .67rem;
  font-weight: 700;
  color: #64748b
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: .65rem;
  border-top: 1px solid #f1f5f9
}

.card-price-label {
  font-size: .62rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .07em
}

.card-price {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 1.05rem;
  color: #10b981
}

.card-price-aed {
  font-size: .72rem;
  font-weight: 600;
  color: #475569
}

.card-location {
  display: flex;
  align-items: center;
  gap: .22rem;
  font-size: .7rem;
  font-weight: 700;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  padding: .25rem .6rem;
  border-radius: 999px;
  transition: all .2s
}

.listing-card:hover .card-location {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #059669
}

.empty-state {
  text-align: center;
  padding: 4rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem
}

.empty-icon {
  font-size: 3.5rem
}

.empty-state h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #334155
}

.empty-state p {
  color: #94a3b8;
  font-size: .875rem;
  max-width: 320px
}

/* ============================================================
   AREAS SECTION  —  PREMIUM DARK GLASSMORPHISM
   ============================================================ */
.areas-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #0b1120 0%, #0f172a 50%, #071a10 100%);
  padding: 4rem 0 4.5rem;
}

/* Decorative background blobs */
.areas-section::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, .09), transparent 70%);
  top: -150px;
  right: -150px;
  pointer-events: none;
}

.areas-section::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, .07), transparent 70%);
  bottom: -100px;
  left: -100px;
  pointer-events: none;
}

.section-header {
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 1.75rem;
  color: var(--navy);
  margin-bottom: .5rem;
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-wrap: wrap;
}

.areas-section .section-title {
  color: #fff;
}

.section-title-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(16, 185, 129, .25), rgba(5, 150, 105, .25));
  border: 1px solid rgba(16, 185, 129, .35);
  color: #34d399;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .3rem .8rem;
  border-radius: 999px;
}

.section-sub {
  color: #64748b;
  font-size: .9rem;
  line-height: 1.6
}

/* Areas grid */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  position: relative;
  z-index: 1;
  max-height: 440px;
  /* Limits to ~2 rows initially */
  overflow: hidden;
  transition: max-height .6s cubic-bezier(0.4, 0, 0.2, 1);
}

.areas-grid.expanded {
  max-height: 2000px;
}

@media(min-width:520px) {
  .areas-grid {
    grid-template-columns: repeat(3, 1fr)
  }
}

@media(min-width:768px) {
  .areas-grid {
    grid-template-columns: repeat(4, 1fr)
  }
}

@media(min-width:1024px) {
  .areas-grid {
    grid-template-columns: repeat(5, 1fr)
  }
}

/* Premium glass area card */
/* Premium glass area card */
.area-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  padding: 1.5rem 1.25rem 1.25rem;
  cursor: pointer;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 7.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

/* Shimmer line on top */
.area-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .15), transparent);
}

/* Accent dot */
.area-card::after {
  content: '';
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.8);
  opacity: 0.5;
  transition: opacity 0.3s, transform 0.3s;
}

.area-card:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-color: rgba(16, 185, 129, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(16, 185, 129, 0.25);
}

.area-card:hover::after {
  opacity: 1;
  transform: scale(1.3);
}

/* Color accent stripe per nth child */
.area-card:nth-child(6n+1) .area-accent-line {
  background: linear-gradient(90deg, #10b981, #34d399)
}

.area-card:nth-child(6n+2) .area-accent-line {
  background: linear-gradient(90deg, #3b82f6, #60a5fa)
}

.area-card:nth-child(6n+3) .area-accent-line {
  background: linear-gradient(90deg, #8b5cf6, #a78bfa)
}

.area-card:nth-child(6n+4) .area-accent-line {
  background: linear-gradient(90deg, #f59e0b, #fbbf24)
}

.area-card:nth-child(6n+5) .area-accent-line {
  background: linear-gradient(90deg, #ef4444, #f87171)
}

.area-card:nth-child(6n+6) .area-accent-line {
  background: linear-gradient(90deg, #06b6d4, #22d3ee)
}

.area-accent-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  opacity: 0.8;
  transition: height 0.3s, opacity 0.3s;
}

.area-card:hover .area-accent-line {
  height: 4px;
  opacity: 1;
}

/* Location pin icon */
.area-pin {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.area-card:hover .area-pin {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  color: #34d399;
  transform: scale(1.1);
}

.area-pin svg {
  width: 16px;
  height: 16px
}

.area-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 0.25rem;
  line-height: 1.25;
  transition: color 0.3s;
}

.area-card:hover .area-name {
  color: #34d399;
}

.area-link {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.3s;
}

.area-card:hover .area-link {
  color: #34d399;
  transform: translateX(3px);
}

.area-count {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.25rem 0.65rem;
  border-radius: 2rem;
  position: absolute;
  right: 1.25rem;
  top: 1.25rem;
  line-height: 1;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.area-card:hover .area-count {
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.15);
}

/* ============================================================  PWA CTA  ============================================================ */
.pwa-cta {
  background: linear-gradient(135deg, #0f172a, #052e16);
  color: #fff;
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden
}

.pwa-cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 185, 129, .1), transparent);
  pointer-events: none
}

.pwa-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center
}

@media(min-width:768px) {
  .pwa-cta-inner {
    flex-direction: row;
    text-align: left;
    justify-content: space-between
  }
}

.pwa-cta-text h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  margin-bottom: .5rem
}

.pwa-cta-text p {
  color: #94a3b8;
  font-size: .9rem;
  line-height: 1.7;
  max-width: 480px
}

.btn-pwa-install {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  font-weight: 700;
  padding: .9rem 2.25rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: .9rem;
  transition: all .25s;
  box-shadow: 0 6px 20px rgba(16, 185, 129, .4);
  white-space: nowrap
}

.btn-pwa-install:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(16, 185, 129, .5)
}

/* ============================================================  FOOTER  ============================================================ */
.site-footer {
  background: #090d16;
  color: #94a3b8;
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center
}

@media(min-width:768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: .75rem
}

.footer-brand .logo-text {
  color: #ffffff;
}

.footer-tagline {
  font-size: .75rem;
  color: #64748b;
  margin-top: .25rem
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem
}

.footer-links a {
  font-size: .85rem;
  color: #94a3b8;
  font-weight: 500;
  transition: all .2s
}

.footer-links a:hover {
  color: #10b981
}

.footer-copy {
  font-size: .75rem;
  color: #475569
}

/* ============================================================  MOBILE NAV  ============================================================ */
.mobile-bottom-nav {
  display: flex;
  align-items: center;
  justify-content: space-around;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid #f1f5f9;
  padding: .5rem .5rem calc(.5rem + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 20px rgba(0, 0, 0, .06)
}

@media(min-width:768px) {
  .mobile-bottom-nav {
    display: none
  }
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .15rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: .3rem .5rem;
  border-radius: .6rem;
  transition: color .2s;
  color: #64748b
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
  color: #10b981
}

.mob-nav-icon {
  font-size: 1.25rem
}

.mob-nav-label {
  font-size: .6rem;
  font-weight: 700
}

.mobile-nav-fab {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  font-size: 1.85rem;
  font-weight: 300;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 18px rgba(16, 185, 129, .45);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s
}

.mobile-nav-fab:hover {
  transform: scale(1.1) rotate(45deg)
}

/* ============================================================  MODALS & DRAWER  ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem
}

.modal-box {
  background: #fff;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .25);
  border: 1px solid #f1f5f9;
  padding: 2rem;
  animation: slideUp .3s cubic-bezier(.4, 0, .2, 1)
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(24px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.post-modal-box {
  max-width: 520px
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  cursor: pointer;
  font-size: .875rem;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s
}

.modal-close:hover {
  background: #fee2e2;
  color: #ef4444
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(0, 0, 0, .45)
}

.filter-drawer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 151;
  background: #fff;
  border-radius: 1.5rem 1.5rem 0 0;
  padding: 1.5rem;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, .15);
  max-height: 80vh;
  overflow-y: auto;
  animation: drawerUp .3s cubic-bezier(.4, 0, .2, 1)
}

@keyframes drawerUp {
  from {
    transform: translateY(100%)
  }

  to {
    transform: translateY(0)
  }
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem
}

.drawer-header h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem
}

.drawer-header button {
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: #64748b
}

.drawer-body {
  display: flex;
  flex-direction: column;
  gap: 1rem
}

.btn-clear-all {
  width: 100%;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  color: #64748b;
  font-weight: 600;
  font-size: .875rem;
  padding: .65rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all .2s
}

.btn-clear-all:hover {
  border-color: #ef4444;
  color: #ef4444
}

/* ============================================================  POST FORM  ============================================================ */
.post-step-badge {
  display: inline-block;
  background: #f0fdf4;
  color: #10b981;
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .25rem .65rem;
  border-radius: 999px;
  margin-bottom: .6rem
}

.post-step-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: #0f172a;
  margin-bottom: 1.25rem
}

.form-group {
  margin-bottom: 1rem
}

.form-label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: .4rem
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: .7rem 1rem;
  font-size: .9rem;
  font-family: 'Inter', sans-serif;
  color: #0f172a;
  outline: none;
  transition: border-color .2s
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #10b981;
  background: #fff
}

.form-textarea {
  resize: vertical;
  min-height: 90px
}

.btn-next {
  width: 100%;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  font-weight: 700;
  padding: .85rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  font-size: .9rem;
  transition: all .25s;
  margin-top: .5rem;
  box-shadow: 0 4px 14px rgba(16, 185, 129, .3)
}

.btn-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, .4)
}

.btn-back {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  color: #475569;
  font-weight: 600;
  padding: .7rem;
  border-radius: var(--radius-md);
  width: 100%;
  cursor: pointer;
  font-size: .875rem;
  margin-top: .5rem;
  transition: background .2s
}

.btn-back:hover {
  background: #f1f5f9
}

.ai-loader {
  text-align: center;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem
}

.ai-spinner {
  width: 2.5rem;
  height: 2.5rem;
  border: 3px solid #e2e8f0;
  border-top-color: #10b981;
  border-radius: 50%;
  animation: spin .8s linear infinite
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

.ai-loader p {
  color: #475569;
  font-size: .875rem;
  font-weight: 500
}

.progress-bar {
  display: flex;
  gap: .4rem;
  margin-bottom: 1.25rem
}

.progress-step {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: #e2e8f0;
  transition: background .4s
}

.progress-step.done {
  background: linear-gradient(90deg, #10b981, #059669)
}

/* ============================================================  UTILITIES  ============================================================ */
.hidden {
  display: none !important
}

@media(max-width:767px) {
  body {
    padding-bottom: 5rem
  }
}

/* ============================================================
   PREMIUM LISTING DETAIL PANEL
   ============================================================ */
.panel-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(2, 6, 23, .65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  justify-content: flex-end
}

.listing-panel {
  position: relative;
  width: min(520px, 100vw);
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: -8px 0 60px rgba(0, 0, 0, .2);
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.4, 0, .2, 1)
}

.listing-panel.panel-open {
  transform: translateX(0)
}

.panel-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1rem
}

.panel-back-btn {
  display: flex;
  align-items: center;
  gap: .35rem;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 999px;
  padding: .4rem .85rem;
  font-size: .82rem;
  font-weight: 700;
  color: #1e293b;
  cursor: pointer;
  transition: all .2s
}

.panel-back-btn:hover {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .12)
}

.panel-topbar-actions {
  display: flex;
  gap: .45rem
}

.panel-icon-btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  cursor: pointer;
  transition: all .2s;
  color: #1e293b
}

.panel-icon-btn:hover {
  background: #fff;
  transform: scale(1.08)
}

.pd-hero {
  flex-shrink: 0;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden
}

.pd-hero-orb {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  top: -40px;
  right: -40px;
  animation: float 6s ease-in-out infinite
}

.pd-hero-emoji {
  font-size: 5.5rem;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .3));
  position: relative;
  z-index: 1;
  animation: emojiBounce .6s cubic-bezier(.34, 1.56, .64, 1) both
}

@keyframes emojiBounce {
  from {
    opacity: 0;
    transform: scale(.5) translateY(20px)
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0)
  }
}

.pd-hero-badges {
  position: absolute;
  bottom: .75rem;
  left: .75rem;
  display: flex;
  gap: .4rem
}

.pd-badge {
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .25rem .6rem;
  border-radius: .4rem;
  color: #fff
}

.pd-badge-premium {
  background: linear-gradient(90deg, #f59e0b, #ea580c);
  box-shadow: 0 2px 8px rgba(245, 158, 11, .45)
}

.pd-badge-featured {
  background: linear-gradient(90deg, #10b981, #059669);
  box-shadow: 0 2px 8px rgba(16, 185, 129, .4)
}

.panel-body {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 6rem
}

.panel-body::-webkit-scrollbar {
  width: 4px
}

.panel-body::-webkit-scrollbar-track {
  background: transparent
}

.panel-body::-webkit-scrollbar-thumb {
  background: #e2e8f0;
  border-radius: 2px
}

.pd-content {
  padding: 1.25rem 1.25rem 0
}

.pd-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .65rem
}

.pd-cat-pill {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  background: #f0fdf4;
  color: #059669;
  padding: .28rem .65rem;
  border-radius: 999px;
  border: 1px solid #bbf7d0
}

.pd-time {
  font-size: .73rem;
  color: #94a3b8;
  font-weight: 500
}

.pd-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 1rem
}

.pd-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: 1rem;
  background: linear-gradient(135deg, #f0fdf4, #f8fafc);
  border-radius: var(--radius-md);
  border: 1.5px solid #d1fae5
}

.pd-price-block {
  display: flex;
  align-items: baseline;
  gap: .35rem
}

.pd-price {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 2rem;
  color: #10b981;
  line-height: 1
}

.pd-price-cur {
  font-size: .85rem;
  font-weight: 700;
  color: #475569
}

.pd-condition-badge {
  font-size: .73rem;
  font-weight: 700;
  padding: .35rem .75rem;
  border-radius: 999px;
  border: 1.5px solid
}

.pd-specs {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1rem
}

.pd-spec {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: .5rem;
  padding: .3rem .65rem;
  font-size: .75rem;
  font-weight: 700;
  color: #334155;
  transition: all .2s
}

.pd-spec:hover {
  border-color: #10b981;
  color: #059669;
  background: #f0fdf4
}

.pd-stats-bar {
  display: flex;
  gap: .65rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  padding: .85rem 1rem;
  background: #f8fafc;
  border-radius: var(--radius-md);
  border: 1px solid #f1f5f9
}

.pd-stat {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .78rem;
  font-weight: 600;
  color: #475569
}

.pd-stat-icon {
  font-size: .85rem
}

.pd-section-label {
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #94a3b8;
  margin-bottom: .65rem
}

.pd-desc {
  font-size: .875rem;
  color: #475569;
  line-height: 1.75;
  padding: 1rem;
  background: #f8fafc;
  border-radius: var(--radius-md);
  border: 1px solid #f1f5f9;
  margin-bottom: 1.25rem
}

.pd-seller-card {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .9rem 1rem;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1.5px solid #f1f5f9;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem
}

.pd-seller-avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 2px solid #bbf7d0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0
}

.pd-seller-info {
  flex: 1
}

.pd-seller-name {
  font-weight: 700;
  font-size: .88rem;
  color: #0f172a;
  margin-bottom: .1rem
}

.pd-seller-meta {
  font-size: .73rem;
  color: #94a3b8
}

.pd-verified-badge {
  font-size: .68rem;
  font-weight: 800;
  background: #f0fdf4;
  color: #059669;
  border: 1px solid #bbf7d0;
  padding: .25rem .6rem;
  border-radius: 999px;
  white-space: nowrap
}

.pd-safety {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  padding: .8rem 1rem;
  background: #fffbeb;
  border-radius: var(--radius-sm);
  border: 1px solid #fde68a;
  font-size: .75rem;
  color: #92400e;
  line-height: 1.55;
  margin-bottom: 1.5rem
}

.panel-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  gap: .75rem;
  padding: .9rem 1.25rem calc(.9rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid #f1f5f9;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, .07)
}

.panel-btn-whatsapp {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: linear-gradient(135deg, #25d366, #1ebe59);
  color: #fff;
  font-weight: 700;
  font-size: .88rem;
  padding: .8rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 211, 102, .35);
  transition: all .25s
}

.panel-btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, .5)
}

.panel-btn-call {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: #fff;
  border: 1.5px solid #10b981;
  color: #10b981;
  font-weight: 700;
  font-size: .88rem;
  padding: .8rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all .25s
}

.panel-btn-call:hover {
  background: #10b981;
  color: #fff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, .3)
}

/* ============================================================
   PREMIUM MEGA MENUS (Dark Glassmorphism)
   ============================================================ */

.nav-dropdown {
  position: relative;
}

.nav-has-drop {
  display: flex;
  align-items: center;
  gap: .35rem;
}

.drop-arrow {
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
  opacity: .5;
}

.nav-dropdown:hover .drop-arrow {
  transform: rotate(180deg);
  opacity: 1;
  color: var(--green);
}

/* Mega Menu Panel */
.mega-menu {
  position: absolute;
  top: calc(100% + .75rem);
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  width: 720px;
  /* Large mega menu width */
  background: linear-gradient(145deg, #0b1120 0%, #0f172a 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-xl);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .4), 0 0 0 1px rgba(255, 255, 255, .05);
  padding: 1.75rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s cubic-bezier(.4, 0, .2, 1);
  z-index: 500;
  display: flex;
  gap: 2rem;
  overflow: hidden;
}

/* Shimmer line on top */
.mega-menu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .12), transparent);
}

.nav-dropdown:hover .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Columns */
.mega-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.mega-col-title {
  font-family: 'Outfit', sans-serif;
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-light);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.mega-col-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, .05);
}

.mega-list {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

/* Mega Item Styling */
.mega-item {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .65rem .85rem;
  border-radius: var(--radius-md);
  transition: all .25s ease;
  user-select: none;
}

.mega-item:hover {
  background: rgba(255, 255, 255, .04);
  transform: translateX(6px);
}

.mega-item-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: .75rem;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all .25s;
}

.mega-item:hover .mega-item-icon {
  background: rgba(16, 185, 129, .12);
  border-color: rgba(16, 185, 129, .3);
  color: var(--green-light);
  transform: scale(1.1);
}

.mega-item-content {
  flex: 1;
}

.mega-item-name {
  font-size: .88rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: .1rem;
}

.mega-item-desc {
  font-size: .72rem;
  color: var(--text-light);
  opacity: .7;
}

/* Promo Card inside Mega Menu */
.mega-promo {
  width: 240px;
  background: linear-gradient(135deg, rgba(16, 185, 129, .08), rgba(5, 150, 105, .08));
  border: 1px solid rgba(16, 185, 129, .15);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.mega-promo::after {
  content: '✨';
  position: absolute;
  top: -1rem;
  right: -1rem;
  font-size: 4rem;
  opacity: .05;
  transform: rotate(15deg);
}

.mega-promo-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: .5rem;
  line-height: 1.2;
}

.mega-promo-text {
  font-size: .78rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.btn-mega-action {
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: .75rem;
  padding: .65rem 1rem;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  text-align: center;
}

.btn-mega-action:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, .3);
}

/* Dark mode overrides for Nav Links when dropdown active */
.nav-dropdown:hover>.nav-link {
  color: var(--green-light);
}

/* Listing Card Action Button */
.card-action {
  margin-top: 1rem;
  padding-top: .85rem;
  border-top: 1px solid #f1f5f9;
}

.btn-card-more {
  width: 100%;
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
  padding: .65rem;
  border-radius: var(--radius-md);
  font-size: .8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  transition: all .25s;
  cursor: pointer;
}

.listing-card:hover .btn-card-more {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  box-shadow: 0 4px 12px rgba(16, 185, 129, .25);
}

/* Areas Section See More */
.areas-footer {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

.btn-areas-more {
  background: rgba(255, 255, 255, .05);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .15);
  padding: .8rem 2.5rem;
  border-radius: 999px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  transition: all .25s;
  display: flex;
  align-items: center;
  gap: .6rem;
}

.btn-areas-more:hover {
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 8px 30px rgba(16, 185, 129, .4);
  transform: translateY(-2px);
}

.btn-areas-more svg {
  transition: transform .25s;
}

.btn-areas-more:hover svg {
  transform: translateY(2px);
}

/* ============================================================
   PREMIUM CUSTOM WIDGETS & EXPERIMENTAL AI UPGRADES
   ============================================================ */

/* Premium School Books Banner */
.school-books-banner {
  background: linear-gradient(135deg, #f0fdf4 0%, #e6fbf0 50%, #dcfce7 100%);
  border-top: 1px solid #bbf7d0;
  border-bottom: 1px solid #bbf7d0;
  padding: 3rem 1rem;
  position: relative;
  overflow: hidden;
}
.school-books-banner::before {
  content: '📚';
  position: absolute;
  right: 5%;
  top: -10%;
  font-size: 8rem;
  opacity: 0.08;
  transform: rotate(-15deg);
  pointer-events: none;
}
.school-books-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}
.school-books-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.school-books-icon-wrap {
  width: 4rem;
  height: 4rem;
  background: #fff;
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.15);
}
.school-books-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: #065f46;
  margin-bottom: .35rem;
}
.school-books-text {
  font-size: .9rem;
  color: #047857;
  line-height: 1.6;
}
.school-books-btn {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: 1rem;
  text-decoration: none;
  font-size: .95rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: all .25s;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
  position: relative;
  z-index: 10;
}
.school-books-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.4);
}

/* AI Autocomplete Dropdown styles */
.search-bar-wrap {
  position: relative;
  max-width: 660px;
  margin: 0 auto 1.5rem;
  z-index: 10;
}
.search-autocomplete-box {
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-lg), 0 20px 40px rgba(0,0,0,0.3);
  padding: 1.25rem;
  text-align: left;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: autocompleteSlide .2s ease-out;
}
@keyframes autocompleteSlide {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.autocomplete-section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--green-light);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.25rem;
}
.autocomplete-items {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.autocomplete-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.5rem;
  color: #e2e8f0;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.autocomplete-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transform: translateX(4px);
}

/* AI Price Valuation Simulator Widget */
.ai-valuation-card {
  background: linear-gradient(135deg, #0b1528, #0f172a, #0b1528);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(16, 185, 129, 0.2);
  box-shadow: var(--shadow-md);
  margin-bottom: 1rem;
}
.ai-valuation-glow {
  position: absolute;
  top: -2rem;
  right: -2rem;
  width: 6rem;
  height: 6rem;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25), transparent 70%);
  filter: blur(1rem);
  pointer-events: none;
}
.ai-valuation-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}
.ai-valuation-header span {
  font-size: 1.5rem;
}
.ai-valuation-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
}
.ai-val-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}
.ai-val-select {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  font-size: 0.8rem;
  color: #fff;
  outline: none;
  margin-bottom: 0.75rem;
  font-family: 'Inter', sans-serif;
}
.ai-val-select option {
  background: #0f172a;
  color: #fff;
}
.btn-ai-valuate {
  width: 100%;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.6rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.25s;
}
.btn-ai-valuate:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}
.ai-val-result {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  animation: autocompleteSlide 0.3s ease-out;
}
.ai-val-result-price {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 1.35rem;
  color: #34d399;
  text-align: center;
  margin-top: 0.25rem;
}
.ai-val-result-range {
  font-size: 0.72rem;
  color: #94a3b8;
  text-align: center;
  margin-top: 0.15rem;
}

/* Floating AS-Bot Chat Widget */
.as-bot-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
}
.as-bot-trigger {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  position: relative;
  pointer-events: auto;
}
.as-bot-trigger:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 35px rgba(16, 185, 129, 0.5);
}
.as-bot-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #ef4444;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}
.as-bot-window {
  width: 350px;
  height: 460px;
  background: linear-gradient(145deg, #0b1120 0%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin-bottom: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: bottom right;
  opacity: 0;
  transform: scale(0.8) translateY(20px);
  pointer-events: none;
}
.as-bot-window.open {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}
.as-bot-header {
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.as-bot-header-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.as-bot-avatar {
  width: 2.25rem;
  height: 2.25rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: #34d399;
}
.as-bot-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
}
.as-bot-status {
  font-size: 0.68rem;
  color: #34d399;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.as-bot-status::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}
.as-bot-close {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 1.15rem;
  transition: color 0.2s;
}
.as-bot-close:hover {
  color: #ef4444;
}
.as-bot-messages {
  flex: 1;
  padding: 1.25rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.as-bot-messages::-webkit-scrollbar {
  width: 3px;
}
.as-bot-messages::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}
.as-bot-msg {
  max-width: 80%;
  padding: 0.65rem 0.85rem;
  border-radius: 0.85rem;
  font-size: 0.8rem;
  line-height: 1.45;
}
.as-bot-msg.bot {
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  border-bottom-left-radius: 0.2rem;
  align-self: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.03);
}
.as-bot-msg.user {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  border-bottom-right-radius: 0.2rem;
  align-self: flex-end;
}
.as-bot-input-area {
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  gap: 0.5rem;
}
.as-bot-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 0.55rem 0.85rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: #fff;
  outline: none;
  transition: border-color 0.2s;
}
.as-bot-input:focus {
  border-color: rgba(16, 185, 129, 0.5);
}
.as-bot-send {
  background: linear-gradient(135deg, #10b981, #059669);
  border: none;
  border-radius: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s;
}
.as-bot-send:hover {
  transform: scale(1.05);
}

/* Core Web Vitals & CLS/Performance Optimizations */
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: 0 320px;
}
.areas-section {
  content-visibility: auto;
  contain-intrinsic-size: 0 450px;
}
.listings-grid {
  content-visibility: auto;
  contain-intrinsic-size: 0 600px;
  min-height: 350px; /* Reduces layout shift while products load asynchronously */
}
.category-bar {
  min-height: 48px; /* Avoids CLS when category quick list mounts */
}

/* ============================================================
   PROFESSIONAL JOBS BOARD STYLES
   ============================================================ */
.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.job-row-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  position: relative;
  text-align: left;
}

@media(min-width: 768px) {
  .job-row-card {
    flex-direction: row;
    align-items: center;
  }
}

.job-row-card:hover {
  transform: translateY(-2px);
  border-color: #10b981;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.08);
}

.job-row-left {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  flex: 1;
}

.job-company-avatar {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.job-company-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.job-avatar-fallback {
  font-size: 1.75rem;
}

.job-details {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: left;
}

.job-meta-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.job-company-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
}

.job-badge-premium {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: #d97706;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}

.job-row-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: #0f172a;
  margin: 0;
  line-height: 1.25;
  transition: color 0.2s;
}

.job-row-card:hover .job-row-title {
  color: #10b981;
}

.job-row-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.job-spec-tag {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
}

.job-spec-tag.type-tag {
  background: rgba(16, 185, 129, 0.05);
  border-color: rgba(16, 185, 129, 0.15);
  color: #059669;
}

.job-spec-tag.salary-tag {
  background: rgba(59, 130, 246, 0.05);
  border-color: rgba(59, 130, 246, 0.15);
  color: #2563eb;
  font-weight: 700;
}

.job-row-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  justify-content: center;
}

@media(min-width: 768px) {
  .job-row-right {
    align-items: flex-end;
  }
}

.job-time {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 500;
}

.btn-job-view {
  background: #10b981;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.6rem 1.25rem;
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.15);
}

.job-row-card:hover .btn-job-view {
  background: #059669;
  box-shadow: 0 6px 15px rgba(16, 185, 129, 0.25);
  transform: translateY(-1px);
}