/*
Theme Name: Flatsome Child
Theme URI: https://staydananghomes.com/
Description: Custom Child Theme for Stay Da Nang Homes - Real Estate & Vacation Rentals in Da Nang (Properly.vn inspired)
Author: Stay Da Nang Team
Author URI: https://staydananghomes.com/
Template: flatsome
Version: 2.9.8
Text Domain: flatsome-child
*/

/* ==========================================================================
   0. GLOBAL TYPOGRAPHY & DESIGN TOKENS (VIETNAMESE ENHANCED)
   ========================================================================== */
:root {
  --stay-font-main: 'Be Vietnam Pro', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --stay-font-heading: 'Be Vietnam Pro', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --stay-primary: #12345B;       /* Deep Navy */
  --stay-primary-dark: #0A223E;
  --stay-accent: #F5AD24;        /* Properly Warm Gold / Orange */
  --stay-accent-hover: #E09812;
  --stay-whatsapp: #25D366;
  --stay-bg: #F7F9FC;
  --stay-cream: #EEF4FA;
  --stay-text: #12345B;
  --stay-muted: #64748B;
  --stay-line: #DCE5EF;
  --stay-card-bg: #FFFFFF;
  --stay-radius-sm: 8px;
  --stay-radius-md: 14px;
  --stay-radius-lg: 20px;
  --stay-shadow-sm: 0 2px 10px rgba(18, 52, 91, 0.05);
  --stay-shadow-md: 0 8px 25px rgba(18, 52, 91, 0.08);
  --stay-shadow-lg: 0 16px 40px rgba(18, 52, 91, 0.12);
}

html, body, p, input, select, textarea, button, span, a, li, label {
  font-family: var(--stay-font-main) !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  text-rendering: optimizeLegibility !important;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  color: var(--stay-text);
}

h1, h2, h3, h4, h5, h6, .nav > li > a, .stay-section-h2, .stay-hero-h1 {
  font-family: var(--stay-font-heading) !important;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--stay-primary);
}


/* Hide default flatsome generic footer widgets/sockets to keep clean Stay Da Nang footer */
.footer-wrapper, #footer {
  display: none !important;
}

/* Prevent any duplicate custom footers */
.stay-custom-footer ~ .stay-custom-footer,
.stay-custom-footer + .stay-custom-footer {
  display: none !important;
}

/* ==========================================================================
   1. FLATSOME CONSTITUTION RULE #4: HEADER & DROPDOWN OVERFLOW SAFETY & STICKY
   ========================================================================== */
.header-nav, 
.nav-dropdown, 
.header-wrapper, 
#masthead {
  overflow: visible !important;
}

#masthead {
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
  background: #FFFFFF !important;
  box-shadow: 0 1px 6px rgba(18, 52, 91, 0.08);
  transition: all 0.2s ease;
}

.nav-dropdown {
  border-radius: var(--stay-radius-sm);
  box-shadow: var(--stay-shadow-md);
  border: 1px solid var(--stay-line);
}

/* ==========================================================================
   1.1 HEADER ACTIONS PILL (COMPACT LOCATION & MULTI-CURRENCY SWITCHER)
   ========================================================================== */
.stay-header-actions-item {
  display: inline-flex !important;
  align-items: center !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 auto !important;
}

.stay-header-actions-pill {
  display: inline-flex !important;
  align-items: center !important;
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 9999px !important;
  padding: 4px 10px !important;
  box-shadow: 0 2px 8px rgba(18, 52, 91, 0.06) !important;
  gap: 4px !important;
  position: relative !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  width: auto !important;
}

.stay-action-pill-btn {
  background: transparent !important;
  border: 0 !important;
  padding: 5px 8px !important;
  border-radius: 9999px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #12345B !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  outline: none !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.stay-cur-loc-label {
  white-space: nowrap !important;
  display: inline-block !important;
}

.stay-action-pill-btn:hover {
  background: #F1F5F9 !important;
  color: #EA580C !important;
}

.stay-action-pill-btn svg {
  stroke: currentColor;
  flex-shrink: 0;
}

.stay-pill-divider {
  width: 1px;
  height: 16px;
  background: #E2E8F0;
  margin: 0 2px;
  flex-shrink: 0;
}


.stay-dropdown-wrap {
  position: relative;
}

.stay-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 210px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  box-shadow: 0 10px 32px rgba(18, 52, 91, 0.14);
  padding: 6px;
  z-index: 99999;
  display: none;
  flex-direction: column;
  gap: 2px;
}


.stay-dropdown-menu.open {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 999999 !important;
  animation: stayDropAnim 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes stayDropAnim {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stay-dropdown-header {
  font-size: 10px;
  font-weight: 800;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 10px;
}

.stay-cur-item, 
.stay-loc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 8px;
  border: 0;
  background: transparent;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  color: #1E293B;
  font-size: 13px;
  box-sizing: border-box;
}

.stay-cur-item:hover, 
.stay-loc-item:hover {
  background: #F8FAFC;
  color: #EA580C;
}

.stay-cur-item.active, 
.stay-loc-item.active {
  background: #FFF7ED;
  color: #EA580C;
  font-weight: 700;
}

.stay-cur-item.active::after,
.stay-loc-item.active::after {
  content: "✓";
  font-weight: 800;
  font-size: 13px;
  color: #EA580C;
}

.stay-cur-flag {
  font-size: 16px;
  margin-right: 8px;
}

.stay-cur-info {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-grow: 1;
}

.stay-cur-info small {
  font-size: 11px;
  color: #94A3B8;
  font-weight: normal;
}

.stay-loc-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: #ECFDF5;
  color: #059669;
}

