/* ==========================================================================
   ApartmentForRentDaNang.com — Booking.com-Inspired Luxury Apartment Stylesheet
   Palette: Deep Navy Blue (#0B2545), Crisp White (#FFFFFF), Emerald Accent (#10B981)
   ========================================================================== */

:root {
  /* Tactile & Grounded Palette: Charcoal Espresso, Warm Sand, Ecru, Deep Olive & Champagne Gold */
  --navy-950: #161816;
  --navy-900: #1D201C;
  --navy-800: #232722;
  --navy-700: #30362F;
  --navy-600: #4A5D4E;
  --navy-500: #5B6E58;
  --navy-100: #EAE5DA;
  --navy-50: #F5F2EB;

  /* Grounded Natural Accents: Deep Olive, Sage, Champagne Gold & Terracotta */
  --emerald-700: #39483B;
  --emerald-600: #4A5D4E;
  --emerald-500: #5B6E58;
  --emerald-400: #C6A467;
  --emerald-300: #D8BE8A;
  --emerald-200: #DFD8C8;
  --emerald-100: #EAE5DA;
  --emerald-50: #F0EFE9;

  /* Earthy Status Accents */
  --terracotta: #A85B43;
  --amber-500: #B88B4A;
  --amber-400: #C6A467;
  --amber-100: #F3EAD8;
  --red-600: #A85B43;
  --red-500: #B8654C;
  --red-50: #FBF3F0;

  /* Warm Neutral Surfaces (Sand, Ecru, Linen) */
  --bg-page: #F5F2EB;
  --bg-surface: #FCFBF8;
  --bg-subtle: #EAE5DA;
  --border-color: #DED7CA;
  --border-strong: #C9C0B0;
  --text-primary: #1E201D;
  --text-secondary: #484B44;
  --text-muted: #76786E;
  --text-light: #9A9B90;

  /* Shadows & Architectural Geometry */
  --shadow-xs: 0 1px 3px rgba(29, 32, 28, 0.04);
  --shadow-sm: 0 4px 12px rgba(29, 32, 28, 0.05);
  --shadow-md: 0 10px 26px rgba(29, 32, 28, 0.08);
  --shadow-lg: 0 18px 40px rgba(29, 32, 28, 0.12);
  --shadow-xl: 0 26px 56px rgba(22, 24, 22, 0.18);
  --shadow-search: 0 14px 36px rgba(22, 24, 22, 0.18);

  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --radius-xl: 8px;
  --radius-full: 9999px;

  --font-ui: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-logo: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --container-max: 1280px;
  --transition-fast: 450ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 720ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   1. Base Reset & Typography
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-ui);
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.66;
  letter-spacing: 0.012em;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

a {
  color: var(--navy-600);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--navy-700);
}

ul,
ol {
  list-style: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hidden {
  display: none !important;
}

.container,
.main-container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* ==========================================================================
   2. Booking.com Style Header & Navigation (.site-header, .top-bar, .nav-pills)
   ========================================================================== */
.site-header {
  background-color: var(--navy-800);
  color: #FFFFFF;
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 14px 16px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #FFFFFF;
  text-decoration: none;
  font-family: var(--font-logo);
  font-weight: 800;
  font-size: 1.38rem;
  letter-spacing: -0.02em;
}

.brand-logo:hover {
  color: #FFFFFF;
}

.brand-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--emerald-500), var(--emerald-600));
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
  flex-shrink: 0;
}

.brand-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-domain {
  font-family: var(--font-logo);
  color: #FFFFFF;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand-domain .accent,
.brand-logo .accent {
  color: var(--emerald-400);
}

.brand-domain .tld,
.brand-logo .tld {
  color: var(--emerald-300);
  font-weight: 800;
}

.brand-subtitle,
.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--emerald-400);
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-left: 4px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* VND / USD Currency Switcher */
.currency-switcher {
  display: inline-flex;
  align-items: center;
  background-color: var(--navy-900);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 3px;
  gap: 2px;
}

.currency-btn {
  padding: 5px 11px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.currency-btn:hover {
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.08);
}

.currency-btn.active,
.currency-btn[aria-pressed="true"] {
  background-color: var(--emerald-500);
  color: #FFFFFF;
  box-shadow: 0 1px 4px rgba(16, 185, 129, 0.4);
}

.exchange-rate-pill {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.07);
  padding: 5px 9px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Header Action Buttons */
.header-btn,
.header-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 600;
  color: #FFFFFF;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.header-btn:hover,
.header-action-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.45);
  color: #FFFFFF;
}

.header-btn-light {
  background-color: #FFFFFF;
  color: var(--navy-800);
  border-color: #FFFFFF;
}

.header-btn-light:hover {
  background-color: var(--emerald-50);
  color: var(--navy-900);
}

.header-btn-emerald,
.header-btn-primary {
  background-color: var(--emerald-500);
  color: #FFFFFF;
  border-color: var(--emerald-500);
}

.header-btn-emerald:hover,
.header-btn-primary:hover {
  background-color: var(--emerald-600);
  border-color: var(--emerald-600);
  color: #FFFFFF;
}

.fav-count-badge,
.badge-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: var(--radius-full);
  background-color: var(--emerald-500);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
}

