/*
Theme Name: Nguoi Viet Florida
Theme URI: https://nguoivietflorida.com
Author: Nguoi Viet Florida
Description: Classifieds site for the Vietnamese community in Florida. Built on top of HivePress for Rentals and Jobs.
Version: 2.0.0
Text Domain: nguoivietflorida
Tags: classifieds, listings, rentals, jobs, vietnamese, florida
*/

/* ==========================================================================
   Brand variables — Florida warm palette
   --------------------------------------------------------------------------
   Sunset orange + cream + gold + ocean teal. Aliases keep --nvf-navy etc.
   pointing at warm equivalents so existing class rules don't have to be
   rewritten one-by-one.
   ========================================================================== */
:root {
  /* Florida warm brand */
  --nvf-sunset: #f97316;        /* sunset orange — primary brand */
  --nvf-sunset-dark: #c2410c;   /* deeper sunset for hover */
  --nvf-coral: #fb6f4d;         /* coral accent for CTAs */
  --nvf-coral-dark: #d94a30;
  --nvf-gold: #f5b942;          /* warm sunshine gold */
  --nvf-teal: #0d9488;          /* ocean teal — cool accent for trust */
  --nvf-teal-dark: #0f766e;

  /* Cream / sand surfaces */
  --nvf-cream: #fdf6e9;          /* page background — warm cream */
  --nvf-cream-soft: #fffbf2;
  --nvf-sand: #f5e8d0;            /* subtle warm surface */
  --nvf-card: #ffffff;            /* keep cards true white for contrast */

  /* Warm ink (text colors with brown undertones, not cold gray) */
  --nvf-ink: #2c1a0e;             /* deep warm brown */
  --nvf-ink-soft: #5e4632;
  --nvf-ink-mute: #927557;
  --nvf-border: #ecd9b5;          /* warm beige borders */
  --nvf-border-strong: #d8be90;

  /* Aliases — keep older rules working without rewriting every selector */
  --nvf-navy: var(--nvf-ink);                 /* "navy" usages now warm dark brown */
  --nvf-navy-dark: #1a0e07;
  --nvf-red: var(--nvf-coral);                /* "red" CTAs now coral */
  --nvf-red-dark: var(--nvf-coral-dark);
  --nvf-bg: var(--nvf-cream);

  /* Accent service colors */
  --nvf-zalo: #0068ff;
  --nvf-whatsapp: #25d366;
  --nvf-success: #16a34a;

  /* Shadows — warm tint */
  --nvf-shadow-sm: 0 1px 2px rgba(72,40,15,0.06);
  --nvf-shadow-md: 0 6px 18px rgba(72,40,15,0.10);
  --nvf-shadow-lg: 0 16px 40px rgba(72,40,15,0.14);
}

/* ==========================================================================
   Reset / base
   ========================================================================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--nvf-ink); background: var(--nvf-bg);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px; line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }

.nvf-container { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }

/* ==========================================================================
   Topbar
   ========================================================================== */
.nvf-topbar {
  background: linear-gradient(90deg, #f97316 0%, #ea580c 55%, #c2410c 100%);
  color: #fff; font-size: 13px; padding: 8px 0;
  box-shadow: 0 2px 0 rgba(245,185,66,0.4);
}
.nvf-topbar .nvf-container {
  display: flex; justify-content: space-between; align-items: center;
}
.nvf-topbar a { opacity: .92; color: #fff8e7; }
.nvf-topbar a:hover { opacity: 1; text-decoration: underline; color: #fff; }

@keyframes nvf-twinkle {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50%      { opacity: 1;   transform: scale(1.15); }
}

/* ==========================================================================
   Header
   ========================================================================== */
.nvf-header {
  background:
    radial-gradient(ellipse at 29% 44%, rgba(245,185,66,.28) 0%, rgba(245,185,66,.12) 22%, rgba(245,185,66,0) 52%),
    radial-gradient(ellipse at 38% 52%, rgba(251,111,77,.18) 0%, rgba(251,111,77,.07) 28%, rgba(251,111,77,0) 58%),
    linear-gradient(90deg, rgba(13,148,136,.08) 0%, rgba(255,251,242,0) 18%, rgba(255,251,242,0) 82%, rgba(13,148,136,.07) 100%),
    linear-gradient(180deg, #fffdf6 0%, #fff7e6 100%);
  border-bottom: 1px solid var(--nvf-border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 10px rgba(72,40,15,0.08);
  overflow: hidden;
}
.nvf-header::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: clamp(360px, 34vw, 620px);
  height: 150px;
  background: url('assets/images/header-florida-flourish-left.png') left bottom / contain no-repeat;
  opacity: .9;
  pointer-events: none;
  z-index: 0;
}
.nvf-header::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: clamp(360px, 34vw, 620px);
  height: 150px;
  background: url('assets/images/header-florida-flourish-right.png') right bottom / contain no-repeat;
  opacity: .9;
  pointer-events: none;
  z-index: 0;
}
.nvf-header-inner {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 28px; align-items: center;
  padding: 22px 20px;
  position: relative;
  z-index: 1;
}
.nvf-header-inner::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 50%;
  width: clamp(360px, 45vw, 600px);
  height: 92px;
  transform: translateY(-50%);
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(255,255,255,.78), rgba(255,255,255,.28) 46%, rgba(255,255,255,0) 72%),
    radial-gradient(ellipse at 58% 50%, rgba(245,185,66,.2), rgba(245,185,66,0) 70%);
  pointer-events: none;
}
.nvf-brand,
.nvf-header-search,
.nvf-header-actions {
  position: relative;
  z-index: 1;
}
.nvf-brand img { width: clamp(360px, 44vw, 520px); height: auto; }

.nvf-header-search {
  display: flex; max-width: 560px;
  border: 1px solid var(--nvf-border-strong);
  border-radius: 10px; overflow: hidden; background: var(--nvf-bg);
}
.nvf-header-search input {
  flex: 1; border: 0; background: transparent;
  padding: 11px 14px; font-size: 14px; outline: none;
}
.nvf-header-search button {
  background: var(--nvf-red); color: #fff; border: 0;
  padding: 0 22px; font-size: 14px; font-weight: 600;
}
.nvf-header-search button:hover { background: var(--nvf-red-dark); }

.nvf-header-actions {
  display: flex; align-items: center; gap: 14px;
}
.nvf-header-link { color: var(--nvf-ink-soft); font-size: 14px; font-weight: 600; }
.nvf-header-link:hover { color: var(--nvf-navy); }
.nvf-btn-post {
  background: var(--nvf-navy); color: #fff;
  padding: 11px 20px; border-radius: 10px;
  font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center; gap: 6px;
}
.nvf-btn-post:hover { background: var(--nvf-red); }

/* Category nav strip */
.nvf-catnav {
  background: #fff;
  border-top: 1px solid var(--nvf-border);
  position: relative;
  z-index: 1;
}
.nvf-catnav .nvf-container {
  display: flex; gap: 4px; align-items: center;
  overflow-x: auto;
}
.nvf-catnav a {
  padding: 13px 16px; font-size: 13px;
  color: var(--nvf-ink-soft); font-weight: 600;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nvf-catnav a:hover { color: var(--nvf-red); }
.nvf-catnav a.active { color: var(--nvf-red); border-bottom-color: var(--nvf-red); }
.nvf-soon-link { margin-left: auto; font-size: 12px; color: var(--nvf-ink-mute); white-space: nowrap; }

/* ==========================================================================
   Hero
   ========================================================================== */
.nvf-hero {
  background:
    /* Cream gradient — heavier on the LEFT so the H1 reads cleanly,
       fading to almost transparent on the right where the family scene sits */
    linear-gradient(100deg,
      rgba(253,246,233,0.96) 0%,
      rgba(253,246,233,0.88) 30%,
      rgba(253,246,233,0.55) 55%,
      rgba(253,246,233,0.18) 85%,
      rgba(253,246,233,0.00) 100%),
    /* Custom Vietnamese-Florida community illustration */
    url('assets/images/hero-community.jpg');
  /* 112% zoom — slightly tighter than cover, keeps the family scene prominent */
  background-size: 112% auto;
  background-position: center right;
  background-repeat: no-repeat;
  background-color: var(--nvf-cream);
  border-bottom: 1px solid var(--nvf-border);
  padding: 80px 0 64px;
  position: relative;
  min-height: 420px;
}
/* Soft sun glow drifting in from the upper right */
.nvf-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: 10%;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(249,180,80,0.55), rgba(249,115,22,0) 70%);
  filter: blur(24px);
  pointer-events: none;
}
.nvf-hero > .nvf-container { position: relative; z-index: 1; }
.nvf-eyebrow {
  color: var(--nvf-red);
  font-size: 13px; font-weight: 800;
  letter-spacing: .5px; text-transform: uppercase;
  margin-bottom: 12px;
}
.nvf-hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800; line-height: 1.15;
  color: var(--nvf-navy);
  max-width: 760px;
}
.nvf-hero h1 .nvf-h1-en {
  display: block; font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 500; color: var(--nvf-ink-mute);
  margin-top: 8px;
}