.stay-badge-muted {
  background: #F1F5F9;
  color: #94A3B8;
}

.stay-loc-item.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}


/* ==========================================================================
   2. SEARCHBAR CONTAINER & WIDGET (PROPERLY STYLE - PREMIUM REDESIGN)
   ========================================================================== */
.stay-searchbar-container {
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  padding: 0 15px;
}

.stay-searchbar {
  display: grid;
  grid-template-columns: 1.25fr 1.15fr 1.15fr 1.15fr 150px;
  gap: 0;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(18, 52, 91, 0.18), 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 8px 8px 8px 12px;
  border: 1px solid rgba(220, 229, 239, 0.85);
  align-items: center;
}

.stay-filter-col {
  padding: 10px 16px;
  border-right: 1px solid #E2E8F0;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background 0.15s ease;
  border-radius: 12px;
}

.stay-filter-col:hover {
  background: #F8FAFC;
}

.stay-filter-col small {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  color: #64748B;
  text-transform: uppercase;
  margin-bottom: 4px;
  display: block;
}

.stay-select {
  border: 0 !important;
  background: transparent url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 4px center !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #12345B !important;
  padding: 0 20px 0 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
  outline: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  width: 100% !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stay-filter-btn-col {
  border-right: 0;
  padding: 4px;
  border-radius: 12px;
}

.stay-search-btn {
  background: linear-gradient(135deg, #F5AD24 0%, #EA580C 100%) !important;
  color: #FFFFFF !important;
  border: 0 !important;
  border-radius: 12px !important;
  height: 52px;
  width: 100%;
  padding: 0 20px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.28) !important;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.stay-search-btn:hover {
  background: linear-gradient(135deg, #EA580C 0%, #C2410C 100%) !important;
  transform: translateY(-1px) scale(1.01) !important;
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.35) !important;
}

.stay-search-btn svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}


/* ==========================================================================
   3. DISTRICT FILTER PILLS (ADAPTIVE GRID & RESPONSIVE SLIDE)
   ========================================================================== */
.stay-districts-wrapper {
  width: 100%;
  margin-bottom: 24px;
  position: relative;
}

.stay-districts-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  width: 100%;
  padding: 4px 0 12px;
}

.stay-district-pill {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  background: #FFFFFF;
  border: 1px solid var(--stay-line);
  border-radius: var(--stay-radius-md);
  text-align: left;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stay-district-pill:hover {
  border-color: var(--stay-accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(18, 52, 91, 0.08);
}

.stay-district-pill.active {
  background: var(--stay-primary);
  border-color: var(--stay-primary);
  box-shadow: 0 4px 14px rgba(18, 52, 91, 0.2);
}

.stay-district-pill .stay-pill-name {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--stay-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.stay-district-pill .stay-pill-count {
  display: block;
  font-size: 11px;
  color: var(--stay-muted);
  margin-top: 4px;
  font-weight: 500;
  white-space: nowrap;
}

.stay-district-pill.active .stay-pill-name {
  color: #FFFFFF;
}

.stay-district-pill.active .stay-pill-count {
  color: #FBBF24;
  font-weight: 600;
}

@media (max-width: 900px) {
  .stay-districts-bar {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
  }
  .stay-districts-bar::-webkit-scrollbar {
    display: none;
  }
  .stay-district-pill {
    flex: 0 0 160px;
    width: 160px;
  }
}


/* ==========================================================================
   4. PROPERTY CARDS & 4-COLUMN GRID (PROPERLY.VN DESIGN)
   ========================================================================== */
.stay-grid-header {
  margin-bottom: 20px;
}

.stay-grid-title {
  font-family: var(--stay-font-display), 'Be Vietnam Pro', sans-serif !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  margin: 0 0 4px 0 !important;
  letter-spacing: -0.02em !important;
}

.stay-grid-sub {
  font-size: 14px !important;
  color: #64748B !important;
  margin: 0 !important;
  font-weight: 500 !important;
}

.stay-home-grid {
  display: grid;
  gap: 20px;
  transition: opacity 0.2s ease;
  grid-template-columns: repeat(4, 1fr);
}

.stay-home-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.stay-home-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.stay-home-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.stay-home-card {
  background: #FFFFFF;
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(18, 52, 91, 0.05);
  border: 1px solid #E2E8F0;
}

.stay-home-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(18, 52, 91, 0.12);
  border-color: #CBD5E1;
}

.stay-home-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #E2E8F0;
}

.stay-home-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.stay-home-card:hover .stay-home-image img {
  transform: scale(1.05);
}

/* Badges Top Left */
.stay-card-badges-top-left {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  gap: 6px;
}

.stay-badge-partner {
  background: #FFFFFF;
  color: #EA580C;
  font-weight: 700;
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #FFEDD5;
}

.stay-badge-units {
  background: #EA580C;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Actions Top Right */
.stay-card-actions-top-right {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: flex;
  gap: 6px;
}

.stay-card-action-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  padding: 0;
}

.stay-card-action-btn:hover {
  transform: scale(1.1);
  background: #FFFFFF;
  color: #EA580C;
}

.stay-card-action-btn.active {
  color: #EF4444;
  fill: #EF4444;
}

/* Verified Badge Bottom Left */
.stay-badge-verified {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 2;
  background: #FFFFFF;
  color: #16A34A;
  font-weight: 700;
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Carousel Dots */
.stay-card-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  z-index: 2;
}

.stay-card-dots .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
}