/* Booking.com Navigation Pill Tabs */
.nav-pills {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 4px 16px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-pills::-webkit-scrollbar {
  display: none;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid transparent;
  background-color: transparent;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.nav-pill:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.nav-pill.active,
.nav-pill[aria-selected="true"] {
  background-color: rgba(255, 255, 255, 0.14);
  border-color: var(--emerald-400);
  color: #FFFFFF;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.25);
}

.nav-pill svg,
.nav-pill i {
  color: var(--emerald-400);
  flex-shrink: 0;
}

/* ==========================================================================
   3. Hero Banner & Signature Overlapping Booking.com Search Bar
   ========================================================================== */
.hero-banner {
  background-color: var(--navy-800);
  background-image:
    linear-gradient(95deg, rgba(7, 25, 47, 0.90) 0%, rgba(11, 37, 69, 0.72) 45%, rgba(11, 37, 69, 0.25) 100%),
    linear-gradient(180deg, rgba(7, 25, 47, 0.40) 0%, rgba(7, 25, 47, 0.15) 60%, rgba(7, 25, 47, 0.72) 100%),
    url("images/hero-cau-vang.webp");
  background-size: cover;
  background-position: center 55%;
  background-repeat: no-repeat;
  color: #FFFFFF;
  padding: 40px 0 74px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 20%, rgba(16, 185, 129, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 15% 80%, rgba(7, 25, 47, 0.35) 0%, transparent 55%);
  pointer-events: none;
}

.hero-inner,
.hero-content {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 16px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--emerald-400);
  background: rgba(7, 25, 47, 0.58);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(52, 211, 153, 0.35);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.hero-title,
.hero-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  margin-bottom: 8px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.section-title,
.results-title,
.footer-news-title,
.modal-title {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.hero-subtitle,
.hero-banner p {
  font-size: clamp(0.95rem, 1.5vw, 1.12rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 780px;
  font-weight: 400;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.hero-highlights,
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.hero-badge-item,
.hero-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.96);
  background: rgba(7, 25, 47, 0.58);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(52, 211, 153, 0.35);
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

.hero-badge-item svg,
.hero-trust-pill svg {
  color: var(--emerald-400);
}

/* Signature Booking.com Overlapping Search Bar */
.search-box-wrapper {
  max-width: var(--container-max);
  margin: -34px auto 24px;
  padding: 0 16px;
  position: relative;
  z-index: 120;
}

.booking-search-bar {
  background-color: var(--emerald-500);
  padding: 4px;
  border-radius: 10px;
  box-shadow: var(--shadow-search);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr auto;
  gap: 4px;
  align-items: stretch;
}

.search-field {
  background-color: var(--bg-surface);
  border-radius: 6px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  min-height: 56px;
  transition: box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.search-field:focus-within {
  box-shadow: inset 0 0 0 2px var(--navy-800);
  background-color: #FFFFFF;
}

.search-field-icon,
.search-icon {
  color: var(--text-muted);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.search-field:focus-within .search-field-icon,
.search-field:focus-within .search-icon {
  color: var(--emerald-600);
}

.search-field-content,
.search-field-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.search-field-label,
.search-field label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  line-height: 1.2;
  margin-bottom: 2px;
}

.search-field input,
.search-field select,
.search-field-input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  width: 100%;
  padding: 0;
  text-overflow: ellipsis;
}

.search-field input::placeholder {
  color: var(--text-light);
  font-weight: 500;
}

.search-clear-btn {
  color: var(--text-light);
  padding: 4px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  line-height: 1;
}

.search-clear-btn:hover {
  color: var(--text-primary);
  background-color: var(--bg-subtle);
}

/* Autocomplete Dropdown inside Location Search Field */
.location-suggestions,
.search-autocomplete {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  min-width: 290px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 80;
  max-height: 320px;
  overflow-y: auto;
  padding: 6px;
}

.suggestion-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--text-primary);
  transition: background-color var(--transition-fast);
}

.suggestion-item:hover,
.suggestion-item.active {
  background-color: var(--emerald-50);
  color: var(--navy-800);
}

.suggestion-item-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.search-submit-btn {
  background-color: var(--navy-800);
  color: #FFFFFF;
  font-size: 1.02rem;
  font-weight: 700;
  padding: 0 28px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  white-space: nowrap;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.search-submit-btn:hover {
  background-color: var(--navy-700);
}

.search-submit-btn:active {
  transform: scale(0.99);
}

/* ==========================================================================
   4. Breadcrumbs, Promo Banner & Da Nang District Quick-Explore Strip
   ========================================================================== */
.breadcrumbs {
  max-width: var(--container-max);
  margin: 0 auto 16px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.breadcrumbs a {
  color: var(--navy-600);
  font-weight: 500;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumb-sep {
  color: var(--text-light);
}

.breadcrumb-current {
  color: var(--text-primary);
  font-weight: 600;
}

/* Promo / Trust Banner */
.promo-banner {
  max-width: var(--container-max);
  margin: 0 auto 24px;
  padding: 16px 20px;
  background: linear-gradient(90deg, var(--emerald-50) 0%, #FFFFFF 100%);
  border: 1px solid var(--emerald-200);
  border-left: 5px solid var(--emerald-500);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-xs);
}

.promo-banner-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.promo-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background-color: var(--emerald-500);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 800;
}

.promo-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-800);
}

.promo-text {
  font-size: 0.83rem;
  color: var(--text-secondary);
}

/* District Quick-Explore Strip */
.district-section {
  max-width: var(--container-max);
  margin: 0 auto 26px;
  padding: 0 16px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.section-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy-800);
  letter-spacing: -0.015em;
}

.section-subtitle {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.district-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(175px, 1fr));
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.district-card {
  position: relative;
  height: 138px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-fast);
  background-color: var(--navy-800);
  text-align: left;
}

.district-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.district-card.active,
.district-card[aria-pressed="true"] {
  border-color: var(--emerald-500);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.28), var(--shadow-md);
}

.district-card img,
.district-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.district-card:hover img,
.district-card:hover .district-card-img {
  transform: scale(1.06);
}

.district-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 25, 47, 0.15) 0%, rgba(7, 25, 47, 0.88) 100%);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #FFFFFF;
}

.district-top-tag,
.district-badge {
  align-self: flex-start;
  background: rgba(16, 185, 129, 0.92);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.district-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
}

.district-vn-name {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.78);
}

.district-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--emerald-400);
  font-weight: 600;
  margin-top: 3px;
}

/* ==========================================================================
   5. Booking.com Main Two-Column Layout (.main-container, .content-grid)
   ========================================================================== */
.main-container {
  max-width: var(--container-max);
  margin: 0 auto 48px;
  padding: 0 16px;
  flex: 1;
}

.content-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

/* ==========================================================================
   6. Left Filter Sidebar (.filter-sidebar, .map-preview-box, .filter-card)
   ========================================================================== */
.filter-sidebar {
  position: sticky;
  top: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Booking.com Interactive Map Preview Box */
.map-preview-box {
  position: relative;
  height: 132px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background:
    radial-gradient(circle at 65% 40%, rgba(16, 185, 129, 0.25), transparent 55%),
    linear-gradient(135deg, #DBEAFE 0%, #E0F2FE 50%, #D1FAE5 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.map-preview-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 37, 69, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 37, 69, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

.map-preview-box:hover {
  border-color: var(--emerald-500);
  box-shadow: var(--shadow-md);
}

.map-preview-btn {
  position: relative;
  z-index: 2;
  background-color: var(--navy-800);
  color: #FFFFFF;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: var(--shadow-md);
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.map-preview-box:hover .map-preview-btn {
  background-color: var(--emerald-600);
  transform: translateY(-1px);
}

/* Filter Container Card */
.filter-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.filter-card-header,
.filter-header {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--bg-subtle);
}

.filter-card-header h2,
.filter-header h2,
.filter-header-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy-800);
}

.filter-reset-btn {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--emerald-600);
  padding: 2px 6px;
  border-radius: var(--radius-xs);
}

.filter-reset-btn:hover {
  background-color: var(--emerald-50);
  text-decoration: underline;
}

.filter-group {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
}

.filter-group:last-child {
  border-bottom: none;
}

.filter-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 0;
  cursor: pointer;
  font-size: 0.84rem;
  color: var(--text-secondary);
  user-select: none;
}