/* Search card */
.nvf-search-card {
  margin-top: 28px;
  background: var(--nvf-border);
  border: 1px solid var(--nvf-border-strong);
  border-radius: 14px; overflow: hidden;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr auto;
  gap: 1px; box-shadow: var(--nvf-shadow-md);
}
.nvf-search-field {
  background: #fff; padding: 10px 16px;
}
.nvf-search-field label {
  display: block; font-size: 11px;
  color: var(--nvf-ink-mute); font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px;
  margin-bottom: 2px;
}
.nvf-search-field select,
.nvf-search-field input {
  width: 100%; border: 0; outline: 0;
  background: transparent;
  font-size: 15px; font-weight: 500; color: var(--nvf-ink);
  padding: 0; appearance: none;
}
.nvf-search-card button {
  background: var(--nvf-red); color: #fff;
  border: 0; padding: 0 32px;
  font-size: 15px; font-weight: 700;
}
.nvf-search-card button:hover { background: var(--nvf-red-dark); }

/* ==========================================================================
   Main content
   ========================================================================== */
.nvf-main { padding: 48px 20px; }
.nvf-site-main { min-height: 50vh; }

/* Lead tiles (Rentals + Jobs) */
.nvf-lead-tiles {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  margin-bottom: 28px;
}
.nvf-lead-tile {
  position: relative; border-radius: 16px; overflow: hidden;
  aspect-ratio: 16/9; background-size: cover; background-position: center;
  box-shadow: var(--nvf-shadow-md);
  transition: transform .2s ease, box-shadow .2s ease;
}
.nvf-lead-tile:hover { transform: translateY(-2px); box-shadow: var(--nvf-shadow-lg); }
.nvf-lead-tile::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,40,74,.05), rgba(8,40,74,.55) 60%, rgba(8,40,74,.85));
}
.nvf-lead-tile-body {
  position: absolute; inset: auto 0 0 0; padding: 28px;
  color: #fff; z-index: 1;
}
.nvf-lead-vi { font-size: 28px; font-weight: 800; line-height: 1.1; }
.nvf-lead-en { font-size: 15px; opacity: .9; margin: 4px 0 14px; }
.nvf-lead-count {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.96); color: var(--nvf-navy);
  padding: 8px 16px; border-radius: 30px;
  font-size: 14px; font-weight: 700;
}
.nvf-lead-arrow { color: var(--nvf-red); }

/* Other categories chip row */
.nvf-other-cats {
  display: flex; flex-wrap: wrap; gap: 8px;
  align-items: center; padding: 14px 0;
  margin-bottom: 48px;
}
.nvf-other-cats-label {
  font-size: 13px; color: var(--nvf-ink-mute); font-weight: 600;
  margin-right: 4px;
}
.nvf-other-cat-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; background: #fff;
  border: 1px solid var(--nvf-border);
  border-radius: 20px; font-size: 13px;
  color: var(--nvf-ink-soft);
}
.nvf-soon-tag {
  font-size: 10px; background: var(--nvf-ink-mute);
  color: #fff; padding: 1px 6px; border-radius: 10px;
  font-weight: 700; text-transform: uppercase; letter-spacing: .3px;
}

/* Section heads */
.nvf-section { margin-bottom: 48px; }
.nvf-section-head {
  display: flex; align-items: end; justify-content: space-between;
  margin-bottom: 18px;
}
.nvf-section-head h2 {
  font-size: 22px; font-weight: 800; color: var(--nvf-navy);
}
.nvf-section-head h2 .nvf-en {
  color: var(--nvf-ink-mute); font-weight: 500; font-size: 16px;
}
.nvf-view-all { color: var(--nvf-red); font-size: 14px; font-weight: 700; }
.nvf-view-all:hover { text-decoration: underline; }

/* Empty state when HivePress is not yet active */
.nvf-empty-state {
  background: #fff; border: 2px dashed var(--nvf-border-strong);
  border-radius: 12px; padding: 40px 24px;
  text-align: center; color: var(--nvf-ink-mute);
}

/* ==========================================================================
   HivePress listing visual treatment
   --------------------------------------------------------------------------
   HivePress ships its own grid and layout CSS (grid.min.css + frontend.min.css)
   which uses .hp-row flex layout and .hp-col-sm-N column widths. We do NOT
   override those — we only paint the visual style on top: card background,
   border, hover, and our brand color tweaks.
   ========================================================================== */
.hp-listing.hp-listing--view-block {
  background: var(--nvf-card);
  border: 1px solid var(--nvf-border);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: transform .15s, box-shadow .15s, border-color .15s;
  height: 100%;
}
.hp-listing.hp-listing--view-block:hover {
  transform: translateY(-2px);
  box-shadow: var(--nvf-shadow-md);
  border-color: var(--nvf-border-strong);
}
.hp-listing.hp-listing--view-block .hp-listing__content {
  padding: 12px 14px 14px;
}
.hp-listing.hp-listing--view-block .hp-listing__title {
  font-size: 15px; font-weight: 600; color: var(--nvf-ink);
  line-height: 1.35; margin: 0 0 6px;
}
.hp-listing.hp-listing--view-block .hp-listing__title a { color: inherit; }
.hp-listing.hp-listing--view-block .hp-listing__title a:hover { color: var(--nvf-red); }
.hp-listing.hp-listing--view-block .hp-listing__attributes--primary {
  font-size: 18px; font-weight: 800; color: var(--nvf-navy);
}
.hp-listing.hp-listing--view-block .hp-listing__attributes--secondary,
.hp-listing.hp-listing--view-block .hp-listing__attributes--ternary {
  font-size: 12px; color: var(--nvf-ink-mute);
}
.hp-listing.hp-listing--view-block .hp-listing__featured-badge {
  background: var(--nvf-gold);
  color: var(--nvf-ink);
  font-size: 11px; font-weight: 800;
  padding: 4px 10px; border-radius: 4px;
  text-transform: uppercase; letter-spacing: .5px;
}