.stay-card-dots .dot.active {
  background: #FFFFFF;
  width: 14px;
  border-radius: 4px;
}

/* Card Body */
.stay-home-info {
  padding: 14px 16px 12px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.stay-price {
  font-size: 16px;
  color: #EA580C !important;
  margin: 0 0 6px 0 !important;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.stay-price-from {
  font-size: 13px;
  color: #EA580C !important;
  font-weight: 600;
}

.stay-price strong {
  font-size: 18px;
  font-weight: 800;
  color: #EA580C !important;
  letter-spacing: -0.01em;
}

.stay-price-unit {
  font-size: 13px;
  color: #EA580C !important;
  font-weight: 600;
  opacity: 0.88;
}


.stay-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 8px 0 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}

.stay-title a {
  color: #1E293B;
  text-decoration: none;
  transition: color 0.15s ease;
}

.stay-title a:hover {
  color: #EA580C;
}

.stay-card-specs {
  font-size: 12px;
  color: #64748B;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.stay-card-meta-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: #64748B;
  padding-top: 6px;
  border-top: 1px dashed #F1F5F9;
}

.stay-card-loc {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.stay-card-freshness {
  color: #059669;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

/* Card Footer Sub-Bar */
.stay-card-footer {
  border-top: 1px solid #F1F5F9;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  background: #FAFAFA;
}

.stay-avail-status {
  color: #16A34A;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
}

.stay-avail-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16A34A;
}

.stay-view-home-link {
  color: #475569;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  transition: color 0.15s ease;
}

.stay-view-home-link:hover {
  color: #EA580C;
}

.stay-multi-footer {
  background: #FFF7ED !important;
  color: #EA580C !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  justify-content: space-between;
  display: flex;
  transition: background 0.15s ease;
}

.stay-multi-footer:hover {
  background: #FFEDD5 !important;
}

/* ==========================================================================
   4.1 "SHOW ALL" BUTTON COMPONENT
   ========================================================================== */
.stay-show-all-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 32px 0 16px;
  width: 100%;
}

.stay-btn-show-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: #FFFFFF;
  color: #0F172A !important;
  font-size: 14px;
  font-weight: 700;
  border: 1.5px solid #E2E8F0;
  border-radius: 9999px;
  text-decoration: none !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.stay-btn-show-all:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(18, 52, 91, 0.14);
  border-color: #0F172A;
  background: #0F172A;
  color: #FFFFFF !important;
}

.stay-btn-show-all svg {
  transition: transform 0.2s ease;
}

.stay-btn-show-all:hover svg {
  transform: translateX(3px);
  stroke: #FFFFFF;
}



/* ==========================================================================
   5. 4 STEPS HOW RENTING WORKS
   ========================================================================== */
.stay-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.stay-step-card {
  background: #FFFFFF;
  border: 1px solid var(--stay-line);
  border-radius: var(--stay-radius-md);
  padding: 28px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.stay-step-card:hover {
  border-color: var(--stay-accent);
  transform: translateY(-2px);
}

.stay-step-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--stay-accent);
  letter-spacing: 0.1em;
}

.stay-step-card h3 {
  font-size: 17px;
  margin: 20px 0 10px 0 !important;
}

.stay-step-card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--stay-muted);
  margin: 0 !important;
}

/* ==========================================================================
   6. WHY STAY DA NANG (NAVY TRUST BOX)
   ========================================================================== */
.stay-trust-banner {
  background: var(--stay-primary);
  border-radius: var(--stay-radius-lg);
  padding: 60px 48px;
  color: #FFFFFF;
  margin: 20px auto;
  box-shadow: var(--stay-shadow-lg);
}

.stay-trust-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.stay-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--stay-accent);
  text-transform: uppercase;
}

.stay-trust-left h2 {
  color: #FFFFFF !important;
  font-size: 32px;
  line-height: 1.15;
  margin-top: 12px !important;
}