.filter-option:hover {
  color: var(--navy-800);
}

.filter-option-left,
.filter-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.filter-option input[type="checkbox"],
.filter-option input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--emerald-500);
  cursor: pointer;
  flex-shrink: 0;
  border-radius: 3px;
}

.filter-count {
  font-size: 0.75rem;
  color: var(--text-muted);
  background-color: var(--bg-subtle);
  padding: 1px 7px;
  border-radius: var(--radius-full);
  font-weight: 600;
  flex-shrink: 0;
}

/* Price Range Slider inside Sidebar */
.price-range-slider {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.price-range-slider input[type="range"] {
  width: 100%;
  accent-color: var(--emerald-500);
  cursor: pointer;
}

.price-range-labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy-800);
}

/* ==========================================================================
   7. Results Section & Toolbar (.results-section, .results-header, .view-toggle)
   ========================================================================== */
.results-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.results-header {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-xs);
}

.results-title {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--navy-800);
  line-height: 1.25;
}

.results-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.results-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sort-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 5px 12px;
  font-size: 0.82rem;
}

.sort-label {
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}

.sort-select {
  border: 1px solid var(--border-color);
  background-color: var(--bg-surface);
  border-radius: var(--radius-full);
  padding: 6px 12px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--navy-800);
  outline: none;
  cursor: pointer;
}

.sort-wrapper .sort-select {
  border: none;
  background: transparent;
  padding: 2px 4px;
}

.sort-select:focus {
  border-color: var(--emerald-500);
}

/* List / Grid View Toggle */
.view-toggle {
  display: inline-flex;
  align-items: center;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 2px;
}

.view-btn {
  padding: 5px 11px;
  border-radius: var(--radius-xs);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all var(--transition-fast);
}

.view-btn:hover {
  color: var(--navy-800);
}

.view-btn.active,
.view-btn[aria-pressed="true"] {
  background-color: var(--bg-surface);
  color: var(--navy-800);
  box-shadow: var(--shadow-xs);
}

/* Active Filters Bar & Chips */
.active-filters-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.active-filters-bar:empty {
  display: none;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--emerald-50);
  border: 1px solid var(--emerald-200);
  color: var(--navy-800);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.filter-chip button,
.chip-remove {
  color: var(--emerald-700);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1;
  padding: 0 2px;
}

.filter-chip button:hover,
.chip-remove:hover {
  color: var(--red-600);
}

/* ==========================================================================
   8. Booking.com Property Card Design (.property-card) — List & Grid Views
   ========================================================================== */
#propertiesContainer,
.properties-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Horizontal List Card (Default Booking.com Layout) */
.property-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 16px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--transition-normal), border-color var(--transition-fast), transform var(--transition-fast);
  position: relative;
}

.property-card:hover {
  border-color: #94A3B8;
  box-shadow: var(--shadow-md);
}

.property-card.featured-card,
.property-card[data-featured="true"] {
  border-color: rgba(16, 185, 129, 0.45);
}

/* Left Column: Media & Mini Gallery Thumbs */
.card-media {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.card-main-photo-wrap,
.card-img-wrap {
  position: relative;
  width: 100%;
  height: 190px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: var(--bg-subtle);
}

.card-media > img:first-of-type,
.card-main-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 350ms ease;
}

.property-card:hover .card-main-img,
.property-card:hover .card-media > img:first-of-type {
  transform: scale(1.03);
}

.card-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.card-gallery-thumbs img,
.thumb-img {
  width: 100%;
  height: 46px;
  object-fit: cover;
  border-radius: var(--radius-xs);
  cursor: pointer;
  opacity: 0.82;
  border: 2px solid transparent;
  transition: opacity var(--transition-fast), border-color var(--transition-fast);
}

.card-gallery-thumbs img:hover,
.card-gallery-thumbs img.active,
.thumb-img:hover,
.thumb-img.active {
  opacity: 1;
  border-color: var(--emerald-500);
}

/* Card Badges & Favorite Heart Button */
.card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
  background-color: var(--emerald-600);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-sm);
  letter-spacing: 0.02em;
}

.card-badge.badge-sale,
.badge-sale {
  background-color: var(--navy-800);
}

.card-badge.badge-amber {
  background-color: var(--amber-500);
  color: var(--navy-900);
}

.card-purpose-tag {
  position: absolute;
  bottom: 62px;
  left: 10px;
  z-index: 5;
  background: rgba(7, 25, 47, 0.85);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: var(--radius-xs);
}

.fav-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.92);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), color var(--transition-fast), background-color var(--transition-fast);
}

.fav-btn:hover {
  transform: scale(1.08);
  background-color: #FFFFFF;
  color: var(--red-500);
}

.fav-btn.active,
.fav-btn.is-fav,
.fav-btn[aria-pressed="true"] {
  color: var(--red-500);
  background-color: #FFFFFF;
}

/* Middle + Right Wrapper (.card-body) */
.card-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 16px;
  min-width: 0;
}

/* If .property-card places .card-main-info and .card-side-panel as direct children instead of inside .card-body */
.property-card:has(> .card-side-panel) {
  grid-template-columns: 260px minmax(0, 1fr) 210px;
}

.card-main-info {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.card-title-row {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 6px 8px;
}

.card-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--navy-600);
  line-height: 1.3;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.card-title:hover {
  color: var(--navy-800);
  text-decoration: underline;
}

/* Booking.com Gold Star Squares & Verified Pill */
.star-rating {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--amber-400);
  font-size: 0.82rem;
  vertical-align: middle;
}

.star-square {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background-color: var(--amber-400);
  color: #FFFFFF;
  border-radius: 2px;
  font-size: 0.65rem;
}

.verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: var(--emerald-50);
  color: var(--emerald-700);
  border: 1px solid var(--emerald-200);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-xs);
}

.category-pill {
  display: inline-flex;
  align-items: center;
  background-color: var(--navy-50);
  color: var(--navy-700);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-xs);
}

/* Location Row */
.card-location {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.card-location a,
.location-link,
.map-link {
  color: var(--navy-600);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.card-location a:hover,
.location-link:hover,
.map-link:hover {
  color: var(--navy-800);
}

.beach-distance {
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Apartment Specs Pills (Beds, Baths, Sqm, Floor, Furnishing) */
.card-specs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.spec-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background-color: var(--bg-subtle);
  color: var(--navy-800);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-color);
}

/* Booking.com Green Left-Border Highlights Block */
.card-highlights {
  margin-top: 4px;
  padding: 8px 12px;
  border-left: 3px solid var(--emerald-500);
  background-color: var(--emerald-50);
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.78rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--emerald-700);
  font-weight: 600;
}