/* Single-listing page: bigger price + branded title */
.hp-listing--view-page .hp-listing__attributes--primary {
  font-size: 32px; font-weight: 800; color: var(--nvf-red);
}
.hp-listing--view-page .hp-listing__title {
  color: var(--nvf-navy); font-size: 28px; font-weight: 800;
}

/* Single-listing page: description rendered as a padded textbox so the
   long Vietnamese body copy doesn't sit flush against the page edge. */
.hp-listing--view-page .hp-listing__description {
  background: var(--nvf-card);
  border: 1px solid var(--nvf-border);
  border-radius: 12px;
  box-shadow: var(--nvf-shadow-sm);
  color: var(--nvf-ink);
  padding: 20px 24px;
  margin: 16px 0 24px;
  line-height: 1.7;
  font-size: 15px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.hp-listing--view-page .hp-listing__description p {
  margin: 0 0 12px;
}
.hp-listing--view-page .hp-listing__description p:last-child {
  margin-bottom: 0;
}
@media (max-width: 600px) {
  .hp-listing--view-page .hp-listing__description {
    padding: 16px 16px;
    margin: 12px 0 20px;
    border-radius: 10px;
  }
}

/* HivePress search form on archive — match our card style */
.hp-form {
  background: #fff;
  border: 1px solid var(--nvf-border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
}

/* HivePress account login page */
body.hp-template--user-login-page .nvf-site-main {
  background:
    linear-gradient(rgba(253,246,233,.76), rgba(253,246,233,.94)),
    url('assets/images/form-page-bg.jpg') center top / cover fixed no-repeat,
    var(--nvf-cream);
  min-height: 560px;
  padding: 0 0 72px;
}

body.hp-template--user-login-page .content-area,
body.hp-template--user-login-page .hp-page {
  float: none;
  margin-left: auto;
  margin-right: auto;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}

body.hp-template--user-login-page .hp-row {
  display: block;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
  width: 100%;
}

body.hp-template--user-login-page .hp-page__content {
  flex: 0 0 auto !important;
  flex-basis: auto !important;
  float: none;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 520px !important;
  padding-left: 0;
  padding-right: 0;
  width: min(520px, calc(100vw - 40px)) !important;
}

body.hp-template--user-login-page .hp-page__title {
  color: var(--nvf-ink);
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
  padding: 8px 0 30px;
  text-align: center;
}

body.hp-template--user-login-page .hp-form--user-login {
  background: rgba(255,255,255,.96);
  border: 1px solid var(--nvf-border);
  border-radius: 8px;
  box-shadow: var(--nvf-shadow-md);
  margin: 0;
  padding: 22px 16px 24px;
}

body.hp-template--user-login-page .hp-form--user-login .hp-form__fields {
  display: grid;
  gap: 16px;
  margin: 0 0 16px;
}

body.hp-template--user-login-page .hp-form--user-login .hp-form__field {
  margin: 0;
  position: relative;
}

body.hp-template--user-login-page .hp-form--user-login .hp-field__label {
  color: var(--nvf-ink);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
}

body.hp-template--user-login-page .hp-form--user-login .hp-field:not(.hp-field--submit) {
  background: #fff;
  border: 1px solid var(--nvf-border-strong);
  border-radius: 4px;
  box-shadow: none;
  color: var(--nvf-ink);
  font-size: 16px;
  min-height: 42px;
  padding: 8px 10px;
  width: 100%;
}

body.hp-template--user-login-page .hp-form--user-login .hp-field:focus {
  border-color: var(--nvf-coral);
  box-shadow: 0 0 0 2px rgba(251,111,77,.18);
  outline: 0;
}

body.hp-template--user-login-page .hp-form--user-login .hp-field__icon {
  color: var(--nvf-teal);
  right: 12px;
}

body.hp-template--user-login-page .hp-form--user-login .hp-form__button {
  background: var(--nvf-coral);
  border: 0;
  border-radius: 4px;
  box-shadow: none;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  min-height: 44px;
  text-shadow: none;
  width: 100%;
}

body.hp-template--user-login-page .hp-form--user-login .hp-form__button:hover,
body.hp-template--user-login-page .hp-form--user-login .hp-form__button:focus {
  background: var(--nvf-coral-dark);
  color: #fff;
}

body.hp-template--user-login-page .hp-form--user-login .hp-form__actions,
body.hp-template--user-login-page .hp-form--user-login .nvf-phone-login-hp-link {
  color: var(--nvf-ink-soft);
  font-size: 15px;
  line-height: 1.45;
  margin: 16px 0 0;
  text-align: center;
}

body.hp-template--user-login-page .hp-form--user-login .hp-form__action {
  display: block;
  margin: 0 0 8px;
}

body.hp-template--user-login-page .hp-form--user-login a {
  color: var(--nvf-teal);
  font-weight: 800;
  text-decoration: underline;
}

body.hp-template--user-login-page .hp-form--user-login .nvf-phone-login-hp-link {
  border-top: 1px solid var(--nvf-border);
  padding-top: 16px;
}

/* Shared auth modals opened from login/register/password links */
#user_login_modal,
#user_register_modal,
#user_password_request_modal {
  color: var(--nvf-ink);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

body.nvf-auth-modal-open::before,
body:has(#user_login_modal:target)::before,
body:has(#user_register_modal:target)::before,
body:has(#user_password_request_modal:target)::before {
  background: rgba(44, 26, 14, .48);
  content: '';
  inset: 0;
  position: fixed;
  z-index: 99998;
}

#user_login_modal:target,
#user_register_modal:target,
#user_password_request_modal:target,
#user_login_modal.nvf-auth-modal-target,
#user_register_modal.nvf-auth-modal-target,
#user_password_request_modal.nvf-auth-modal-target {
  background: rgba(255,255,255,.98);
  border: 1px solid var(--nvf-border);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(44,26,14,.28);
  display: block !important;
  left: 50%;
  margin: 0;
  max-height: calc(100vh - 40px);
  max-width: 520px;
  overflow: auto;
  padding: 28px 24px 26px;
  position: fixed;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(520px, calc(100vw - 40px));
  z-index: 99999;
}

.nvf-auth-modal-close {
  color: var(--nvf-teal);
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 10px auto;
  text-align: right;
  text-decoration: underline;
}

#user_login_modal .hp-modal__title,
#user_register_modal .hp-modal__title,
#user_password_request_modal .hp-modal__title {
  color: var(--nvf-ink);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 22px;
  text-align: center;
}

#user_login_modal .hp-form,
#user_register_modal .hp-form,
#user_password_request_modal .hp-form {
  background: transparent;
  border: 0;
  box-shadow: none;
  margin: 0;
  padding: 0;
}

#user_login_modal .hp-form__fields,
#user_register_modal .hp-form__fields,
#user_password_request_modal .hp-form__fields {
  display: grid;
  gap: 16px;
  margin: 0 0 16px;
}