.stay-trust-points {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.stay-point-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.stay-point-item strong {
  display: block;
  font-size: 15px;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.stay-point-item p {
  font-size: 13px;
  color: #CBD5E1;
  line-height: 1.5;
  margin: 0 !important;
}

/* ==========================================================================
   7. TESTIMONIALS SLIDER SECTION (FLATSOME FLICKITY 3 PER VIEW)
   ========================================================================== */
.stay-testimonials-section {
  max-width: 1140px;
  margin: 0 auto;
  padding: 20px 0;
}

.stay-testi-header {
  margin-bottom: 20px;
}

.stay-testi-slider-wrap {
  margin: 0 -10px;
}

.stay-testi-slider-wrap .slider > .stay-testi-col {
  width: 33.33333% !important;
  max-width: 33.33333% !important;
  flex: 0 0 33.33333% !important;
  padding: 10px 10px;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .stay-testi-slider-wrap .slider > .stay-testi-col {
    width: 50% !important;
    max-width: 50% !important;
    flex: 0 0 50% !important;
  }
}

@media (max-width: 768px) {
  .stay-testi-slider-wrap .slider > .stay-testi-col {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
}

.stay-testimonial-card {
  background: #FFFFFF;
  border: 1px solid var(--stay-line);
  border-radius: var(--stay-radius-md);
  padding: 30px 24px;
  box-shadow: var(--stay-shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
  height: 100%;
  box-sizing: border-box;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stay-testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--stay-shadow-md);
}



.stay-testi-stars {
  color: var(--stay-accent);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.stay-testimonial-card blockquote {
  font-size: 14px;
  line-height: 1.6;
  color: var(--stay-primary);
  font-style: italic;
  margin: 0 0 20px 0 !important;
  padding: 0 !important;
  border: 0 !important;
  flex-grow: 1;
}

.stay-testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stay-testi-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.stay-testi-author strong {
  display: block;
  font-size: 14px;
  color: var(--stay-primary);
}

.stay-testi-author span {
  font-size: 12px;
  color: var(--stay-muted);
}



/* ==========================================================================
   8. FAQ ACCORDION SECTION
   ========================================================================== */
.stay-faq-wrapper {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: flex-start;
}

.stay-faq-left p {
  color: var(--stay-muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 14px 0 24px 0 !important;
}

.stay-faq-btn {
  display: inline-block;
  color: var(--stay-accent);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.stay-faq-btn:hover {
  transform: translateX(4px);
}

.stay-accordion {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--stay-line);
}

.stay-acc-item {
  border-bottom: 1px solid var(--stay-line);
  padding: 18px 0;
}

.stay-acc-item summary {
  font-size: 16px;
  font-weight: 700;
  color: var(--stay-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stay-acc-item summary::-webkit-details-marker {
  display: none;
}

.stay-acc-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--stay-accent);
}

.stay-acc-item[open] summary::after {
  content: "−";
}

.stay-acc-content {
  margin-top: 12px;
}

.stay-acc-content p {
  color: var(--stay-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 !important;
}

/* ==========================================================================
   9. CUSTOM FOOTER (WHITE BACKGROUND & FULL WIDTH)
   ========================================================================== */
.stay-custom-footer {
  background: #FFFFFF !important;
  color: var(--stay-text);
  padding: 70px 20px 0;
  margin-top: 0;
  border-top: 1px solid var(--stay-line);
  width: 100% !important;
  box-sizing: border-box;
}

.stay-footer-container {
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
}

.stay-custom-footer .stay-footer-container:first-child {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 50px;
}

@media (max-width: 992px) {
  .stay-custom-footer .stay-footer-container:first-child {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 576px) {
  .stay-custom-footer .stay-footer-container:first-child {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}


.stay-footer-brand {
  display: block;
  margin-bottom: 16px;
}

.stay-footer-logo-img {
  height: 58px !important;
  max-height: 64px !important;
  width: auto !important;
  max-width: 340px !important;
  object-fit: contain;
  display: block;
  margin-bottom: 18px !important;
  transition: transform 0.2s ease;
}

.stay-footer-logo-img:hover {
  transform: scale(1.03);
}

/* Header Container Height & Breathing Room */
#masthead .header-main {
  min-height: 90px;
}

#masthead .header-main .header-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  overflow: visible !important;
}

.stay-header-logo-img {
  height: 48px;
  max-height: 52px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
}

#logo, .header-logo {
  display: flex !important;
  align-items: center !important;
  margin-right: 25px !important;
  flex: 0 0 270px !important;
  min-width: 270px !important;
  max-width: 280px !important;
}

#logo a, .header-logo a {
  display: inline-flex !important;
  align-items: center !important;
  width: 100% !important;
}

#masthead .flex-col.hide-for-medium.flex-right {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex: 0 0 auto !important;
  min-width: 240px !important;
  overflow: visible !important;
}

/* Hide unstyled raw flatsome menu items to prevent duplicate overlapping rendering */
#masthead .header-nav > li:not(.stay-header-actions-item),
#masthead .nav-main {
  display: none !important;
}




.stay-footer-tagline {

  color: var(--stay-muted);
  font-size: 13px;
  line-height: 1.6;
  margin: 14px 0 20px 0 !important;
  max-width: 380px;
}

.stay-footer-contact p {
  color: var(--stay-text);
  font-size: 13px;
  margin: 0 0 8px 0 !important;
}

.stay-footer-col h4 {
  color: var(--stay-primary) !important;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 20px 0 !important;
}

.stay-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stay-footer-col ul li a {
  color: var(--stay-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s ease;
}

.stay-footer-bottom {
  border-top: 1px solid #E2E8F0;
  padding: 24px 0;
  margin-top: 10px;
  width: 100%;
}

.stay-footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.stay-footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
}

.stay-footer-copy {
  font-size: 13px;
  color: #64748B;
  font-weight: 500;
  white-space: nowrap;
}

.stay-footer-legal-link {
  font-size: 13px;
  color: #64748B;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.stay-footer-legal-link:hover {
  color: var(--stay-primary);
  text-decoration: underline;
}

.stay-footer-socials {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.stay-social-btn {
  color: #64748B;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease, transform 0.15s ease;
  text-decoration: none;
}

.stay-social-btn:hover {
  color: var(--stay-primary);
  transform: translateY(-2px);
}



/* ==========================================================================
   10. FLOATING QUICK CONTACT SPEED DIAL (WhatsApp, Zalo, FB, Hotline)
   ========================================================================== */
.stay-speed-dial {
  position: fixed !important;
  right: 22px !important;
  bottom: 24px !important;
  z-index: 999999 !important;
  display: block !important;
  pointer-events: none !important;
}

.stay-speed-dial-trigger {
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;
  background: #25D366 !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45) !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
  outline: none !important;
  padding: 0 !important;
  pointer-events: auto !important;
  z-index: 10 !important;
}

.stay-speed-dial-trigger:hover {
  transform: scale(1.08) !important;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.6) !important;
}

.stay-speed-dial.active .stay-speed-dial-trigger {
  background: #0F172A !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.4) !important;
}

.stay-speed-dial-icon-open {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.stay-speed-dial-icon-close {
  display: none !important;
  color: #FFFFFF !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

.stay-speed-dial.active .stay-speed-dial-icon-open {
  display: none !important;
}

.stay-speed-dial.active .stay-speed-dial-icon-close {
  display: block !important;
}

/* Speed Dial Menu (Positioned Absolute so it never blocks clicks when closed) */
.stay-speed-dial-menu {
  position: absolute !important;
  bottom: 68px !important;
  right: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 10px !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(16px) scale(0.95) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  pointer-events: none !important;
  width: max-content !important;
}

.stay-speed-dial.active .stay-speed-dial-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
  pointer-events: auto !important;
}

/* Speed Dial Item */
.stay-speed-dial-item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
  transition: transform 0.2s ease !important;
  cursor: pointer !important;
  pointer-events: none !important;
}

.stay-speed-dial.active .stay-speed-dial-item {
  pointer-events: auto !important;
}

.stay-speed-dial-item:hover {
  transform: translateX(-4px) !important;
}

.stay-speed-dial-label {
  background: #1E293B !important;
  color: #FFFFFF !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  padding: 7px 14px !important;
  border-radius: 9999px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2) !important;
  letter-spacing: 0.02em !important;
}

.stay-speed-dial-icon {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18) !important;
  flex-shrink: 0 !important;
  transition: transform 0.2s ease !important;
}