.highlight-item svg,
.highlight-check {
  color: var(--emerald-600);
  flex-shrink: 0;
}

.card-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 2px;
}

.amenity-tag {
  font-size: 0.72rem;
  color: var(--text-secondary);
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  padding: 2px 7px;
  border-radius: var(--radius-xs);
}

/* Right Column: Review Score Badge + Dual Currency Price + CTA (.card-side-panel) */
.card-side-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  text-align: right;
  border-left: 1px solid var(--border-color);
  padding-left: 16px;
  min-width: 195px;
}

.review-box {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.review-text {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
}

.review-label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy-800);
}

.review-count {
  font-size: 0.73rem;
  color: var(--text-muted);
}

/* Signature Booking.com Navy Review Score Badge */
.review-score-badge {
  width: 38px;
  height: 38px;
  background-color: var(--navy-800);
  color: #FFFFFF;
  font-size: 0.92rem;
  font-weight: 800;
  border-radius: 8px 8px 8px 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
}

.review-quote {
  font-size: 0.74rem;
  font-style: italic;
  color: var(--text-muted);
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Pricing Block (Primary + Secondary Currency Adaptation) */
.price-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  margin-top: 12px;
  width: 100%;
}

.deal-badge {
  background-color: var(--emerald-500);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  margin-bottom: 2px;
}

.old-price {
  font-size: 0.78rem;
  color: var(--red-500);
  text-decoration: line-through;
  font-weight: 500;
}

.current-price {
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--navy-800);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.secondary-price,
.converted-price {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--emerald-700);
  background-color: var(--emerald-50);
  padding: 1px 6px;
  border-radius: var(--radius-xs);
  margin-top: 1px;
}

.price-subtext,
.price-period {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.cta-btn {
  width: 100%;
  background-color: var(--emerald-500);
  color: #FFFFFF;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.28);
}

.cta-btn:hover {
  background-color: var(--emerald-600);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.36);
}

.cta-btn:active {
  transform: translateY(1px);
}

/* ==========================================================================
   9. Grid View Support (.grid-view or [data-view="grid"] on #propertiesContainer)
   ========================================================================== */
#propertiesContainer.grid-view,
#propertiesContainer[data-view="grid"],
.properties-list.grid-view,
.properties-list[data-view="grid"] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

#propertiesContainer.grid-view .property-card,
#propertiesContainer[data-view="grid"] .property-card,
.properties-list.grid-view .property-card,
.properties-list[data-view="grid"] .property-card {
  grid-template-columns: 1fr;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#propertiesContainer.grid-view .card-body,
#propertiesContainer[data-view="grid"] .card-body,
.properties-list.grid-view .card-body,
.properties-list[data-view="grid"] .card-body {
  grid-template-columns: 1fr;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

#propertiesContainer.grid-view .card-side-panel,
#propertiesContainer[data-view="grid"] .card-side-panel,
.properties-list.grid-view .card-side-panel,
.properties-list[data-view="grid"] .card-side-panel {
  border-left: none;
  border-top: 1px solid var(--border-color);
  padding-left: 0;
  padding-top: 12px;
  margin-top: 8px;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  text-align: left;
}

#propertiesContainer.grid-view .review-box,
#propertiesContainer[data-view="grid"] .review-box {
  flex-direction: row-reverse;
  justify-content: flex-start;
}

#propertiesContainer.grid-view .review-text,
#propertiesContainer[data-view="grid"] .review-text {
  align-items: flex-start;
}

#propertiesContainer.grid-view .price-box,
#propertiesContainer[data-view="grid"] .price-box {
  margin-top: 0;
  width: auto;
}

/* ==========================================================================
   10. Empty Results State
   ========================================================================== */
.empty-state {
  background-color: var(--bg-surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  padding: 48px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.empty-state h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-800);
}

.empty-state p {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 420px;
}

/* ==========================================================================
   11. Modals: Property Detail, Inquiry Booking & Interactive Map (.modal-backdrop)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background-color: rgba(7, 25, 47, 0.68);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 1;
  transition: opacity var(--transition-normal);
}

.modal-backdrop.hidden,
.modal-backdrop[aria-hidden="true"] {
  display: none !important;
}

.modal-dialog {
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 980px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  position: relative;
}

.modal-header {
  padding: 16px 22px;
  background-color: var(--navy-800);
  color: #FFFFFF;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.modal-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #FFFFFF;
}

.modal-subtitle {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 2px;
}

.modal-close,
.modal-close-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color var(--transition-fast);
}

.modal-close:hover,
.modal-close-btn:hover {
  background-color: rgba(255, 255, 255, 0.28);
}

.modal-body {
  padding: 22px;
}

/* Modal Gallery */
.modal-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.modal-main-photo {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.modal-side-photos,
.modal-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-side-photos img,
.modal-thumbs img {
  width: 100%;
  height: 155px;
  object-fit: cover;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition-fast);
}

.modal-side-photos img:hover,
.modal-thumbs img:hover,
.modal-thumbs img.active {
  border-color: var(--emerald-500);
}

/* Modal Two-Column Content Grid */
.modal-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 24px;
  align-items: start;
}

.modal-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.modal-spec-item {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.modal-spec-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.modal-spec-value {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy-800);
}

/* Inquiry / Schedule Viewing Form */
.inquiry-form {
  background-color: var(--bg-page);
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--emerald-500);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.inquiry-form h3,
.inquiry-form-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy-800);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.form-group label,
.form-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea,
.form-input,
.form-select,
.form-textarea {
  padding: 9px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background-color: #FFFFFF;
  font-size: 0.88rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.form-input:focus {
  border-color: var(--emerald-500);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.16);
}

/* Interactive Da Nang Map Modal */
.map-modal-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  min-height: 480px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.map-sidebar-list {
  overflow-y: auto;
  max-height: 500px;
  border-right: 1px solid var(--border-color);
  background-color: var(--bg-surface);
}