#user_login_modal .hp-form__field,
#user_register_modal .hp-form__field,
#user_password_request_modal .hp-form__field {
  margin: 0;
  position: relative;
}

#user_login_modal .hp-field__label,
#user_register_modal .hp-field__label,
#user_password_request_modal .hp-field__label {
  color: var(--nvf-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 8px;
}

#user_login_modal .hp-field:not(.hp-field--submit),
#user_register_modal .hp-field:not(.hp-field--submit),
#user_password_request_modal .hp-field:not(.hp-field--submit) {
  background: #fff;
  border: 1px solid var(--nvf-border-strong);
  border-radius: 4px;
  box-shadow: none;
  color: var(--nvf-ink);
  font-size: 16px;
  min-height: 42px;
  padding: 8px 10px;
  width: 100%;
}

#user_login_modal .hp-field:focus,
#user_register_modal .hp-field:focus,
#user_password_request_modal .hp-field:focus {
  border-color: var(--nvf-coral);
  box-shadow: 0 0 0 2px rgba(251,111,77,.18);
  outline: 0;
}

#user_login_modal .hp-field__icon,
#user_register_modal .hp-field__icon,
#user_password_request_modal .hp-field__icon {
  color: var(--nvf-teal);
  right: 12px;
}

#user_login_modal .hp-form__button,
#user_register_modal .hp-form__button,
#user_password_request_modal .hp-form__button {
  background: var(--nvf-coral);
  border: 0;
  border-radius: 4px;
  box-shadow: none;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  min-height: 44px;
  text-shadow: none;
  width: 100%;
}

#user_login_modal .hp-form__button:hover,
#user_login_modal .hp-form__button:focus,
#user_register_modal .hp-form__button:hover,
#user_register_modal .hp-form__button:focus,
#user_password_request_modal .hp-form__button:hover,
#user_password_request_modal .hp-form__button:focus {
  background: var(--nvf-coral-dark);
  color: #fff;
}

#user_login_modal .hp-form__actions,
#user_login_modal .nvf-phone-login-hp-link,
#user_register_modal .hp-form__actions,
#user_password_request_modal .hp-form__description {
  color: var(--nvf-ink-soft);
  font-size: 15px;
  line-height: 1.45;
  margin: 16px 0 0;
  text-align: center;
}

#user_login_modal .hp-form__action,
#user_register_modal .hp-form__action {
  display: block;
  margin: 0 0 8px;
}

#user_login_modal a,
#user_register_modal a,
#user_password_request_modal a {
  color: var(--nvf-teal);
  font-weight: 800;
  text-decoration: underline;
}

#user_login_modal .nvf-phone-login-hp-link {
  border-top: 1px solid var(--nvf-border);
  padding-top: 16px;
}