.stay-speed-dial-item:hover .stay-speed-dial-icon {
  transform: scale(1.1) !important;
}

/* AI Concierge Widget Placement & Window Layering */
.stay-ai-widget {
  position: fixed !important;
  bottom: 90px !important;
  right: 22px !important;
  z-index: 99999 !important;
  pointer-events: auto !important;
}

.stay-ai-launcher {
  pointer-events: auto !important;
  cursor: pointer !important;
}

#stay-ai-window {
  z-index: 9999999 !important;
}

@media (max-width: 768px) {
  .stay-speed-dial {
    right: 16px !important;
    bottom: 20px !important;
  }
  .stay-speed-dial-trigger {
    width: 50px !important;
    height: 50px !important;
  }
  .stay-speed-dial-icon {
    width: 40px !important;
    height: 40px !important;
  }
  .stay-speed-dial-label {
    font-size: 11.5px !important;
    padding: 5px 12px !important;
  }
  .stay-ai-widget {
    bottom: 80px !important;
    right: 16px !important;
  }
}

/* ==========================================================================
   11. MOBILE & TABLET RESPONSIVE TWEAKS (FLATSOME CONSTITUTION RULE #5)
   ========================================================================== */
@media (max-width: 1024px) {
  .stay-home-grid,
  .stay-home-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .stay-testimonial-slide {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width: 768px) {
  .stay-searchbar {
    grid-template-columns: 1fr 1fr;
    padding: 10px;
    gap: 8px;
  }
  .stay-filter-col {
    border-right: 0;
    border-bottom: 1px solid var(--stay-line);
    padding: 8px;
  }
  .stay-filter-btn-col {
    grid-column: span 2;
    border-bottom: 0;
  }
  .stay-home-grid,
  .stay-home-grid.cols-4,
  .stay-home-grid.cols-3 {
    grid-template-columns: 1fr;
  }
  .stay-testimonial-slide {
    flex: 0 0 100%;
  }
  .stay-steps-grid {
    grid-template-columns: 1fr;
  }
  .stay-trust-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .stay-trust-banner {
    padding: 36px 24px;
  }
  .stay-faq-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .stay-footer-bottom-inner {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .stay-footer-bottom-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .stay-floaters {
    right: 16px;
    bottom: 20px;
  }
  .stay-float-btn {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 500px) {
  .stay-searchbar {
    grid-template-columns: 1fr;
    padding: 8px;
    gap: 6px;
  }
  .stay-filter-btn-col {
    grid-column: 1 / -1;
  }
  .stay-hero-title {
    font-size: 26px !important;
    line-height: 1.25 !important;
  }
  .stay-hero-subtitle {
    font-size: 14px !important;
  }
  .stay-section-title {
    font-size: 22px !important;
  }
}

/* ==========================================================================
   12. MAIN NAVIGATION MENU (HEADER CENTER)
   ========================================================================== */
.stay-center-col {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 1 1 auto !important;
  margin: 0 15px !important;
}

.stay-header-nav-main {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto !important;
  z-index: 100 !important;
}

.stay-nav-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.stay-nav-item {
  position: relative !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.stay-nav-link {
  font-family: var(--stay-font-display), 'Be Vietnam Pro', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--stay-primary) !important;
  text-decoration: none !important;
  padding: 7px 13px !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
  line-height: 1.3 !important;
}




.stay-nav-link:hover {
  background: #F1F5F9 !important;
  color: var(--stay-accent) !important;
}

/* Submenu Dropdown */
.stay-nav-sub {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  min-width: 240px !important;
  background: #FFFFFF !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 36px rgba(18, 52, 91, 0.16) !important;
  border: 1px solid #E2E8F0 !important;
  padding: 8px !important;
  list-style: none !important;
  margin: 8px 0 0 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(8px) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  z-index: 9999 !important;
}

.stay-nav-item:hover .stay-nav-sub {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

.stay-nav-sub li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.stay-nav-sub li a {
  font-family: var(--stay-font-body), 'Be Vietnam Pro', sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: var(--stay-text) !important;
  padding: 9px 14px !important;
  border-radius: 8px !important;
  display: block !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
  white-space: nowrap !important;
}

.stay-nav-sub li a:hover {
  background: #F8FAFC !important;
  color: var(--stay-primary) !important;
  padding-left: 18px !important;
}

@media (max-width: 992px) {
  .stay-header-nav-main {
    display: none !important;
  }
}

/* ==========================================================================
   13. TOP BAR BRAND STYLING (SINGLE LINE & HIGH CONTRAST)
   ========================================================================== */
#top-bar {
  background: #0B192C !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  padding: 6px 0 !important;
  min-height: 38px !important;
  font-family: var(--stay-font-body), 'Be Vietnam Pro', sans-serif !important;
}

#top-bar .flex-row,
#top-bar .header-inner {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
}

#top-bar .flex-left,
#top-bar .flex-right {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
}

.stay-topbar-left,
.stay-topbar-right {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  font-size: 13px !important;
  color: #F8FAFC !important;
  letter-spacing: -0.01em !important;
  white-space: nowrap !important;
  flex-wrap: nowrap !important;
}

.stay-topbar-addr {
  color: #E2E8F0 !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
}

.stay-topbar-left a,
.stay-topbar-right a {
  color: #FFFFFF !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
}

.stay-topbar-hotline strong {
  color: #FBBF24 !important;
  font-weight: 700 !important;
  text-shadow: 0 0 12px rgba(251, 191, 36, 0.3) !important;
}

.stay-topbar-hotline:hover {
  color: #FBBF24 !important;
  text-decoration: underline !important;
}

.stay-topbar-trust {
  background: rgba(245, 173, 36, 0.18) !important;
  color: #FDE68A !important;
  border: 1px solid rgba(245, 173, 36, 0.35) !important;
  padding: 3px 10px !important;
  border-radius: 6px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  white-space: nowrap !important;
}

.stay-topbar-sep {
  color: rgba(255, 255, 255, 0.35) !important;
  font-size: 12px !important;
}

.stay-topbar-icon {
  margin-right: 3px !important;
}

.stay-topbar-email:hover {
  color: #38BDF8 !important;
  text-decoration: underline !important;
}

#top-bar,
#top-bar a,
#top-bar span,
#top-bar li,
#top-bar div,
.stay-topbar-mobile-inner,
.stay-topbar-mobile-link,
.stay-topbar-mobile-link span {
  color: #FFFFFF !important;
}

#top-bar strong,
.stay-topbar-hotline strong,
.stay-topbar-mobile-link strong {
  color: #FBBF24 !important;
}

.stay-topbar-mobile-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  padding: 3px 0 !important;
  text-align: center !important;
  overflow: hidden !important;
}