.map-list-item {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.map-list-item:hover,
.map-list-item.active {
  background-color: var(--emerald-50);
}

.map-canvas {
  position: relative;
  background:
    radial-gradient(circle at 75% 50%, rgba(14, 165, 233, 0.22), transparent 55%),
    linear-gradient(120deg, #E2E8F0 0%, #F1F5F9 62%, #BAE6FD 63%, #7DD3FC 100%);
  min-height: 460px;
  overflow: hidden;
}

.map-pin {
  position: absolute;
  transform: translate(-50%, -100%);
  background-color: var(--navy-800);
  color: #FFFFFF;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: var(--radius-full);
  border: 2px solid #FFFFFF;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  cursor: pointer;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.map-pin:hover,
.map-pin.active {
  background-color: var(--emerald-500);
  transform: translate(-50%, -105%) scale(1.08);
  z-index: 15;
}

/* ==========================================================================
   12. Toast Notification & Site Footer (.toast-notification, .site-footer)
   ========================================================================== */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 300;
  background-color: var(--navy-900);
  color: #FFFFFF;
  border-left: 4px solid var(--emerald-500);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  max-width: 400px;
  animation: toastSlideIn 220ms ease-out;
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-footer {
  background-color: var(--navy-900);
  color: rgba(255, 255, 255, 0.82);
  margin-top: auto;
  border-top: 4px solid var(--emerald-500);
}

.footer-top-cta {
  background-color: var(--navy-800);
  padding: 28px 16px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 36px 16px 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(auto-fit, minmax(170px, 1fr));
  gap: 24px;
  margin-bottom: 28px;
}

.footer-col h4,
.footer-title {
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.footer-col a:hover {
  color: var(--emerald-400);
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   13. Bilingual Switcher, Admin CMS Button, Availability Badges,
       Direct Zalo/WhatsApp Actions, Floating Contact & Leaflet Map Pins
   ========================================================================== */

/* Language Switcher (VI / EN) in Top Bar */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background-color: var(--navy-900);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.lang-btn:hover {
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.08);
}

.lang-btn.active,
.lang-btn[aria-pressed="true"] {
  background-color: var(--emerald-500);
  color: #FFFFFF;
  box-shadow: 0 1px 4px rgba(16, 185, 129, 0.4);
}

/* Admin CMS Header Link/Button */
.header-btn-admin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--emerald-400);
  background-color: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.38);
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.header-btn-admin:hover {
  background-color: var(--emerald-500);
  border-color: var(--emerald-500);
  color: #FFFFFF;
}

/* Availability Status Badges on Property Cards */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.status-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: currentColor;
}

.status-available {
  background-color: var(--emerald-50);
  color: var(--emerald-700);
  border: 1px solid var(--emerald-200);
}

.status-reserved {
  background-color: var(--amber-100);
  color: #B45309;
  border: 1px solid #FDE68A;
}

.status-rented,
.status-sold {
  background-color: var(--red-50);
  color: var(--red-600);
  border: 1px solid #FECACA;
}

.property-card[data-status="rented"] .card-main-img,
.property-card[data-status="sold"] .card-main-img {
  filter: saturate(0.75);
}

/* Direct Zalo & WhatsApp Quick Contact Buttons on Cards & Modals */
.card-contact-actions,
.modal-contact-actions,
.toast-contact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  width: 100%;
  margin-top: 6px;
}

.btn-zalo,
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
  cursor: pointer;
}

.btn-zalo {
  background-color: #0068FF;
  color: #FFFFFF;
  border: 1px solid #0068FF;
  box-shadow: 0 2px 5px rgba(0, 104, 255, 0.22);
}

.btn-zalo:hover {
  background-color: #0052CC;
  border-color: #0052CC;
  color: #FFFFFF;
  transform: translateY(-1px);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
  border: 1px solid #25D366;
  box-shadow: 0 2px 5px rgba(37, 211, 102, 0.24);
}

.btn-whatsapp:hover {
  background-color: #1DA851;
  border-color: #1DA851;
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* Floating Quick Contact Widget (Bottom Right / Left) */
.floating-contact-widget {
  position: fixed;
  bottom: 22px;
  left: 22px;
  z-index: 160;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.float-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: #FFFFFF;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.float-contact-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-lg);
  color: #FFFFFF;
}

.float-zalo {
  background: linear-gradient(135deg, #0068FF, #0052CC);
}

.float-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
}

.float-admin {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  border: 1px solid rgba(52, 211, 153, 0.45);
}

/* Real Leaflet.js OpenStreetMap Integration & Price Pins */
#leafletMapContainer,
.leaflet-map-box {
  width: 100%;
  height: 100%;
  min-height: 480px;
  z-index: 5;
  background-color: #E2E8F0;
}

.leaflet-div-icon.leaflet-price-marker-wrap {
  background: transparent;
  border: none;
}

.leaflet-price-pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background-color: var(--navy-800);
  color: #FFFFFF;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  border: 2px solid #FFFFFF;
  box-shadow: 0 3px 10px rgba(7, 25, 47, 0.32);
  white-space: nowrap;
  cursor: pointer;
  transition: transform 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
  position: relative;
}

.leaflet-price-pin::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px 5px 0;
  border-style: solid;
  border-color: var(--navy-800) transparent transparent;
}

.leaflet-price-pin.pin-sale {
  background-color: var(--navy-700);
}

.leaflet-price-pin.pin-sale::after {
  border-color: var(--navy-700) transparent transparent;
}

.leaflet-price-pin:hover,
.leaflet-price-pin.active {
  background-color: var(--emerald-500);
  color: #FFFFFF;
  transform: scale(1.12);
  z-index: 999 !important;
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.45);
}

.leaflet-price-pin:hover::after,
.leaflet-price-pin.active::after {
  border-color: var(--emerald-500) transparent transparent;
}

/* Rich Booking.com-Style Apartment Popup inside Leaflet */
.leaflet-popup-content-wrapper {
  border-radius: var(--radius-md) !important;
  padding: 0 !important;
  overflow: hidden;
  box-shadow: var(--shadow-lg) !important;
  border: 1px solid var(--border-color);
}

.leaflet-popup-content {
  margin: 0 !important;
  width: 250px !important;
}

.leaflet-popup-apt {
  display: flex;
  flex-direction: column;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.leaflet-popup-apt img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.leaflet-popup-apt-body {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.leaflet-popup-apt-title {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--navy-800);
  line-height: 1.25;
}

.leaflet-popup-apt-price {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--emerald-600);
}

.leaflet-popup-apt-actions {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.leaflet-popup-apt-actions button,
.leaflet-popup-apt-actions a {
  flex: 1;
  text-align: center;
  padding: 6px 8px;
  border-radius: var(--radius-xs);
  font-size: 0.74rem;
  font-weight: 700;
  text-decoration: none;
}

/* ==========================================================================
   14. Footer News Showcase Section & Bilingual News Reader Modal
   ========================================================================== */

.footer-news-section {
  background: linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 36px 16px 32px;
}

.footer-news-inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.footer-news-header {
  max-width: var(--container-max);
  margin: 0 auto 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-news-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.015em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-news-subtitle {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 4px;
}

.footer-news-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--emerald-400);
  background-color: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
  transition: all var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}

.footer-news-view-all:hover {
  background-color: var(--emerald-500);
  border-color: var(--emerald-500);
  color: #FFFFFF;
}

.footer-news-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.footer-news-card {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform var(--transition-normal), border-color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-normal);
  text-align: left;
}