/* Archive filters */
.nvf-listings-context .hp-page__header {
  display: none;
}
.nvf-listings-context .hp-page__sidebar {
  padding-top: 8px;
}
.nvf-listings-context .hp-widget--listing-filter {
  background:
    linear-gradient(180deg, rgba(255,248,235,.94), rgba(250,231,197,.88)),
    #fff8e9;
  border: 1px solid #ead6ad;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(46, 24, 8, .08);
  padding: 18px 20px;
}
.nvf-listings-context .hp-form--listing-filter {
  background: transparent;
  border: 0;
  box-shadow: none;
  margin: 0;
  padding: 0;
}
.nvf-listings-context .hp-form--listing-filter .hp-form__fields {
  display: grid;
  gap: 18px;
}
.nvf-listings-context .hp-form--listing-filter ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.nvf-listings-context .hp-form--listing-filter li {
  margin: 0;
}
.nvf-listings-context .hp-form--listing-filter li li {
  margin-top: 10px;
  padding-left: 22px;
}
.nvf-listings-context .hp-form--listing-filter label {
  align-items: center;
  color: var(--nvf-ink);
  display: flex;
  font-size: 16px;
  gap: 9px;
  line-height: 1.3;
}
.nvf-listings-context .hp-form--listing-filter .hp-field__label {
  color: var(--nvf-ink);
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.nvf-listings-context .hp-form--listing-filter input[type="radio"] {
  flex: 0 0 auto;
}
.nvf-listings-context .hp-form--listing-filter .hp-field--number-range {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.nvf-listings-context .hp-form--listing-filter input[type="number"],
.nvf-listings-context .hp-form--listing-filter input[type="text"],
.nvf-listings-context .hp-form--listing-filter select {
  background: #fff;
  border: 1px solid #d6c5a7;
  border-radius: 5px;
  box-shadow: 0 3px 10px rgba(46, 24, 8, .08);
  color: var(--nvf-ink);
  font: inherit;
  min-height: 38px;
  padding: 7px 10px;
  width: 100%;
}
.nvf-listings-context .hp-form--listing-filter .hp-form__footer {
  margin-top: 18px;
}
.nvf-listings-context .hp-form--listing-filter .hp-form__button {
  background: linear-gradient(180deg, #ef7156, #d9573d);
  border: 0;
  border-radius: 5px;
  color: #fff;
  font-weight: 700;
  min-height: 38px;
  width: 100%;
}
.nvf-listings-context .hp-form--listing-filter .hp-form__button:hover {
  background: var(--nvf-red-dark);
}

/* ==========================================================================
   Listing submit form
   ========================================================================== */
body:has(.hp-form--listing-submit) {
  background:
    linear-gradient(rgba(255,248,233,.18), rgba(255,248,233,.44)),
    url('assets/images/form-page-bg.jpg') center top / cover no-repeat fixed,
    #fdf6e9;
}
body:has(.hp-form--listing-submit) .nvf-site-main {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 6vw, 78px) 20px 72px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.24), rgba(255,255,255,.04) 42%, rgba(255,255,255,.18));
}
body:has(.hp-form--listing-submit) .nvf-site-main::before,
body:has(.hp-form--listing-submit) .nvf-site-main::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: clamp(74px, 9vw, 132px);
  background: url('assets/images/form-header-border.jpg') center / cover no-repeat;
  opacity: .34;
  pointer-events: none;
}
body:has(.hp-form--listing-submit) .nvf-site-main::before {
  top: 0;
}
body:has(.hp-form--listing-submit) .nvf-site-main::after {
  bottom: 0;
  transform: rotate(180deg);
}
body:has(.hp-form--listing-submit) .hp-page__title {
  display: none;
}
.hp-form--listing-submit {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: clamp(20px, 3vw, 32px);
  border: 2px solid rgba(44, 92, 98, .72);
  border-radius: 22px;
  background:
    linear-gradient(rgba(255,251,242,.94), rgba(255,251,242,.95)),
    repeating-linear-gradient(90deg, rgba(216,190,144,.18) 0 1px, transparent 1px 6px),
    repeating-linear-gradient(0deg, rgba(216,190,144,.14) 0 1px, transparent 1px 6px);
  box-shadow:
    0 26px 55px rgba(72,40,15,.18),
    inset 0 0 0 6px rgba(255,255,255,.52);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
.hp-form--listing-submit::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(13,148,136,.42);
  border-radius: 16px;
  pointer-events: none;
}
.hp-form--listing-submit .hp-form__header {
  position: relative;
  margin: 0 0 18px;
  padding: 4px 6px 2px;
}
.nvf-submit-intro {
  max-width: 760px;
}
.nvf-submit-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--nvf-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nvf-submit-kicker::before {
  content: '';
  width: 22px;
  height: 22px;
  background: url('assets/images/icons/decor-hibiscus.png') center / contain no-repeat;
}
.nvf-submit-intro h1 {
  margin: 6px 0 4px;
  color: #102044;
  font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1.12;
  font-weight: 800;
}
.nvf-submit-intro p {
  color: var(--nvf-ink-soft);
  font-size: 15px;
}
.hp-form--listing-submit .hp-form__fields {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.hp-form--listing-submit .hp-form__field {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 12px;
  border: 1px solid rgba(216,190,144,.85);
  border-radius: 10px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 10px 22px rgba(72,40,15,.09);
}
.hp-form--listing-submit .hp-form__field:has(select[name="categories"]),
.hp-form--listing-submit .hp-form__field:has(input[name="title"]),
.hp-form--listing-submit .hp-form__field:has(.hp-field--attachment-upload),
.hp-form--listing-submit .hp-form__field:has(select[name="thanh_pho_city"]),
.hp-form--listing-submit .hp-form__field:has(input[name="gia_price"]),
.hp-form--listing-submit .hp-form__field:has(input[name="dien_thoai_phone"]),
.hp-form--listing-submit .hp-form__field:has(input[name="zalo"]),
.hp-form--listing-submit .hp-form__field:has(input[name="whatsapp"]),
.hp-form--listing-submit .hp-form__field:has(input[name="phong_ngu_bedrooms"]),
.hp-form--listing-submit .hp-form__field:has(input[name="phong_tam_bathrooms"]),
.hp-form--listing-submit .hp-form__field:has(input[name="dien_tich_sqft"]) {
  padding-top: 54px;
}
.hp-form--listing-submit .hp-form__field:has(select[name="categories"]) {
  grid-column: span 4;
  order: 10;
}
.hp-form--listing-submit .hp-form__field:has(input[name="title"]) {
  grid-column: span 8;
  order: 11;
}
.hp-form--listing-submit .hp-form__field:has(textarea[name="description"]) {
  grid-column: 1 / -1;
  order: 12;
}
.hp-form--listing-submit .hp-form__field:has(.hp-field--attachment-upload) {
  grid-column: span 8;
  order: 20;
}
.hp-form--listing-submit .hp-form__field:has(select[name="thanh_pho_city"]) {
  grid-column: span 4;
  order: 21;
}
.hp-form--listing-submit .hp-form__field:has(input[name="gia_price"]),
.hp-form--listing-submit .hp-form__field:has(input[name="phong_ngu_bedrooms"]),
.hp-form--listing-submit .hp-form__field:has(input[name="phong_tam_bathrooms"]),
.hp-form--listing-submit .hp-form__field:has(input[name="dien_tich_sqft"]) {
  grid-column: span 3;
  order: 30;
}
.hp-form--listing-submit .hp-form__field:has(input[name="dien_thoai_phone"]),
.hp-form--listing-submit .hp-form__field:has(input[name="zalo"]),
.hp-form--listing-submit .hp-form__field:has(input[name="whatsapp"]) {
  grid-column: span 3;
  order: 40;
}
.hp-form--listing-submit .hp-form__field:has(select[name="categories"])::before,
.hp-form--listing-submit .hp-form__field:has(.hp-field--attachment-upload)::before,
.hp-form--listing-submit .hp-form__field:has(input[name="gia_price"])::before {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  color: #102044;
  font-size: clamp(13px, 1.15vw, 15px);
  line-height: 1.2;
  font-weight: 800;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(216,190,144,.7);
}
.hp-form--listing-submit .hp-form__field:has(select[name="categories"])::before {
  content: 'Nội dung / Content Details';
}
.hp-form--listing-submit .hp-form__field:has(.hp-field--attachment-upload)::before {
  content: 'Hình & vị trí / Media & Location';
}
.hp-form--listing-submit .hp-form__field:has(input[name="gia_price"])::before {
  content: 'Liên hệ & giá / Contact & Price';
}
.hp-form--listing-submit .hp-field__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 22px;
  margin: 0 0 8px;
  color: var(--nvf-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}
.hp-form--listing-submit .hp-field__label small {
  color: var(--nvf-ink-mute);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.hp-form--listing-submit .hp-form__field:has([required]) .hp-field__label span::after {
  content: ' *';
  color: var(--nvf-red);
  font-weight: 900;
}
.hp-form--listing-submit .hp-field:not(.hp-field--attachment-upload):not(.hp-field--button):not(.hp-field--file),
.hp-form--listing-submit textarea.hp-field {
  width: 100%;
  height: 44px;
  min-height: 44px;
  border: 1px solid #e7b5a4;
  border-radius: 9px;
  background: #fff;
  color: var(--nvf-ink);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 11px 12px;
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.75),
    0 0 0 0 rgba(251,111,77,0);
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.hp-form--listing-submit select.hp-field {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #102044 50%),
    linear-gradient(135deg, #102044 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 34px;
}
.hp-form--listing-submit textarea.hp-field {
  min-height: 132px;
  height: auto;
  resize: vertical;
}
.hp-form--listing-submit .hp-field:focus {
  border-color: var(--nvf-red);
  box-shadow: 0 0 0 4px rgba(251,111,77,.16), 0 7px 18px rgba(72,40,15,.08);
}
.hp-form--listing-submit .hp-form__field--attachment-upload .hp-field--attachment-upload {
  position: relative;
  flex: 1;
  min-height: 230px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 2px dashed rgba(251,111,77,.72);
  border-radius: 14px;
  background:
    url('assets/images/form-upload-dropzone.jpg') center 40% / 330px auto no-repeat,
    linear-gradient(135deg, #fff4ed, #fffdf8);
}
.hp-form--listing-submit .hp-form__field--attachment-upload .hp-field--attachment-upload::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,251,242,.82);
  pointer-events: none;
}
.hp-form--listing-submit .hp-form__field--attachment-upload .hp-row,
.hp-form--listing-submit .hp-form__field--attachment-upload .hp-form__messages {
  width: 100%;
}
.hp-form--listing-submit .hp-form__field--attachment-upload .hp-field--attachment-upload > label {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  gap: 7px;
  text-align: center;
  width: 100%;
  min-height: 100%;
}
.hp-form--listing-submit .hp-form__field--attachment-upload .hp-field--attachment-upload > label::before {
  content: 'Drop Zone';
  color: var(--nvf-ink);
  font-family: inherit;
  font-size: 20px;
  line-height: 1.1;
  font-weight: 800;
  margin-top: 78px;
}
.hp-form--listing-submit .hp-form__field--attachment-upload .hp-field--attachment-upload > label::after {
  content: 'Kéo thả hình hoặc bấm để chọn / Drag images here or select';
  max-width: 340px;
  color: var(--nvf-ink-soft);
  font-family: inherit;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
}
.hp-form--listing-submit .hp-form__field--attachment-upload .hp-field--button {
  border: 0;
  border-radius: 999px;
  background: var(--nvf-red);
  color: #fff;
  padding: 9px 18px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(251,111,77,.28);
  margin-top: 0;
}
.hp-form--listing-submit .hp-form__field--attachment-upload .hp-field--file {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.hp-form--listing-submit .hp-form__field:has(select[name="thanh_pho_city"])::after {
  content: '';
  display: block;
  flex: 1;
  min-height: 184px;
  margin-top: 12px;
  border-radius: 12px;
  border: 1px solid rgba(13,148,136,.22);
  background: url('assets/images/form-florida-map.jpg') center / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.5);
}
.hp-form--listing-submit .hp-form__footer {
  display: flex;
  justify-content: center;
  padding: 20px 0 2px;
}
.hp-form--listing-submit .hp-form__button {
  min-width: min(280px, 100%);
  border: 2px solid rgba(245,185,66,.88);
  border-radius: 999px;
  background: linear-gradient(180deg, #fb8a68 0%, #e56545 100%);
  color: #fff;
  padding: 14px 26px;
  font-size: 17px;
  font-weight: 800;
  box-shadow:
    0 12px 24px rgba(216,74,48,.32),
    inset 0 1px 0 rgba(255,255,255,.38);
}
.hp-form--listing-submit .hp-form__button:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #f97356 0%, #d94a30 100%);
}

/* ==========================================================================
   Listing edit form — mirrors the polished submit form without changing
   HivePress behavior.
   ========================================================================== */
body:has(.hp-form--listing-update) {
  background:
    linear-gradient(rgba(255,248,233,.18), rgba(255,248,233,.44)),
    url('assets/images/form-page-bg.jpg') center top / cover no-repeat fixed,
    #fdf6e9;
}
body:has(.hp-form--listing-update) .nvf-site-main {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 6vw, 78px) 20px 72px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.24), rgba(255,255,255,.04) 42%, rgba(255,255,255,.18));
}
body:has(.hp-form--listing-update) .nvf-site-main::before,
body:has(.hp-form--listing-update) .nvf-site-main::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: clamp(74px, 9vw, 132px);
  background: url('assets/images/form-header-border.jpg') center / cover no-repeat;
  opacity: .34;
  pointer-events: none;
}
body:has(.hp-form--listing-update) .nvf-site-main::before { top: 0; }
body:has(.hp-form--listing-update) .nvf-site-main::after {
  bottom: 0;
  transform: rotate(180deg);
}
body:has(.hp-form--listing-update) .content-area,
body:has(.hp-form--listing-update) .hp-page,
body:has(.hp-form--listing-update) .hp-page__content {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  max-width: 1120px;
  margin: 0 auto;
}
body:has(.hp-form--listing-update) .hp-page__title {
  display: none;
}
body:has(.hp-form--listing-update) .hp-menu--listing-manage {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 0 auto 14px;
  padding: 0 6px;
}
body:has(.hp-form--listing-update) .hp-menu--listing-manage ul,
body:has(.hp-form--listing-update) .hp-listing__actions,
body:has(.hp-form--listing-update) .hp-listing__actions--primary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
body:has(.hp-form--listing-update) .hp-menu--listing-manage a,
body:has(.hp-form--listing-update) .hp-listing__actions a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(216,190,144,.85);
  border-radius: 999px;
  background: rgba(255,255,255,.84);
  color: var(--nvf-ink);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(72,40,15,.08);
}
body:has(.hp-form--listing-update) .hp-menu--listing-manage .current-menu-item a,
body:has(.hp-form--listing-update) .hp-menu--listing-manage a:hover,
body:has(.hp-form--listing-update) .hp-listing__actions a:hover {
  border-color: rgba(251,111,77,.55);
  background: #fff7ed;
  color: var(--nvf-red-dark);
}
.hp-form--listing-update {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: clamp(20px, 3vw, 32px);
  border: 2px solid rgba(44, 92, 98, .72);
  border-radius: 22px;
  background:
    linear-gradient(rgba(255,251,242,.94), rgba(255,251,242,.95)),
    repeating-linear-gradient(90deg, rgba(216,190,144,.18) 0 1px, transparent 1px 6px),
    repeating-linear-gradient(0deg, rgba(216,190,144,.14) 0 1px, transparent 1px 6px);
  box-shadow:
    0 26px 55px rgba(72,40,15,.18),
    inset 0 0 0 6px rgba(255,255,255,.52);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
.hp-form--listing-update::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(13,148,136,.42);
  border-radius: 16px;
  pointer-events: none;
}
.hp-form--listing-update .hp-form__header {
  position: relative;
  margin: 0 0 18px;
  padding: 4px 6px 2px;
}
.hp-form--listing-update .hp-form__fields {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.hp-form--listing-update .hp-form__field {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 12px;
  border: 1px solid rgba(216,190,144,.85);
  border-radius: 10px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 10px 22px rgba(72,40,15,.09);
}
.hp-form--listing-update .hp-form__field:has(input[name="title"]),
.hp-form--listing-update .hp-form__field:has(.hp-field--attachment-upload),
.hp-form--listing-update .hp-form__field:has(select[name="thanh_pho_city"]),
.hp-form--listing-update .hp-form__field:has(input[name="gia_price"]),
.hp-form--listing-update .hp-form__field:has(input[name="dien_thoai_phone"]),
.hp-form--listing-update .hp-form__field:has(input[name="zalo"]),
.hp-form--listing-update .hp-form__field:has(input[name="whatsapp"]),
.hp-form--listing-update .hp-form__field:has(input[name="phong_ngu_bedrooms"]),
.hp-form--listing-update .hp-form__field:has(input[name="phong_tam_bathrooms"]),
.hp-form--listing-update .hp-form__field:has(input[name="dien_tich_sqft"]) {
  padding-top: 54px;
}
.hp-form--listing-update .hp-form__field:has(input[name="title"]) {
  grid-column: span 8;
  order: 10;
}
.hp-form--listing-update .hp-form__field:has(textarea[name="description"]) {
  grid-column: 1 / -1;
  order: 11;
}
.hp-form--listing-update .hp-form__field:has(.hp-field--attachment-upload) {
  grid-column: span 8;
  order: 20;
}
.hp-form--listing-update .hp-form__field:has(select[name="thanh_pho_city"]) {
  grid-column: span 4;
  order: 21;
}
.hp-form--listing-update .hp-form__field:has(input[name="gia_price"]),
.hp-form--listing-update .hp-form__field:has(input[name="phong_ngu_bedrooms"]),
.hp-form--listing-update .hp-form__field:has(input[name="phong_tam_bathrooms"]),
.hp-form--listing-update .hp-form__field:has(input[name="dien_tich_sqft"]) {
  grid-column: span 3;
  order: 30;
}
.hp-form--listing-update .hp-form__field:has(input[name="dien_thoai_phone"]),
.hp-form--listing-update .hp-form__field:has(input[name="zalo"]),
.hp-form--listing-update .hp-form__field:has(input[name="whatsapp"]) {
  grid-column: span 3;
  order: 40;
}
.hp-form--listing-update .hp-form__field:has(input[name="title"])::before,
.hp-form--listing-update .hp-form__field:has(.hp-field--attachment-upload)::before,
.hp-form--listing-update .hp-form__field:has(input[name="gia_price"])::before {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  color: #102044;
  font-size: clamp(13px, 1.15vw, 15px);
  line-height: 1.2;
  font-weight: 800;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(216,190,144,.7);
}
.hp-form--listing-update .hp-form__field:has(input[name="title"])::before {
  content: 'Nội dung / Content Details';
}
.hp-form--listing-update .hp-form__field:has(.hp-field--attachment-upload)::before {
  content: 'Hình & vị trí / Media & Location';
}
.hp-form--listing-update .hp-form__field:has(input[name="gia_price"])::before {
  content: 'Liên hệ & giá / Contact & Price';
}
.hp-form--listing-update .hp-field__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 22px;
  margin: 0 0 8px;
  color: var(--nvf-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}
.hp-form--listing-update .hp-field__label small {
  color: var(--nvf-ink-mute);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.hp-form--listing-update .hp-form__field:has([required]) .hp-field__label span::after {
  content: ' *';
  color: var(--nvf-red);
  font-weight: 900;
}
.hp-form--listing-update .hp-field:not(.hp-field--attachment-upload):not(.hp-field--button):not(.hp-field--file),
.hp-form--listing-update textarea.hp-field {
  width: 100%;
  height: 44px;
  min-height: 44px;
  border: 1px solid #e7b5a4;
  border-radius: 9px;
  background: #fff;
  color: var(--nvf-ink);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 11px 12px;
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.75),
    0 0 0 0 rgba(251,111,77,0);
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.hp-form--listing-update select.hp-field {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #102044 50%),
    linear-gradient(135deg, #102044 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 34px;
}
.hp-form--listing-update textarea.hp-field {
  min-height: 132px;
  height: auto;
  resize: vertical;
}
.hp-form--listing-update .hp-field:focus {
  border-color: var(--nvf-red);
  box-shadow: 0 0 0 4px rgba(251,111,77,.16), 0 7px 18px rgba(72,40,15,.08);
}
.hp-form--listing-update .hp-form__field--attachment-upload .hp-field--attachment-upload {
  position: relative;
  flex: 1;
  min-height: 230px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 2px dashed rgba(251,111,77,.72);
  border-radius: 14px;
  background:
    url('assets/images/form-upload-dropzone.jpg') center 40% / 330px auto no-repeat,
    linear-gradient(135deg, #fff4ed, #fffdf8);
}
.hp-form--listing-update .hp-form__field--attachment-upload .hp-field--attachment-upload::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,251,242,.82);
  pointer-events: none;
}
.hp-form--listing-update .hp-form__field--attachment-upload .hp-row,
.hp-form--listing-update .hp-form__field--attachment-upload .hp-form__messages {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hp-form--listing-update .hp-form__field--attachment-upload .hp-field--attachment-upload > label {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  gap: 7px;
  text-align: center;
  width: 100%;
  min-height: 100%;
}
.hp-form--listing-update .hp-form__field--attachment-upload .hp-field--attachment-upload > label::before {
  content: 'Drop Zone';
  color: var(--nvf-ink);
  font-family: inherit;
  font-size: 20px;
  line-height: 1.1;
  font-weight: 800;
  margin-top: 78px;
}
.hp-form--listing-update .hp-form__field--attachment-upload .hp-field--attachment-upload > label::after {
  content: 'Kéo thả hình hoặc bấm để chọn / Drag images here or select';
  max-width: 340px;
  color: var(--nvf-ink-soft);
  font-family: inherit;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
}
.hp-form--listing-update .hp-form__field--attachment-upload .hp-field--button {
  border: 0;
  border-radius: 999px;
  background: var(--nvf-red);
  color: #fff;
  padding: 9px 18px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(251,111,77,.28);
  margin-top: 0;
}
.hp-form--listing-update .hp-form__field--attachment-upload .hp-field--file {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.hp-form--listing-update .hp-form__field:has(select[name="thanh_pho_city"])::after {
  content: '';
  display: block;
  flex: 1;
  min-height: 184px;
  margin-top: 12px;
  border-radius: 12px;
  border: 1px solid rgba(13,148,136,.22);
  background: url('assets/images/form-florida-map.jpg') center / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.5);
}
.hp-form--listing-update .hp-form__footer {
  display: flex;
  justify-content: center;
  padding: 20px 0 2px;
}
.hp-form--listing-update .hp-form__button,
.hp-form--listing-update .hp-field--submit,
.hp-form--listing-update .hp-form__footer button,
.hp-form--listing-update .hp-form__footer input[type="submit"],
.hp-form--listing-update button[type="submit"] {
  min-width: min(280px, 100%);
  border: 2px solid rgba(245,185,66,.88) !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #fb8a68 0%, #e56545 100%) !important;
  color: #fff !important;
  padding: 14px 26px !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  box-shadow:
    0 12px 24px rgba(216,74,48,.32),
    inset 0 1px 0 rgba(255,255,255,.38) !important;
}
.hp-form--listing-update .hp-form__button:hover,
.hp-form--listing-update .hp-field--submit:hover,
.hp-form--listing-update .hp-form__footer button:hover,
.hp-form--listing-update .hp-form__footer input[type="submit"]:hover,
.hp-form--listing-update button[type="submit"]:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #f97356 0%, #d94a30 100%) !important;
}

/* ==========================================================================
   Custom illustrated assets — generated by Nano Banana, extracted from
   assets-sheet 2.png. Located at /assets/images/icons/.
   ========================================================================== */

/* Featured badge — replace HivePress's default Featured badge with our gold-star illustration */
.hp-listing__featured-badge {
  width: 56px; height: 56px;
  background-image: url('assets/images/icons/badge-featured.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: transparent !important;
  text-indent: -9999px;       /* Hide HivePress's text "Featured" — image conveys it */
  border: none !important;
  padding: 0 !important;
  position: absolute;
  top: 8px; left: 8px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(72,40,15,0.15);
  border-radius: 12px;
}

/* Listing image placeholder — when poster doesn't upload a photo, HivePress's
   default is a flat SVG. We swap in our illustrated camera placeholder. */
.hp-listing__image img[src*="placeholders/image-landscape"],
.hp-listing__image img[src*="placeholder"] {
  opacity: 0;   /* Hide HivePress's default placeholder SVG */
}
.hp-listing__image:has(img[src*="placeholders/image-landscape"]),
.hp-listing__image:has(img[src*="placeholder"]) {
  background-image: url('assets/images/icons/placeholder-camera.png');
  background-size: cover;
  background-position: center;
  background-color: var(--nvf-cream);
}

/* Empty state — when archive has no listings, show the hammock illustration */
.nvf-empty-state-illustrated {
  text-align: center;
  padding: 48px 24px;
  background: var(--nvf-card);
  border: 1px solid var(--nvf-border);
  border-radius: 14px;
}
.nvf-empty-state-illustrated img {
  max-width: 420px;
  width: 80%;
  height: auto;
  margin: 0 auto 20px;
  display: block;
}
.nvf-empty-state-illustrated h3 {
  color: var(--nvf-navy);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
}
.nvf-empty-state-illustrated p {
  color: var(--nvf-ink-mute);
  font-size: 15px;
  max-width: 480px;
  margin: 0 auto;
}

/* ==========================================================================
   Report button + flash
   ========================================================================== */
.nvf-report-row { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--nvf-border); text-align: center; }
.nvf-report-link { color: var(--nvf-ink-mute); font-size: 13px; }
.nvf-report-link:hover { color: var(--nvf-red); }

.nvf-flash {
  background: #f0fdf4; border: 1px solid #bbf7d0;
  color: #15803d; padding: 12px 16px;
  border-radius: 10px; margin: 16px 0;
  font-weight: 600;
}

/* ==========================================================================
   Page (static pages)
   ========================================================================== */
.nvf-page-shell {
  width: min(860px, calc(100% - 40px)); margin: 48px auto;
  background: #fff; border: 1px solid var(--nvf-border);
  border-radius: 12px; padding: clamp(28px, 5vw, 48px);
}
.nvf-page-shell h1 { color: var(--nvf-navy); font-size: clamp(28px, 5vw, 42px); margin-bottom: 16px; }
.nvf-page-content p { color: var(--nvf-ink-soft); margin-bottom: 14px; }
.nvf-page-content a { color: var(--nvf-red); font-weight: 700; }

/* ==========================================================================
   Footer
   ========================================================================== */
.nvf-footer {
  background: var(--nvf-navy-dark); color: #f1ddbf;
  padding: 48px 0 0; margin-top: 48px;
  /* Subtle warm gradient overlay so the bottom of the page feels like sunset, not corporate dark */
  background-image:
    radial-gradient(ellipse at top, rgba(249,115,22,0.10), transparent 60%),
    linear-gradient(180deg, var(--nvf-navy-dark), #110803);
}
.nvf-footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; padding: 0 20px;
}
.nvf-footer h4 {
  color: var(--nvf-gold); font-size: 13px;
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 14px;
}
.nvf-footer ul { list-style: none; padding: 0; margin: 0; }
.nvf-footer li { margin-bottom: 8px; font-size: 14px; }
.nvf-footer li a { color: #f1ddbf; }
.nvf-footer li a:hover { color: var(--nvf-gold); }
.nvf-footer-brand p { font-size: 13px; line-height: 1.6; max-width: 320px; color: #d4b896; }
.nvf-footer-bottom {
  margin-top: 32px; padding: 20px;
  border-top: 1px solid rgba(245,185,66,.18);
  font-size: 12px; color: #b89868;
  display: flex; justify-content: space-between;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .nvf-header-inner { grid-template-columns: 1fr auto; row-gap: 12px; }
  .nvf-header-search { grid-column: 1 / -1; order: 3; max-width: none; }
  .nvf-search-card { grid-template-columns: 1fr; }
  .nvf-lead-tiles { grid-template-columns: 1fr; }
  .nvf-footer-inner { grid-template-columns: 1fr 1fr; }
  .hp-form--listing-submit .hp-form__fields { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .hp-form--listing-submit .hp-form__field:has(select[name="categories"]),
  .hp-form--listing-submit .hp-form__field:has(input[name="title"]),
  .hp-form--listing-submit .hp-form__field:has(textarea[name="description"]),
  .hp-form--listing-submit .hp-form__field:has(.hp-field--attachment-upload),
  .hp-form--listing-submit .hp-form__field:has(select[name="thanh_pho_city"]) {
    grid-column: 1 / -1;
  }
  .hp-form--listing-submit .hp-form__field:has(input[name="gia_price"]),
  .hp-form--listing-submit .hp-form__field:has(input[name="phong_ngu_bedrooms"]),
  .hp-form--listing-submit .hp-form__field:has(input[name="phong_tam_bathrooms"]),
  .hp-form--listing-submit .hp-form__field:has(input[name="dien_tich_sqft"]),
  .hp-form--listing-submit .hp-form__field:has(input[name="dien_thoai_phone"]),
  .hp-form--listing-submit .hp-form__field:has(input[name="zalo"]),
  .hp-form--listing-submit .hp-form__field:has(input[name="whatsapp"]) {
    grid-column: span 3;
  }
}
@media (max-width: 620px) {
  .nvf-topbar { font-size: 11px; }
  .nvf-topbar .nvf-container { gap: 8px; }
  .nvf-header::before {
    height: 118px;
    width: min(52vw, 280px);
  }
  .nvf-header::after {
    height: 118px;
    width: min(52vw, 280px);
  }
  .nvf-hero { padding: 32px 0 24px; }
  .nvf-footer-inner { grid-template-columns: 1fr; }
  body:has(.hp-form--listing-submit) .nvf-site-main { padding: 20px 12px 52px; }
  body:has(.hp-form--listing-submit) { background-attachment: scroll; }
  .hp-form--listing-submit { padding: 16px; border-radius: 16px; }
  .hp-form--listing-submit::before { inset: 7px; border-radius: 12px; }
  .hp-form--listing-submit .hp-form__fields { grid-template-columns: 1fr; gap: 12px; }
  .hp-form--listing-submit .hp-form__field,
  .hp-form--listing-submit .hp-form__field:has(input[name="gia_price"]),
  .hp-form--listing-submit .hp-form__field:has(input[name="phong_ngu_bedrooms"]),
  .hp-form--listing-submit .hp-form__field:has(input[name="phong_tam_bathrooms"]),
  .hp-form--listing-submit .hp-form__field:has(input[name="dien_tich_sqft"]),
  .hp-form--listing-submit .hp-form__field:has(input[name="dien_thoai_phone"]),
  .hp-form--listing-submit .hp-form__field:has(input[name="zalo"]),
  .hp-form--listing-submit .hp-form__field:has(input[name="whatsapp"]) {
    grid-column: 1 / -1;
  }
  .hp-form--listing-submit .hp-form__field:has(input[name="title"]),
  .hp-form--listing-submit .hp-form__field:has(select[name="thanh_pho_city"]),
  .hp-form--listing-submit .hp-form__field:has(input[name="phong_ngu_bedrooms"]),
  .hp-form--listing-submit .hp-form__field:has(input[name="phong_tam_bathrooms"]),
  .hp-form--listing-submit .hp-form__field:has(input[name="dien_tich_sqft"]) {
    padding-top: 14px;
  }
  .hp-form--listing-submit .hp-form__field:has(select[name="categories"])::before,
  .hp-form--listing-submit .hp-form__field:has(.hp-field--attachment-upload)::before,
  .hp-form--listing-submit .hp-form__field:has(input[name="gia_price"])::before {
    font-size: 18px;
  }
}