.stay-topbar-mobile-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  color: #FFFFFF !important;
  text-decoration: none !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  line-height: 1.2 !important;
}

.stay-topbar-mobile-tagline {
  color: #E2E8F0 !important;
  font-weight: 500 !important;
}

@media (max-width: 400px) {
  .stay-topbar-mobile-tagline,
  .stay-topbar-mobile-link .stay-topbar-sep {
    display: none !important;
  }
}

@media (max-width: 900px) {
  .stay-topbar-right {
    display: none !important;
  }
}

/* ==========================================================================
   14. ARCHIVE PROPERTY PAGE & SUB-PAGE CONTAINER SPACING
   ========================================================================== */
.stay-archive-wrapper .container,
.post-type-archive-property #main,
.stay-container {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 768px) {
  .stay-archive-wrapper .container,
  .post-type-archive-property #main,
  .stay-container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}




.stay-archive-wrapper {
  background: #F8FAFC;
  min-height: 80vh;
  width: 100%;
}

.stay-archive-hero {
  background: linear-gradient(135deg, #0B192C 0%, #12345B 100%);
  padding: 70px 24px 50px;
  text-align: center;
  color: #FFFFFF;
}

.stay-archive-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.stay-archive-title {
  font-family: var(--stay-font-display), 'Be Vietnam Pro', sans-serif !important;
  font-size: clamp(28px, 4vw, 42px) !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  margin: 12px 0 !important;
  letter-spacing: -0.02em !important;
}

.stay-archive-sub {
  font-size: 15px !important;
  color: #CBD5E1 !important;
  margin: 0 auto !important;
  max-width: 600px;
  line-height: 1.6;
}

.stay-archive-filter-section {
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
  padding: 30px 0;
  box-shadow: 0 4px 16px rgba(18, 52, 91, 0.05);
}

.stay-archive-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}


.stay-count-text {
  font-size: 15px;
  color: #64748B;
  margin: 0 !important;
}

.stay-count-text strong {
  color: #0F172A;
  font-size: 17px;
}