.footer-news-card:hover {
  transform: translateY(-3px);
  border-color: var(--emerald-400);
  background-color: rgba(255, 255, 255, 0.07);
  box-shadow: 0 10px 26px rgba(4, 16, 32, 0.45);
}

.footer-news-img-wrap {
  position: relative;
  width: 100%;
  height: 152px;
  overflow: hidden;
  background-color: var(--navy-950);
}

.footer-news-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 380ms ease;
}

.footer-news-card:hover .footer-news-img {
  transform: scale(1.06);
}

.footer-news-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--emerald-600);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-sm);
}

.footer-news-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}

.footer-news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.footer-news-card-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition-fast);
}

.footer-news-card:hover .footer-news-card-title {
  color: var(--emerald-400);
}

.footer-news-excerpt {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.48;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.footer-news-readmore {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--emerald-400);
}

.footer-news-card:hover .footer-news-readmore {
  text-decoration: underline;
}

.footer-news-links-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-news-links-list a {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.8rem;
  line-height: 1.35;
}

.footer-news-links-list a:hover {
  color: var(--emerald-400);
  text-decoration: underline;
}

/* News Reader Modal (#newsModalBackdrop & .news-modal-dialog) */
.news-modal-dialog {
  max-width: 1020px;
}

.news-reader-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) 300px;
  gap: 24px;
  align-items: start;
}

.news-article-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.news-article-hero-img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  border: 1px solid var(--border-color);
}

.news-article-meta-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px 12px;
  background-color: var(--bg-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 14px;
}

.news-article-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.94rem;
  line-height: 1.72;
  color: var(--text-secondary);
}

.news-article-content p {
  margin: 0;
}

.news-article-content p:first-child {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.news-article-cta-box {
  margin-top: 18px;
  padding: 14px 16px;
  background-color: var(--emerald-50);
  border: 1px solid var(--emerald-200);
  border-left: 4px solid var(--emerald-500);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.news-sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
}

.news-sidebar-heading {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--navy-800);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.news-sidebar-item {
  display: flex;
  gap: 10px;
  padding: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
  text-align: left;
}

.news-sidebar-item:hover {
  background-color: #FFFFFF;
  border-color: var(--border-color);
}

.news-sidebar-item.active {
  background-color: var(--emerald-50);
  border-color: var(--emerald-400);
}

.news-sidebar-item img {
  width: 64px;
  height: 52px;
  object-fit: cover;
  border-radius: var(--radius-xs);
  flex-shrink: 0;
}

.news-sidebar-item-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy-800);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-sidebar-item-meta {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ==========================================================================
   15. Responsive Breakpoints (@media max-width: 1024px & 768px)
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-reader-grid {
    grid-template-columns: 1fr;
  }
  .booking-search-bar {
    grid-template-columns: 1fr 1fr;
  }

  .booking-search-bar .search-field:first-child {
    grid-column: 1 / -1;
  }

  .booking-search-bar .search-submit-btn {
    grid-column: 1 / -1;
  }

  .district-strip {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }

  .content-grid {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 16px;
  }

  .property-card,
  .property-card:has(> .card-side-panel) {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .card-body {
    grid-template-columns: 1fr;
  }

  .card-side-panel {
    border-left: none;
    border-top: 1px solid var(--border-color);
    padding-left: 0;
    padding-top: 12px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    grid-column: 1 / -1;
  }

  .price-box {
    margin-top: 0;
    width: auto;
  }

  .modal-grid,
  .map-modal-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .booking-search-bar {
    grid-template-columns: 1fr;
  }

  .district-strip {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .filter-sidebar {
    position: static;
  }

  .property-card,
  .property-card:has(> .card-side-panel),
  #propertiesContainer.grid-view,
  #propertiesContainer[data-view="grid"] {
    grid-template-columns: 1fr;
  }

  .card-side-panel {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .review-box {
    justify-content: space-between;
    flex-direction: row-reverse;
  }

  .review-text {
    align-items: flex-start;
  }

  .price-box {
    align-items: flex-start;
  }

  .modal-gallery {
    grid-template-columns: 1fr;
  }

  .modal-side-photos,
  .modal-thumbs {
    flex-direction: row;
  }

  .modal-side-photos img,
  .modal-thumbs img {
    height: 90px;
  }

  .form-row,
  .footer-grid,
  .footer-news-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   14. Editorial Luxury & Tropical Modern Design System (Wabi-Sabi / Japandi)
   ========================================================================== */
@keyframes editorialFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- 1. Editorial Serif Headings + Airy Sans-Serif Body --- */
.hero-title,
.hero-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.1vw, 3.35rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
  animation: editorialFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-subtitle,
.hero-banner p {
  font-family: var(--font-ui);
  font-size: clamp(0.98rem, 1.35vw, 1.12rem);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.014em;
  color: rgba(252, 251, 248, 0.88);
  max-width: 680px;
  animation: editorialFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.section-title,
.results-title,
.footer-news-title,
.modal-title,
.promo-title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.section-title {
  font-size: 1.85rem;
}

.results-title {
  font-size: 1.7rem;
}

.footer-news-title {
  font-size: 1.9rem;
  font-weight: 500;
}

.filter-title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* --- 2. Full-Bleed Architectural Hero & Intentional Glassmorphism --- */
.hero-banner {
  background-image:
    linear-gradient(96deg, rgba(22, 24, 22, 0.92) 0%, rgba(29, 32, 28, 0.72) 44%, rgba(29, 32, 28, 0.18) 100%),
    linear-gradient(180deg, rgba(22, 24, 22, 0.45) 0%, rgba(22, 24, 22, 0.12) 55%, rgba(22, 24, 22, 0.78) 100%),
    url("images/hero-cau-vang.webp");
  background-size: cover;
  background-position: center 56%;
  padding: 58px 0 92px;
}

.hero-eyebrow,
.hero-trust-pill {
  background: rgba(29, 32, 28, 0.46);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(216, 190, 138, 0.28);
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background-color 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-trust-pill:hover {
  background: rgba(29, 32, 28, 0.68);
  border-color: rgba(216, 190, 138, 0.55);
}

.booking-search-bar {
  background-color: var(--emerald-500);
  border: 1px solid rgba(198, 164, 103, 0.35);
  border-radius: 6px;
  padding: 5px;
  box-shadow: var(--shadow-search);
}

.search-submit-btn {
  background-color: var(--navy-800);
  color: #FCFBF8;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background-color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-submit-btn:hover {
  background-color: var(--emerald-600);
}

/* --- 3. Asymmetrical Editorial District Showcase (Breaking Uniform Bento Grid) --- */
.district-section {
  margin-top: 36px;
  margin-bottom: 42px;
}

.district-strip {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.district-card {
  grid-column: span 3;
  height: 196px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: border-color 0.7s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Top 2 Flagship Districts span 6 columns (Golden-Ratio Wide Editorial Cards) */
.district-card:nth-child(1),
.district-card:nth-child(2) {
  grid-column: span 6;
  height: 240px;
}

.district-card-img {
  transition: filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.district-card:hover {
  transform: none;
  border-color: var(--emerald-400);
  box-shadow: var(--shadow-md);
}

.district-card:hover .district-card-img {
  transform: none;
  filter: brightness(1.07) contrast(1.03);
}

.district-card-overlay {
  background: linear-gradient(180deg, rgba(22, 24, 22, 0.05) 0%, rgba(22, 24, 22, 0.82) 100%);
  transition: background 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.district-card:hover .district-card-overlay {
  background: linear-gradient(180deg, rgba(22, 24, 22, 0.02) 0%, rgba(22, 24, 22, 0.68) 100%);
}

.district-name {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.district-card:nth-child(1) .district-name,
.district-card:nth-child(2) .district-name {
  font-size: 1.6rem;
}

.district-badge {
  background: rgba(29, 32, 28, 0.56);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(252, 251, 248, 0.2);
}

/* --- 4. Editorial Property Cards with Negative Space & Tactile Materials --- */
.content-grid {
  gap: 32px;
}

.property-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 24px;
  gap: 26px;
  margin-bottom: 24px;
  grid-template-columns: 300px minmax(0, 1fr);
  transition: border-color 0.65s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.65s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  animation: editorialFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.property-card:hover {
  transform: none;
  border-color: var(--emerald-400);
  box-shadow: var(--shadow-md);
}

.card-main-img {
  border-radius: 3px;
  transition: filter 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.property-card:hover .card-main-img {
  filter: brightness(1.04) contrast(1.02);
}

.card-badge {
  background: rgba(29, 32, 28, 0.68);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(216, 190, 138, 0.32);
  color: #FCFBF8;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.52rem;
  font-weight: 600;
  line-height: 1.26;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  transition: color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-title:hover {
  color: var(--emerald-600);
}

.card-highlights {
  background-color: var(--emerald-50);
  border-left: 2px solid var(--emerald-400);
  border-radius: 0 4px 4px 0;
  padding: 12px 16px;
}

.spec-pill {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  border-radius: 3px;
}

.current-price {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.cta-btn {
  background-color: var(--emerald-600);
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background-color 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-btn:hover {
  background-color: var(--navy-800);
}

/* Terracotta accent for Sale / Exclusive tags */
.badge-sale,
.leaflet-price-pin.pin-sale {
  background-color: var(--terracotta) !important;
  border-color: var(--terracotta) !important;
}

/* --- 5. Asymmetrical Editorial Footer News Grid --- */
.footer-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.footer-news-card {
  border-radius: 4px;
  border: 1px solid rgba(222, 215, 202, 0.16);
  background: rgba(35, 39, 34, 0.72);
  transition: border-color 0.65s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-news-card:first-child {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}

.footer-news-card:first-child .footer-news-img-wrap {
  height: 100%;
  min-height: 240px;
}

.footer-news-card:hover {
  transform: none;
  border-color: var(--emerald-400);
  background: rgba(48, 54, 47, 0.85);
}

.footer-news-img {
  transition: filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-news-card:hover .footer-news-img {
  transform: none;
  filter: brightness(1.06);
}

.footer-news-card-title {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  line-height: 1.32;
}

.footer-news-card:first-child .footer-news-card-title {
  font-size: 1.68rem;
}

@media (max-width: 1024px) {
  .district-card,
  .district-card:nth-child(1),
  .district-card:nth-child(2) {
    grid-column: span 6;
    height: 200px;
  }
  .footer-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-news-card:first-child {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .district-card,
  .district-card:nth-child(1),
  .district-card:nth-child(2) {
    grid-column: span 12;
    height: 185px;
  }
  .property-card {
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .footer-news-grid {
    grid-template-columns: 1fr;
  }
  .footer-news-card:first-child {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   15. Boutique Hospitality CTA & Understated Concierge Links
   ========================================================================== */
.price-box {
  gap: 0;
}

.price-period {
  margin-bottom: 16px;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

/* Single Dominant Primary Action: Restrained Deep Olive / Charcoal Green */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 13px 20px;
  background-color: #2C3A2E;
  color: #FCFBF8;
  border: 1px solid #2C3A2E;
  border-radius: 2px;
  box-shadow: none;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.55s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.55s cubic-bezier(0.16, 1, 0.3, 1), color 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-btn:hover {
  background-color: #1F2920;
  border-color: #1F2920;
  color: #FCFBF8;
  transform: none;
  box-shadow: none;
}

.cta-btn:focus-visible {
  outline: 2px solid var(--emerald-400);
  outline-offset: 2px;
}

.cta-arrow-icon {
  flex-shrink: 0;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-btn:hover .cta-arrow-icon {
  transform: translateX(3px);
}

/* Understated Secondary Contact Links (Zalo & WhatsApp) */
.card-contact-actions,
.modal-contact-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

.modal-contact-actions {
  border-top: none;
  margin-top: 4px;
  padding-top: 4px;
}

.btn-zalo,
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 10px;
  background-color: transparent !important;
  color: var(--text-secondary) !important;
  border: 1px solid transparent !important;
  border-radius: 2px !important;
  box-shadow: none !important;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.45s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-zalo:hover,
.btn-whatsapp:hover {
  background-color: var(--bg-subtle) !important;
  color: var(--text-primary) !important;
  border-color: var(--border-color) !important;
  transform: none !important;
}

.btn-zalo svg,
.btn-whatsapp svg {
  color: var(--emerald-600);
  flex-shrink: 0;
  transition: color 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-zalo:hover svg,
.btn-whatsapp:hover svg {
  color: var(--text-primary);
}

.contact-link-sep {
  color: var(--border-strong);
  font-size: 0.85rem;
  user-select: none;
}

/* Toast Notification Secondary Links */
.toast-contact-actions .btn-zalo,
.toast-contact-actions .btn-whatsapp {
  color: var(--emerald-300) !important;
  border: 1px solid rgba(216, 190, 138, 0.25) !important;
  padding: 5px 12px;
}

.toast-contact-actions .btn-zalo:hover,
.toast-contact-actions .btn-whatsapp:hover {
  background-color: rgba(252, 251, 248, 0.08) !important;
  color: #FCFBF8 !important;
}

/* Discrete Boutique Floating Concierge Bar */
.floating-contact-widget {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  left: 24px;
  bottom: 24px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 2px;
  box-shadow: 0 8px 24px rgba(29, 32, 28, 0.09);
  padding: 2px;
}

.float-contact-btn,
.float-zalo,
.float-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 14px;
  background: transparent !important;
  background-image: none !important;
  color: var(--text-secondary) !important;
  border: none !important;
  border-radius: 2px !important;
  box-shadow: none !important;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background-color 0.45s cubic-bezier(0.16, 1, 0.3, 1), color 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.float-contact-btn:hover,
.float-zalo:hover,
.float-whatsapp:hover {
  background: var(--bg-subtle) !important;
  background-image: none !important;
  color: var(--text-primary) !important;
  transform: none !important;
}

.float-contact-btn svg {
  color: var(--emerald-600);
}

.float-divider {
  width: 1px;
  height: 18px;
  background-color: var(--border-color);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .cta-btn {
    min-height: 48px;
  }
  .btn-zalo,
  .btn-whatsapp {
    min-height: 42px;
    padding: 8px 14px;
    font-size: 0.82rem;
  }
  .floating-contact-widget {
    left: 14px;
    bottom: 14px;
  }
}


/* ==========================================================================
   16. Mobile conversion layout (results first, filter sheet, full-screen modal)
   ========================================================================== */
.mobile-filter-btn,
.filter-sheet-close,
.filter-sheet-footer,
.modal-sticky-cta {
  display: none;
}

/* Hide the floating chat pill while any modal is open so it never covers a CTA */
body:has(.modal-backdrop:not(.hidden)) .floating-contact-widget,
body:has(.filter-card.is-open) .floating-contact-widget {
  display: none;
}

@media (max-width: 768px) {
  /* Search bar: location on its own row, selects two per row */
  .booking-search-bar {
    grid-template-columns: 1fr 1fr;
  }
  .booking-search-bar .search-field-location {
    grid-column: 1 / -1;
  }
  .booking-search-bar .search-submit-btn {
    grid-column: auto;
    min-height: 48px;
  }

  /* Listings before filters */
  .content-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .results-section {
    order: 1;
    width: 100%;
  }
  .filter-sidebar {
    order: 2;
    width: 100%;
  }

  .mobile-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    margin-bottom: 12px;
    padding: 12px 16px;
    background-color: var(--bg-surface);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-ui);
    font-size: 0.9rem;
    font-weight: 600;
    position: sticky;
    top: 8px;
    z-index: 30;
    box-shadow: var(--shadow-xs);
  }

  /* Filter card becomes a full-screen sheet */
  .filter-card {
    display: none;
  }
  .filter-card.is-open {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 250;
    border: 0;
    border-radius: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 84px;
  }
  .filter-card.is-open .filter-card-header {
    position: sticky;
    top: 0;
    z-index: 2;
    background-color: var(--bg-surface);
  }
  .filter-sheet-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: 4px;
    background: none;
    border: 0;
    font-size: 1.6rem;
    line-height: 1;
    color: var(--text-primary);
  }
  .filter-card.is-open .filter-sheet-footer {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
  }
  .filter-option {
    min-height: 44px;
  }

  /* Touch targets */
  .fav-btn {
    width: 44px;
    height: 44px;
  }

  /* Full-screen modals with a sticky booking bar */
  .modal-backdrop {
    padding: 0;
    align-items: stretch;
  }
  .modal-dialog {
    max-width: none;
    max-height: none;
    height: 100vh;
    height: 100dvh;
    border-radius: 0;
  }
  .modal-body {
    padding: 16px;
  }
  .modal-sticky-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    position: sticky;
    bottom: 0;
    z-index: 5;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.08);
  }
  .modal-sticky-price {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin-right: auto;
    line-height: 1.2;
  }
  .modal-sticky-price strong {
    font-size: 1.05rem;
    color: var(--text-primary);
  }
  .modal-sticky-price span {
    font-size: 0.72rem;
    color: var(--text-muted);
  }
  .modal-sticky-cta .cta-btn {
    width: auto;
    padding: 12px 16px;
    white-space: nowrap;
  }
  .modal-sticky-cta .btn-whatsapp {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 4px;
  }

  /* Toast spans the width instead of hanging off the right edge */
  .toast-notification {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
}
@media (max-width: 768px) {
  /* Shorter path to the first listing */
  .hero-banner {
    padding: 28px 0 64px;
  }
  .promo-banner {
    display: none; /* repeats the hero trust pills */
  }
  .brand-domain {
    font-size: 1.05rem;
  }
}

/* ==========================================================================
   17. Static pages generated by tools/generate.ps1 (/apartments, /da-nang, /guides)
   ========================================================================== */
.static-page .breadcrumbs {
  margin-top: 18px;
}
.sp-main {
  padding-top: 4px;
}
.sp-article {
  max-width: 1080px;
  margin: 0 auto;
}
.sp-guide {
  max-width: 760px;
}
.sp-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 500;
  line-height: 1.18;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.sp-kicker,
.sp-meta {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.sp-meta a {
  color: var(--emerald-700);
  text-decoration: underline;
}
.sp-lead {
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 18px;
}
.sp-h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 26px 0 10px;
}
.sp-text {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 14px;
}
.sp-bullet {
  padding-left: 16px;
  border-left: 2px solid var(--emerald-400);
}
.sp-list {
  margin: 0 0 8px 18px;
  list-style: disc;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.96rem;
}
.sp-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 26px;
}
.sp-gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 4px;
}
.sp-gallery img:first-child {
  grid-row: 1 / -1;
}
.sp-gallery img:nth-child(2) {
  grid-column: 2 / -1;
}
.sp-hero-img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 22px;
}
.sp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
  gap: 32px;
  align-items: start;
}
.sp-grid aside {
  position: sticky;
  top: 16px;
}
.sp-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.86rem;
}
.sp-cta {
  width: auto;
  display: inline-flex;
  margin-top: 10px;
}
.lead-form-status {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--emerald-700);
}
.lead-form-status.is-error {
  color: #9B2C2C;
}
.sp-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 22px;
}
.sp-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
}
.sp-card-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}
.sp-card-body {
  padding: 14px 16px 16px;
}
.sp-card-title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 6px;
}
.sp-card-title a {
  color: var(--text-primary);
}
.sp-card-specs,
.sp-card-price span {
  font-size: 0.84rem;
  color: var(--text-muted);
}
.sp-card-price {
  margin-top: 8px;
  color: var(--text-primary);
}

/* Crawlable link block in the homepage footer */
.static-links {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.static-links ul {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
.static-links li {
  margin-bottom: 6px;
}
.static-links a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
}
.static-links a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .sp-grid,
  .static-links {
    grid-template-columns: 1fr;
  }
  .sp-grid aside {
    position: static;
  }
  .sp-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .sp-gallery img:first-child {
    grid-row: auto;
    grid-column: 1 / -1;
  }
  .sp-gallery img:nth-child(2) {
    grid-column: auto;
  }
  .static-links a {
    display: inline-block;
    padding: 6px 0;
  }
}