.stay-archive-pagination {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

.stay-archive-pagination ul.page-numbers {
  display: flex;
  list-style: none;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.stay-archive-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  color: #1E293B;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

.stay-archive-pagination .page-numbers.current,
.stay-archive-pagination .page-numbers:hover {
  background: var(--stay-primary);
  color: #FFFFFF;
  border-color: var(--stay-primary);
}

/* ==========================================================================
   15. NATIVE AI CHATBOT WIDGET STYLING & CONTRAST
   ========================================================================== */
.stay-ai-widget {
  position: fixed;
  bottom: 84px;
  right: 20px;
  z-index: 999999;
}

button.stay-ai-launcher,
.stay-ai-launcher,
.stay-ai-launcher * {
  text-transform: none !important;
  letter-spacing: normal !important;
}

.stay-ai-launcher-text {
  color: #FFFFFF !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
}

.stay-ai-lang-btn {
  width: 26px !important;
  height: 26px !important;
  min-width: 26px !important;
  font-size: 15px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  outline: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
}

.stay-ai-send-btn {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  border-radius: 50% !important;
  background: #EA580C !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  border: none !important;
}

@media (max-width: 600px) {
  .stay-ai-widget {
    bottom: 74px !important;
    right: 12px !important;
  }
}












/* ==========================================================================
   16. MOBILE & TABLET ISOLATED RULES ONLY (<= 849px)
   ========================================================================== */

@media (min-width: 850px) {
  .stay-mobile-standalone-lang-bar,
  .stay-topbar-mobile-inner {
    display: none !important;
  }
}

@media (max-width: 849px) {
  /* 0. Hide Desktop Actions Pill from Mobile Header */
  #masthead .stay-header-actions-item,
  #masthead .stay-header-actions-pill {
    display: none !important;
  }

  /* 1. Standalone Seamless High-Contrast Mobile Language Bar */
  .stay-mobile-standalone-lang-bar {
    width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
  }

  .stay-standalone-lang-container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 0 auto !important;
  }

  .stay-standalone-lang-pill-wrap {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 9999px !important;
    padding: 4px 6px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.16) !important;
  }

  .stay-standalone-lang-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    padding: 5px 9px !important;
    border-radius: 9999px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    background: transparent !important;
    transition: all 0.15s ease !important;
  }

  .stay-standalone-lang-btn .stay-flag-ico {
    font-size: 14.5px !important;
    line-height: 1 !important;
    display: inline-block !important;
  }

  #top-bar .stay-standalone-lang-btn,
  #top-bar .stay-standalone-lang-btn:link,
  #top-bar .stay-standalone-lang-btn:visited,
  #top-bar .stay-standalone-lang-btn span,
  #top-bar .stay-standalone-lang-btn .stay-flag-txt,
  .stay-standalone-lang-pill-wrap a,
  .stay-standalone-lang-pill-wrap a span,
  .stay-standalone-lang-btn .stay-flag-txt {
    font-size: 11.5px !important;
    font-weight: 800 !important;
    color: #0F172A !important;
    -webkit-text-fill-color: #0F172A !important;
    letter-spacing: 0.03em !important;
    line-height: 1 !important;
    opacity: 1 !important;
  }

  #top-bar .stay-standalone-lang-btn.active,
  #top-bar .stay-standalone-lang-btn.active:link,
  #top-bar .stay-standalone-lang-btn.active:visited,
  #top-bar .stay-standalone-lang-btn.active span,
  #top-bar .stay-standalone-lang-btn.active .stay-flag-txt,
  .stay-standalone-lang-pill-wrap a.active,
  .stay-standalone-lang-pill-wrap a.active span,
  .stay-standalone-lang-btn.active .stay-flag-txt {
    background: #12345B !important;
    color: #FBBF24 !important;
    -webkit-text-fill-color: #FBBF24 !important;
    box-shadow: 0 1px 5px rgba(18, 52, 91, 0.3) !important;
    opacity: 1 !important;
  }

  /* 2. Topbar Clean Hotline Only on Mobile */
  .stay-topbar-mobile-link {
    color: #FFFFFF !important;
    text-decoration: none !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
  }

  /* 3. Mobile Header Right WhatsApp Button */
  .stay-mobile-wa-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    background: #ECFDF5 !important;
    border: 1.5px solid #10B981 !important;
    color: #047857 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    padding: 5px 11px !important;
    border-radius: 20px !important;
    text-decoration: none !important;
    transition: all 0.15s ease !important;
    box-shadow: 0 1px 3px rgba(16, 185, 129, 0.15) !important;
  }

  .stay-mobile-wa-badge:hover {
    background: #10B981 !important;
    color: #FFFFFF !important;
  }

  /* 4. Modern Off-Canvas Drawer (All 5 Flags, Full Width) */
  .mfp-bg, .mfp-wrap, .mfp-container {
    z-index: 99999 !important;
  }

  .mfp-wrap.mfp-sidebar-left .mfp-content,
  .mfp-wrap.mfp-sidebar-right .mfp-content,
  .mfp-sidebar-left .mfp-container,
  .mfp-sidebar-right .mfp-container,
  .mfp-content,
  #main-menu,
  .mobile-sidebar,
  .mfp-content .mobile-sidebar {
    background: #FFFFFF !important;
    max-width: 320px !important;
    width: 85vw !important;
    min-width: 0 !important;
    padding: 0 !important;
    box-shadow: 4px 0 25px rgba(0, 0, 0, 0.18) !important;
    box-sizing: border-box !important;
    z-index: 99999 !important;
    position: relative !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }

  .stay-modern-drawer {
    display: flex !important;
    flex-direction: column !important;
    padding: 16px 12px 140px !important;
    gap: 12px !important;
    background: #FFFFFF !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  /* Drawer Header */
  .stay-drawer-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-bottom: 12px !important;
    border-bottom: 1.5px solid #F1F5F9 !important;
    width: 100% !important;
  }

  .stay-drawer-logo {
    height: 38px !important;
    max-width: 180px !important;
    width: auto !important;
    object-fit: contain !important;
  }

  .stay-drawer-close-btn {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: #F1F5F9 !important;
    border: none !important;
    font-size: 15px !important;
    font-weight: bold !important;
    color: #64748B !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    line-height: 1 !important;
    transition: all 0.15s ease !important;
    position: static !important;
  }

  .stay-drawer-close-btn:hover {
    background: #E2E8F0 !important;
    color: #0F172A !important;
  }

  /* Drawer Language Flags (2 Rows: 3 on Top [EN, VI, KO], 2 on Bottom [ZH, RU]) */
  .stay-drawer-lang-box {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .stay-drawer-lang-head {
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: #64748B !important;
    margin-bottom: 8px !important;
  }

  .stay-drawer-flags-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .stay-drawer-flags-row {
    display: flex !important;
    align-items: stretch !important;
    gap: 6px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .stay-drawer-flags-row-top .stay-drawer-flag-item {
    flex: 1 1 0 !important;
    max-width: calc(33.333% - 4px) !important;
  }

  .stay-drawer-flags-row-bottom .stay-drawer-flag-item {
    flex: 1 1 0 !important;
    max-width: calc(50% - 3px) !important;
  }

  .stay-drawer-flag-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 4px !important;
    background: #FFFFFF !important;
    border: 1.5px solid #CBD5E1 !important;
    border-radius: 8px !important;
    min-width: 0 !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.15s ease !important;
  }

  .stay-drawer-flag-item:hover {
    background: #F1F5F9 !important;
    border-color: #12345B !important;
  }

  .stay-drawer-flag-item.active {
    background: #12345B !important;
    border-color: #12345B !important;
    box-shadow: 0 2px 6px rgba(18, 52, 91, 0.25) !important;
  }

  .stay-drawer-flag-item .stay-flag-em {
    font-size: 18px !important;
    line-height: 1 !important;
    display: block !important;
    margin-bottom: 3px !important;
  }

  .stay-drawer-flag-item .stay-flag-cd {
    font-size: 11px !important;
    font-weight: 800 !important;
    color: #1E293B !important;
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
    text-align: center !important;
    line-height: 1 !important;
  }

  .stay-drawer-flag-item.active .stay-flag-cd {
    color: #FBBF24 !important;
    -webkit-text-fill-color: #FBBF24 !important;
  }

  /* Drawer Navigation Links List */
  .stay-drawer-links {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    width: 100% !important;
  }

  .stay-drawer-li {
    border-bottom: 1px solid #F1F5F9 !important;
    padding: 1px 0 !important;
    width: 100% !important;
  }

  .stay-drawer-li:last-child {
    border-bottom: none !important;
  }

  .stay-drawer-a {
    display: block !important;
    padding: 11px 8px !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #0F172A !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    transition: all 0.15s ease !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    line-height: 1.35 !important;
  }

  .stay-drawer-a:hover {
    background: #F8FAFC !important;
    color: #EA580C !important;
    padding-left: 12px !important;
  }

  .stay-drawer-parent-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
  }

  .stay-drawer-parent-row .stay-drawer-a {
    flex: 1 !important;
  }

  .stay-drawer-expander {
    background: #F1F5F9 !important;
    border: 1px solid #CBD5E1 !important;
    border-radius: 6px !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    color: #334155 !important;
    cursor: pointer !important;
    padding: 0 !important;
    transition: transform 0.2s ease, background 0.2s ease !important;
  }

  .stay-drawer-expander.open {
    transform: rotate(180deg) !important;
    background: #12345B !important;
    color: #FFFFFF !important;
  }

  .stay-drawer-sublinks {
    list-style: none !important;
    margin: 2px 0 8px 10px !important;
    padding: 4px 0 4px 10px !important;
    border-left: 2.5px solid #CBD5E1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
  }

  .stay-drawer-sublinks a {
    display: block !important;
    padding: 7px 8px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    text-decoration: none !important;
    border-radius: 6px !important;
    transition: all 0.15s ease !important;
    white-space: normal !important;
    line-height: 1.3 !important;
  }

  .stay-drawer-sublinks a:hover {
    background: #F1F5F9 !important;
    color: #EA580C !important;
  }

  /* 5. Clean Contact Card at Bottom of Drawer (No Overflow) */
  .stay-drawer-bottom {
    margin-top: 4px !important;
    width: 100% !important;
  }

  .stay-drawer-contact-card {
    background: #F0F9FF !important;
    border: 1.5px solid #BAE6FD !important;
    border-radius: 12px !important;
    padding: 12px 10px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .stay-drawer-contact-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    padding: 2px 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
  }

  .stay-contact-badge-ico {
    font-size: 16px !important;
    line-height: 1 !important;
    flex: 0 0 22px !important;
    text-align: center !important;
  }

  .stay-contact-info-block {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    overflow: hidden !important;
  }

  .stay-contact-lbl {
    font-size: 9.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #64748B !important;
    letter-spacing: 0.04em !important;
    line-height: 1.2 !important;
  }

  .stay-contact-val {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #0F172A !important;
    line-height: 1.3 !important;
  }

  .stay-contact-mail {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #0F172A !important;
    word-break: break-all !important;
    overflow-wrap: anywhere !important;
    line-height: 1.3 !important;
  }

  .stay-drawer-contact-row:hover .stay-contact-val,
  .stay-drawer-contact-row:hover .stay-contact-mail {
    color: #EA580C !important;
  }

  .stay-drawer-contact-divider {
    height: 1px !important;
    background: #BAE6FD !important;
    width: 100% !important;
  }

  /* AI Launcher and Dialog Z-Index */
  .stay-ai-widget {
    z-index: 9999 !important;
  }
  #stay-ai-window {
    z-index: 999999 !important;
  }
}
