:root {
  --admin-primary: #3b3b82;
  --admin-primary-hover: #2f2f69;
  --admin-primary-rgb: 59, 59, 130;
  --admin-primary-5: rgba(59, 59, 130, 0.05);
  --admin-primary-10: rgba(59, 59, 130, 0.1);
  --admin-primary-12: rgba(59, 59, 130, 0.12);
  --admin-primary-15: rgba(59, 59, 130, 0.15);
  --admin-primary-20: rgba(59, 59, 130, 0.2);
  --admin-primary-22: rgba(59, 59, 130, 0.22);
  --admin-primary-28: rgba(59, 59, 130, 0.28);
  --admin-primary-45: rgba(59, 59, 130, 0.45);
  --admin-primary-92: rgba(59, 59, 130, 0.92);
  --hero-overlay: color-mix(in srgb, transparent 25%, color-mix(in srgb, var(--admin-primary) 100%, black 65%));
}

.admin-box {
  background: #fff;
  border: 1px solid #d7dfec;
  border-radius: 14px;
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 10px 20px rgba(15, 45, 92, 0.06);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(59, 59, 130, 0.06);
  border-radius: 99px;
}

::-webkit-scrollbar-thumb {
  background: #a8b0d8;
  border: 2px solid transparent;
  background-clip: content-box;
  border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--admin-primary);
  border: 2px solid transparent;
  background-clip: content-box;
}

.admin-root {
  width: min(1400px, 95vw);
  margin: 0 auto;
  padding: 2.2rem 0;
}

.admin-dashboard-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1rem;
  align-items: start;
}

.admin-dashboard-sidebar {
  position: sticky;
  top: 90px;
  border: 1px solid #d5e1f3;
  border-radius: 14px;
  background: linear-gradient(160deg, #f7fbff, #f1f7ff);
  padding: 0.85rem;
  box-shadow: 0 12px 24px rgba(19, 51, 96, 0.08);
}

.admin-dashboard-main {
  min-width: 0;
}

.admin-brand-block {
  border: 1px solid #d7e2f4;
  border-radius: 12px;
  background: #fff;
  padding: 0.75rem;
  margin-bottom: 0.7rem;
}

.admin-brand-title {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 800;
  color: #122f58;
}

.admin-brand-subtitle {
  margin: 0.2rem 0 0;
  color: #496483;
  font-size: 0.8rem;
}

.admin-sidebar-meta {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.7rem;
}

.admin-sidebar-actions {
  margin-top: 0.7rem;
  display: grid;
  gap: 0.45rem;
}

.admin-sidebar-actions button {
  border: 1px solid #cdd9ec;
  background: #fff;
  color: #183a69;
  border-radius: 8px;
  padding: 0.48rem 0.6rem;
  font-weight: 700;
}

.admin-topbar {
  position: sticky;
  top: 86px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  border: 1px solid #d8e4f7;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 0.75rem;
  margin-bottom: 0.9rem;
}

.admin-topbar h1 {
  margin: 0;
}

.admin-topbar p {
  margin: 0.28rem 0 0;
  color: #3f587a;
}

.admin-header {
  background: linear-gradient(145deg, #f8fbff, #f3f8ff);
  border: 1px solid #d8e4f7;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.admin-header h1 {
  margin: 0 0 0.45rem;
}

.admin-chip-row {
  display: flex;
  gap: 0.45rem;
  margin: 0.75rem 0;
  flex-wrap: wrap;
}

.admin-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d6e3f4;
  color: #1b3f73;
  background: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.btn-main {
  display: inline-flex;
  border-radius: 6px;
  border: 1px solid #6f6f8a;
  color: #6f6f8a;
  padding: 8px 14px;
  text-decoration: none;
}

.row-inline {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.row-inline input,
.admin-form input,
.admin-form select {
  width: 100%;
  border: 1px solid #cfd9d2;
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
}

.admin-textarea {
  width: 100%;
  min-height: 120px;
  border: 1px solid #d0d9d3;
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  resize: vertical;
}

.admin-link-btn,
.row-inline button,
.admin-form button {
  border: 1px solid #2f4d40;
  border-radius: 8px;
  background: #2f4d40;
  color: #fff;
  padding: 0.55rem 0.75rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.admin-btn-light {
  border-color: #c9d6e8 !important;
  background: #fff !important;
  color: #163660 !important;
}

.admin-btn-danger {
  border: 1px solid #a91e29;
  background: #a91e29;
  color: #fff;
  border-radius: 8px;
  padding: 0.4rem 0.55rem;
  font-size: 0.83rem;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.admin-btn-danger:hover {
  background: #911a24;
  border-color: #911a24;
  transform: translateY(-1px);
  box-shadow: 0 8px 14px rgba(169, 30, 41, 0.26);
}

.admin-root input[type="checkbox"]:focus,
.admin-root input[type="checkbox"]:focus-visible,
.admin-app input[type="checkbox"]:focus,
.admin-app input[type="checkbox"]:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.admin-header-create-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 176px;
  min-height: 36px;
  border: 1px solid var(--admin-primary);
  background: var(--admin-primary);
  color: #fff;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.admin-header-create-btn:hover {
  background: var(--admin-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 16px var(--admin-primary-22);
}

.admin-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.6rem;
}

.admin-form-inline {
  margin-bottom: 0.75rem;
}

.admin-edit-form {
  margin-bottom: 0.8rem;
  border: 1px solid #d5e0f2;
  border-radius: 10px;
  padding: 0.7rem;
  background: #f9fbff;
}

.admin-panel-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.admin-tab-btn {
  border: 1px solid #cfdcf0;
  border-radius: 999px;
  background: #fff;
  color: #163660;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.45rem 0.72rem;
}

.admin-tab-btn.active {
  border-color: #173d7d;
  background: #173d7d;
  color: #fff;
}

.admin-tab-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.7rem;
}

.admin-stat-card {
  border: 1px solid #d9e2ef;
  border-radius: 12px;
  padding: 0.85rem;
  background: #f9fbff;
}

.admin-stat-card h3 {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.admin-stat-card strong {
  font-size: 1.2rem;
  color: #122d58;
}

.admin-checkbox-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0.7rem 0;
}

.admin-checkbox-row label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #2d4667;
}

.admin-todo-box {
  border: 1px dashed #bfd2ec;
  border-radius: 12px;
  padding: 0.85rem;
  background: #f6faff;
}

.admin-todo-box h3 {
  margin-bottom: 0.45rem;
}

.admin-toolbar {
  display: grid;
  grid-template-columns: 1fr 220px auto;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.admin-list {
  display: grid;
  gap: 0.45rem;
}

.admin-row {
  display: grid;
  grid-template-columns: 110px 1fr 160px 120px auto;
  gap: 0.6rem;
  align-items: center;
  border: 1px solid #e4ebe7;
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
  font-size: 0.92rem;
}

.admin-action-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  justify-content: flex-end;
}

.admin-link-inline {
  border: 1px solid #cddbef;
  background: #fff;
  color: #173d7d;
  border-radius: 8px;
  padding: 0.38rem 0.56rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.plugin-row {
  grid-template-columns: 1fr 1fr 120px 120px auto;
}

.admin-badge-active,
.admin-badge-inactive {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.78rem;
  padding: 0.25rem 0.55rem;
  font-weight: 700;
}

.admin-badge-active {
  background: #e5f7ed;
  color: #0d6a34;
  border: 1px solid #bfe9cf;
}

.admin-badge-inactive {
  background: #f8eaec;
  color: #8b1f29;
  border: 1px solid #efc9cf;
}

.lead-row {
  grid-template-columns: 1fr 1fr 140px 150px 160px;
}

.admin-row select {
  border: 1px solid #cfd9d2;
  border-radius: 8px;
  padding: 0.35rem 0.45rem;
  background: #fff;
}

.admin-muted {
  color: #536985;
  font-size: 0.85rem;
}

.state {
  color: #264438;
  margin: 0.65rem 0;
}

.state.error {
  color: #aa2a34;
}

.hero-text #slogan {
  font-family: "Trebuchet MS", sans-serif;
  letter-spacing: 0.08em;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.home-seo-headline {
  color: var(--admin-primary);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 600;
  font-size: 34px;
  letter-spacing: 0.012em;
  word-spacing: 0.02em;
  line-height: 1.16;
  max-width: 980px;
  margin: 0 auto;
  text-wrap: balance;
}

.home-seo-headline .home-seo-headline-sub {
  display: block;
  margin-top: 8px;
  font-size: 0.84em;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(var(--admin-primary-rgb), 0.92);
}

@media (max-width: 991px) {
  .home-seo-headline {
    font-size: 30px;
    line-height: 1.2;
    max-width: 92%;
  }
}

@media (max-width: 640px) {
  .home-seo-headline {
    font-size: 24px;
    max-width: 100%;
  }
}

/* Homepage palette cleanup: replace black/gray with primary tones */
.hotel-rooms.spad .section-title h2,
.hotel-rooms.spad .section-title h2 span {
  color: var(--admin-primary);
}

.hotel-rooms.spad .room-items .room-text .room-details .room-title h5 {
  color: var(--admin-primary-hover);
}

.hotel-rooms.spad .room-items .room-text .room-details .room-title a i,
.hotel-rooms.spad .room-items .room-text .room-details .room-title a span {
  color: rgba(var(--admin-primary-rgb), 0.84);
}

.hotel-rooms.spad .room-items .room-text .room-price p {
  color: rgba(var(--admin-primary-rgb), 0.64);
}

.hotel-rooms.spad .room-items .room-text .room-price span {
  color: var(--admin-primary);
}

.popular-room .popular-room-text .popular-room-title h5,
.popular-room .popular-room-text .popular-room-title a,
.popular-room .popular-room-text .popular-room-title a i,
.popular-room .popular-room-text .popular-room-title a span,
.popular-room .popular-room-text .popular-room-desc p,
.popular-room .popular-room-text .popular-room-price p,
.popular-room .popular-room-text .popular-room-price span {
  color: rgba(var(--admin-primary-rgb), 0.86);
}

.popular-room .popular-room-text .popular-room-price span {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  letter-spacing: 0.015em;
  word-spacing: 0.06em;
  line-height: 1.24;
}

.popular-room .popular-room-text .popular-room-price .deal {
  color: #fff;
  letter-spacing: 0.02em;
}

.services-section .left-side h2,
.services-section .left-side h2 span,
.services-section .right-side ul li,
.services-section .right-side ul li img,
.services-section .left-side p,
.instagram h2 {
  color: rgba(var(--admin-primary-rgb), 0.86);
}

.services-section .right-side ul {
  display: grid;
  row-gap: 25px;
}

.services-section .right-side ul li {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  margin-bottom: 0;
}

.services-section .right-side ul li img {
  margin-top: 5px;
}

.room-img {
  background-size: cover;
  background-position: center;
}

.room-items .room-img .room-img-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.header-section {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.app-header {
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.header-spacer {
  height: 0;
}

.header-spacer.is-light {
  height: 100px;
}
@media (min-width: 640px) {
  .header-spacer.is-light {
    height: 112px;
  }
}
@media (min-width: 1024px) {
  .header-spacer.is-light {
    height: 130px;
  }
}

.app-header .col-lg-12 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100px;
  position: relative;
  transition: none;
  pointer-events: none;
}
@media (min-width: 640px) {
  .app-header .col-lg-12 {
    min-height: 112px;
  }
}
@media (min-width: 1024px) {
  .app-header .col-lg-12 {
    min-height: 130px;
  }
}

.app-header .logo,
.app-header .main-menu,
.app-header .header-burger-wrap,
.app-header .brand-icon-link {
  pointer-events: auto;
}

.app-header .logo,
.app-header .main-menu,
.app-header .brand-icon-link {
  float: none !important;
}

.app-header .logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-page-title {
  display: none;
}

.app-header.on-light .header-page-title {
  display: inline-flex;
  align-items: center;
  height: 30px;
  min-height: 30px;
  color: #17215f;
  font-size: 20px;
  line-height: 30px;
  font-weight: 700;
  letter-spacing: 0.01em;
  position: static;
  opacity: 1;
  pointer-events: none;
  transition: none;
}
@media (min-width: 640px) {
  .app-header.on-light .header-page-title {
    font-size: 24px;
  }
}
@media (min-width: 1024px) {
  .app-header.on-light .header-page-title {
    font-size: 30px;
    position: absolute;
    left: 132px;
    top: 50%;
    transform: translate(0, -50%);
  }
  .app-header.on-light.scrolled .header-page-title {
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

.app-header .brand-logo {
  width: auto;
  height: 58px;
  object-fit: contain;
  transition: height 0.26s ease, transform 0.26s ease;
}

.app-header .brand-logo.hero-home-button {
  height: 66px;
  transform: translateY(0);
}

.app-header.on-light .brand-logo {
  height: 64px;
}

/* Stabilize non-home header to avoid resize jitter over listings imagery */
.app-header.on-light .col-lg-12 {
  min-height: 100px;
  transition: none;
}

@media (min-width: 640px) {
  .app-header.on-light .col-lg-12 {
    min-height: 112px;
  }
}

@media (min-width: 1024px) {
  .app-header.on-light .col-lg-12 {
    min-height: 130px;
  }
}

.app-header.on-light .brand-logo,
.app-header.on-light.scrolled .brand-logo {
  height: 64px !important;
  transition: none;
  transform: none !important;
}
@media (min-width: 640px) {
  .app-header.on-light .brand-logo,
  .app-header.on-light.scrolled .brand-logo {
    height: 80px !important;
  }
}
@media (min-width: 1024px) {
  .app-header.on-light .brand-logo,
  .app-header.on-light.scrolled .brand-logo {
    height: 66px !important;
  }
}

.app-header.on-light {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: padding 0.26s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.app-header.on-hero {
  position: relative;
  z-index: 2;
  min-height: var(--header-height, 130px);
  padding: 0;
}

.app-header.on-hero .col-lg-12,
.app-header.on-hero.scrolled .col-lg-12 {
  min-height: var(--header-height, 130px);
}

.hero-top-dock {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  pointer-events: none;
}

.hero-top-dock .app-header,
.hero-top-dock .hero-filter {
  pointer-events: auto;
}

.hero-top-dock .app-header.on-hero {
  pointer-events: none;
}

.hero-top-dock .app-header.on-hero .logo,
.hero-top-dock .app-header.on-hero .main-menu,
.hero-top-dock .app-header.on-hero .header-burger-wrap,
.hero-top-dock .app-header.on-hero .brand-icon-link {
  pointer-events: auto;
}

.app-header.on-light.scrolled {
  padding: 0;
}

.app-header.on-light.scrolled .col-lg-12 {
  min-height: 100px;
}
@media (min-width: 640px) {
  .app-header.on-light.scrolled .col-lg-12 {
    min-height: 112px;
  }
}
@media (min-width: 1024px) {
  .app-header.on-light.scrolled .col-lg-12 {
    min-height: 130px;
  }
}

@media (min-width: 993px) {
  .app-header.on-light.scrolled .main-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    pointer-events: none;
  }

  .app-header.on-light.scrolled .header-burger-wrap {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%);
    pointer-events: auto;
  }

  .app-header.on-light.scrolled .logo {
    width: auto;
    justify-content: flex-start;
    gap: 12px;
  }

  .app-header.on-light.scrolled .brand-logo {
    display: block;
    height: 66px !important;
    transform: none !important;
  }

  .app-header.on-light.scrolled .header-page-title {
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
    animation: none;
  }

  .app-header.on-light:not(.scrolled) .header-page-title {
    left: 132px;
    transform: translate(0, -50%);
    opacity: 1;
    animation: none;
  }

  .app-header.title-anim-ready.on-light.scrolled .header-page-title {
    animation: title-teleport-in 462ms cubic-bezier(0.22, 0.61, 0.36, 1);
  }

  .app-header.title-anim-ready.on-light:not(.scrolled) .header-page-title {
    animation: title-teleport-out 462ms cubic-bezier(0.22, 0.61, 0.36, 1);
  }
}

@media (max-width: 900px) {
  .admin-dashboard-shell {
    grid-template-columns: 1fr;
  }

  .admin-dashboard-sidebar,
  .admin-topbar {
    position: static;
  }

  .admin-dashboard-sidebar .admin-panel-nav {
    flex-direction: row;
  }

  .admin-toolbar {
    grid-template-columns: 1fr;
  }

  .admin-row,
  .lead-row {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .admin-action-row {
    justify-content: flex-start;
  }
}

@media (min-width: 901px) {
  .admin-dashboard-sidebar .admin-panel-nav {
    flex-direction: column;
  }

  .admin-dashboard-sidebar .admin-tab-btn {
    width: 100%;
    text-align: left;
    border-radius: 10px;
  }
}

@keyframes title-teleport-in {
  0% {
    left: 132px;
    transform: translate(0, -50%);
    opacity: 1;
  }
  50% {
    left: 45%;
    transform: translate(-22%, -50%);
    opacity: 0;
  }
  100% {
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
  }
}

@keyframes title-teleport-out {
  0% {
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
  }
  50% {
    left: 45%;
    transform: translate(-22%, -50%);
    opacity: 0;
  }
  100% {
    left: 132px;
    transform: translate(0, -50%);
    opacity: 1;
  }
}

.app-header.on-light .main-menu {
  align-items: center;
}

.app-header.on-light .main-menu li a {
  display: inline-block;
  align-items: initial;
  padding: 4px 5px;
  margin-left: 35px;
  min-height: 0;
  font-size: 16px;
}

.app-header.on-light .main-menu li.top-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-left: 8px;
}

.app-header.on-light .top-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
}

.app-header .top-social a i {
  font-size: 16px;
}

.app-header .brand-icon-link {
  display: none;
  float: right;
}

.app-header .brand-icon {
  height: 50px;
  width: auto;
}

.footer-mark {
  width: 66px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.footer-legal-links {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-legal-links .legal-link {
  color: #d7def8;
  text-decoration: none;
  font-size: 13px;
}

.footer-legal-links .legal-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.popular-room .popular-room-text {
  position: relative;
  padding-top: 0;
}

.popular-room .popular-room-text .popular-btn-about {
  position: static !important;
  margin: 0;
  float: none !important;
  z-index: 3;
}

.popular-room .popular-room-text .popular-btn-listings {
  margin: 0;
}

.popular-room .popular-room-text .popular-btn-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  margin-top: 16px;
  width: 100%;
}

.popular-room .popular-room-text .popular-btn-col {
  display: flex;
  flex: 1 1 50%;
  justify-content: center;
}

.popular-room .popular-room-text .popular-btn-row .popular-btn-about,
.popular-room .popular-room-text .popular-btn-row .popular-btn-listings {
  display: inline-flex !important;
}

.realty-filter .search-btn button,
.search-btn button {
  background: var(--admin-primary);
  border-color: var(--admin-primary);
}

.realty-filter .search-btn button:hover,
.search-btn button:hover {
  background: var(--admin-primary-hover);
  border-color: var(--admin-primary-hover);
}

.footer-section .single-blog {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-decoration: none;
}

.footer-section .single-blog .lt-side {
  flex: 0 0 82px;
  margin-right: 10px;
}

.footer-section .single-blog .lt-side img {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: 6px;
}

.footer-section .single-blog .rt-side {
  flex: 1 1 auto;
  min-width: 0;
}

@media (min-width: 768px) {
  .footer-blog {
    text-align: left !important;
  }

  .footer-blog h5 {
    text-align: left !important;
  }

  .footer-blog .single-blog {
    justify-content: flex-start;
  }
}

.footer-blog .single-blog .rt-side h6 {
  font-size: 13px;
}

@media (min-width: 640px) {
  .footer-blog .single-blog .rt-side h6 {
    font-size: 15px;
  }
}

.footer-section .p-20 {
  padding-top: 20px;
}

.footer-section .copyright {
  color: #fff !important;
  opacity: 1 !important;
  font-size: 17px;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  word-spacing: 0.04em;
  line-height: 1.35;
  padding-top: 5px;
}

.footer-address {
  margin-top: 0;
}

/* Override template footer-address styles for Tailwind flex layout */
.footer-address ul li {
  position: static;
  margin-left: 0;
  padding-left: 0;
}

.footer-address ul li i {
  position: static;
  top: auto;
}

.footer-address ul li span,
.footer-address ul li a {
  color: #9a9ab8;
  margin-left: 0;
}

.footer-address ul li a:hover {
  color: #fff;
}

.footer-address p {
  color: #9a9ab8;
}

.about-footer p {
  color: #9a9ab8;
  margin-bottom: 2rem;
}

/* ── Tablet text size pass-through ── */
.popular-room .popular-room-text .popular-room-title h5 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
}

.popular-room .popular-room-text .popular-room-desc p {
  font-size: 15px;
  line-height: 1.55;
}

.popular-room .popular-room-text .popular-room-price span {
  font-size: 16px;
  line-height: 1.5;
}

.newslatter-section .newslatter-text h4 {
  font-size: 22px;
  line-height: 1.4;
}

@media (min-width: 640px) {
  .popular-room .popular-room-text .popular-room-title h5 {
    font-size: 22px;
  }

  .popular-room .popular-room-text .popular-room-desc p {
    font-size: 16px;
  }

  .popular-room .popular-room-text .popular-room-price span {
    font-size: 17px;
  }

  .newslatter-section .newslatter-text h4 {
    font-size: 24px;
  }

  .listing-card-location {
    font-size: 14px;
  }

  .listing-card-surface-item {
    font-size: 13.5px;
  }

  .listing-card-price-row p {
    font-size: 16px;
  }

  .listing-card-price-row span {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .room-pic .row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }
  .room-pic img {
    width: 100% !important;
    height: 160px !important;
    object-fit: cover;
  }
  .room-pic img:nth-child(5) {
    display: none;
  }
}

.contact-form input,
.contact-form textarea {
  background: #f8fbff !important;
  border: 1px solid #d7dfef !important;
  opacity: 1;
  border-radius: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #6a7392;
  opacity: 1;
}

.contact-section .contact-interactive-shell {
  --spot-x: 82%;
  --spot-y: 16%;
  --spot-alpha: 0;
  position: relative;
  margin: 0;
  padding: 30px 16px;
  border: 1px solid #dbe6ff;
  border-radius: 18px;
  box-shadow: 0 16px 38px rgba(21, 44, 116, 0.12);
  background:
    radial-gradient(260px 220px at var(--spot-x) var(--spot-y), rgba(var(--admin-primary-rgb), var(--spot-alpha)), rgba(var(--admin-primary-rgb), 0) 78%),
    linear-gradient(145deg, #ffffff, #f4f8ff);
  overflow: hidden;
}

.contact-section .contact-interactive-shell::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 300px;
  height: 220px;
  border-radius: 55% 45% 50% 50%;
  background: radial-gradient(ellipse at center, rgba(var(--admin-primary-rgb), 0.13) 0%, rgba(var(--admin-primary-rgb), 0.06) 45%, rgba(var(--admin-primary-rgb), 0) 76%);
  filter: blur(10px);
  opacity: 0.85;
  pointer-events: none;
}

.contact-section .contact-interactive-shell::after {
  content: "";
  position: absolute;
  left: -44px;
  bottom: -42px;
  width: 340px;
  height: 250px;
  border-radius: 48% 52% 54% 46%;
  background: radial-gradient(ellipse at center, rgba(var(--admin-primary-rgb), 0.18) 0%, rgba(var(--admin-primary-rgb), 0.08) 44%, rgba(var(--admin-primary-rgb), 0) 78%);
  filter: blur(11px);
  opacity: 0.92;
  pointer-events: none;
}

.contact-section .contact-form,
.contact-section .contact-info {
  position: relative;
  z-index: 2;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 8px 12px;
}

.contact-section .contact-form h4 {
  color: #19255f;
  font-size: 38px;
  letter-spacing: 0.01em;
  margin-bottom: 22px;
}

.contact-section .contact-info .contact-addr li a {
  color: #6f6f8a;
  font-size: 14px;
  font-weight: 300;
  margin-left: 0;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-section .contact-info .contact-addr li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contact-section .contact-info .contact-addr li i {
  position: static;
  top: auto;
  left: auto;
  flex: 0 0 16px;
  margin-top: 2px;
}

.contact-section .contact-info .contact-addr li a:hover {
  color: var(--admin-primary);
  border-color: rgba(var(--admin-primary-rgb), 0.45);
}

.contact-section .contact-info p {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-section .contact-info p i {
  color: rgba(var(--admin-primary-rgb), 0.88);
  width: 16px;
  text-align: center;
}

.contact-section .contact-info p span {
  color: #6f6f8a;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--admin-primary) !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px var(--admin-primary-15);
}

.listings-pagination {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.listing-card .room-text .room-details .room-title h5 {
  line-height: 1.25;
  min-height: calc(1.25em * 2);
  max-height: calc(1.25em * 2);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  color: var(--admin-primary-hover);
  margin-bottom: 2px;
}

.listing-card .room-text .room-details .room-title .room-title-link {
  color: inherit;
  text-decoration: none;
}

.listing-card .room-text .room-details .room-title .room-title-link:hover {
  color: var(--admin-primary);
  text-decoration: underline;
}

.listing-card .room-text .room-details {
  padding-bottom: 0;
  margin-bottom: 0;
}

.listing-card .room-text .room-details .room-title a {
  margin-right: 0;
  margin-bottom: 0;
}

.listing-card {
  position: relative;
  min-width: 0;
  width: 100%;
  box-shadow: 0 8px 20px rgba(var(--admin-primary-rgb), 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.listing-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--admin-primary-20);
  border-radius: 4px;
  pointer-events: none;
  z-index: 3;
  transition: border-color 0.2s ease;
}

.listing-card.is-featured::after {
  border-color: rgba(var(--admin-primary-rgb), 0.58);
}

.listing-card:hover {
  box-shadow: 0 14px 28px rgba(var(--admin-primary-rgb), 0.2);
  transform: translateY(-2px);
}

.listing-card:hover::after {
  border-color: var(--admin-primary-45);
}

.listing-card .room-img {
  height: 240px;
}

.listing-card .room-img .room-img-open {
  border: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  display: block;
}

.listing-card.is-featured {
  box-shadow: 0 16px 30px rgba(var(--admin-primary-rgb), 0.2);
}

.listing-card.is-featured:hover {
  box-shadow: 0 20px 38px rgba(var(--admin-primary-rgb), 0.3);
}

.listing-card.is-featured:hover::after {
  border-color: rgba(var(--admin-primary-rgb), 0.76);
}

.listing-card.is-exclusive {
  box-shadow: 0 18px 34px rgba(var(--admin-primary-rgb), 0.24);
}

.listing-card.is-exclusive::before {
  content: "";
  position: absolute;
  inset: -2px;
  border: 1px solid rgba(var(--admin-primary-rgb), 0.38);
  border-radius: 6px;
  pointer-events: none;
  z-index: 2;
  transition: border-color 0.2s ease;
}

.listing-card.is-exclusive::after {
  inset: 0;
  border-width: 2px;
  border-color: rgba(var(--admin-primary-rgb), 0.82);
  border-radius: 4px;
}

.listing-card.is-exclusive:hover {
  box-shadow: 0 24px 44px rgba(var(--admin-primary-rgb), 0.36);
}

.listing-card.is-exclusive:hover::before {
  border-color: rgba(var(--admin-primary-rgb), 0.52);
}

.listing-card.is-exclusive:hover::after {
  border-color: rgba(var(--admin-primary-rgb), 0.94);
}

.listing-card .listing-flag {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.listing-card .listing-flag-featured {
  top: 10px;
  left: 10px;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(var(--admin-primary-rgb), 0.9);
  color: #fff;
  box-shadow: 0 8px 16px rgba(var(--admin-primary-rgb), 0.28);
}

.listing-card .listing-flag-exclusive {
  top: 10px;
  right: 10px;
  padding: 6px 10px;
  border: 1px solid rgba(var(--admin-primary-rgb), 0.45);
  background: rgba(var(--admin-primary-rgb), 0.86);
  color: #fff;
  letter-spacing: 0.02em;
}

.listing-card .room-text .room-details .room-title a i,
.listing-card .room-text .room-details .room-title a span {
  color: var(--admin-primary);
}

.listing-card .room-text .room-details .room-title a i {
  font-size: 14px;
  color: rgba(var(--admin-primary-rgb), 0.72);
  transition: color 0.18s ease, font-size 0.18s ease, transform 0.18s ease;
}

.listing-card .room-text .room-details .room-title a span {
  color: rgba(var(--admin-primary-rgb), 0.82);
  transition: color 0.18s ease;
}

.listing-card .room-text .room-details .room-title a:hover i {
  color: var(--admin-primary);
  font-size: 16px;
  transform: translateY(-1px);
}

.listing-card .room-text .room-details .room-title a:hover span {
  color: var(--admin-primary-hover);
}

.listing-card-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 2px 0 0;
}

.listing-card-price-row p {
  margin: 0;
  color: rgba(var(--admin-primary-rgb), 0.66);
  font-size: 15px;
  font-weight: 500;
}

.listing-card-price-row span {
  margin: 0;
  color: var(--admin-primary-hover);
  font-size: 17px;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

/* ── Card meta row (location left, surface right) ── */
.listing-card-meta-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
  height: 38px;
  overflow: hidden;
  padding: 2px 0 0;
}

.listing-card-location {
  overflow: hidden;
  width: 50%;
  flex-shrink: 0;
  font-size: 13px;
  line-height: 1.25;
  color: rgba(var(--admin-primary-rgb), 0.55);
  text-decoration: none;
}
.listing-card-location i {
  font-size: 12px;
  margin-right: 3px;
}

.listing-card-surface {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
}

.listing-card-surface-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(var(--admin-primary-rgb), 0.52);
  white-space: nowrap;
}

.listing-card-surface-item i {
  font-size: 11px;
  opacity: 0.7;
}

/* ── Card button ── */
.listing-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 6px;
  padding: 9px 16px;
  border: 1.5px solid var(--admin-primary-45);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(var(--admin-primary-rgb), 0.72);
  text-decoration: none;
  transition: all 0.18s ease;
  background: transparent;
}

.listing-card-btn:hover {
  background: var(--admin-primary);
  border-color: var(--admin-primary);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(var(--admin-primary-rgb), 0.22);
}

.listing-card-btn i {
  font-size: 12px;
  transition: transform 0.18s ease;
}

.listing-card-btn:hover i {
  transform: translateX(3px);
}

.listing-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: grid;
  place-items: center;
  padding: 16px;
}

.listing-gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.listing-gallery-modal-panel {
  position: relative;
  z-index: 1;
  width: min(980px, 95vw);
  border-radius: 14px;
  border: 1px solid rgba(var(--admin-primary-rgb), 0.18);
  background: #fff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.06);
  padding: 12px 12px 14px;
}

.listing-gallery-close {
  position: absolute;
  top: -12px;
  right: -12px;
  z-index: 10;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(var(--admin-primary-rgb), 0.25);
  background: #fff;
  color: var(--admin-primary);
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.listing-gallery-close:hover {
  background: var(--admin-primary);
  color: #fff;
}

.listing-gallery-stage {
  position: relative;
  min-height: 420px;
  max-height: 70vh;
  border-radius: 10px;
  overflow: hidden;
  background: #f4f5f8;
  display: grid;
  place-items: center;
}

.listing-gallery-image {
  width: 100%;
  height: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
}

.listing-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(var(--admin-primary-rgb), 0.22);
  background: rgba(255, 255, 255, 0.92);
  color: var(--admin-primary);
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.listing-gallery-nav:hover {
  background: #fff;
  border-color: var(--admin-primary);
}

.listing-gallery-nav.prev {
  left: 12px;
}

.listing-gallery-nav.next {
  right: 12px;
}

/* Hide nav arrows and dots when only 1 image */
.listing-gallery-modal-panel:has(.listing-gallery-dots > :only-child) .listing-gallery-nav,
.listing-gallery-modal-panel:has(.listing-gallery-dots > :only-child) .listing-gallery-dots {
  display: none;
}

.listing-gallery-link-row {
  display: flex;
  justify-content: center;
  margin: 10px 0 8px;
}

.listing-gallery-link {
  border: 1px solid rgba(var(--admin-primary-rgb), 0.35);
  border-radius: 8px;
  padding: 8px 16px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  background: var(--admin-primary);
  transition: background 0.15s;
}

.listing-gallery-link:hover {
  background: var(--admin-primary-hover);
  color: #fff;
}

.listing-gallery-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding-top: 2px;
}

.listing-gallery-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 1px solid rgba(var(--admin-primary-rgb), 0.35);
  background: rgba(var(--admin-primary-rgb), 0.15);
  padding: 0;
  cursor: pointer;
  transition: background 0.15s;
}

.listing-gallery-dot.is-active {
  background: var(--admin-primary);
  border-color: var(--admin-primary);
}

@media (max-width: 768px) {
  .listing-gallery-modal-panel {
    width: min(100%, 95vw);
    padding: 10px 10px 12px;
  }

  .listing-gallery-close {
    top: -10px;
    right: -6px;
  }

  .listing-gallery-stage {
    min-height: 250px;
    max-height: 58vh;
  }

  .listing-gallery-image {
    max-height: 58vh;
  }
}

@media (min-width: 1200px) {
  .listings-page-shell .room-items .room-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .listings-page-shell .room-items .room-text .listing-card-btn {
    margin-top: auto;
    margin-bottom: 0;
    padding: 10px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

.listings-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.listings-toolbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.listings-toolbar-right {
  margin-left: auto;
}

.listings-toolbar-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.listings-toolbar-control span {
  color: #2f3a63;
  font-size: 12px;
  font-weight: 600;
}

.listings-reset-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  background: #fff;
  color: #e74c3c;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.listings-reset-btn:hover {
  background: #fef2f2;
  border-color: #e74c3c;
}

.listings-view-toggle {
  display: inline-flex;
  border: 1px solid #d7dfef;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.listings-view-toggle button {
  border: 0;
  background: transparent;
  color: #2f3a63;
  width: 38px;
  height: 34px;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
}

.listings-view-toggle button.active {
  background: var(--admin-primary);
  color: #fff;
}

/* Frontend/public: hide selected-count bubble on all MCS */
.mcs-count-bubble {
  display: none !important;
}

/* Keep counters in admin area */
.admin-root .mcs-count-bubble,
.admin-app .mcs-count-bubble {
  display: inline-flex !important;
}

.listings-view-toggle .fa-map {
  font-size: 15px;
}

.listings-view-toggle button:disabled {
  opacity: 0.5;
}

.ui-select {
  position: relative;
  min-width: 0;
}

.ui-select.full-width {
  width: 100%;
}

.ui-select-trigger {
  min-width: 178px;
  height: 34px;
  border: 1px solid #d7dfef;
  border-radius: 10px;
  background: #fff;
  color: #2f3a63;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  line-height: 1.2;
  cursor: pointer;
}

.ui-select.full-width .ui-select-trigger {
  width: 100%;
  min-width: 0;
}

.ui-select-trigger:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.ui-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 100%;
  width: 100%;
  max-width: min(calc(100vw - 16px), 420px);
  max-height: min(50vh, 320px);
  overflow-y: auto;
  overflow-x: hidden;
  background: #fff;
  border: 1px solid #d7dfef;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(16, 31, 84, 0.14);
  z-index: 1400;
  padding: 5px;
}

.ui-select-item {
  width: 100%;
  border: 0;
  background: transparent;
  color: #2f3a63;
  text-align: left;
  padding: 8px 9px;
  border-radius: 8px;
  font-size: 12px;
  white-space: normal;
  word-break: break-word;
}

.ui-select-item:hover,
.ui-select-item.active {
  background: var(--admin-primary-10);
}

.ui-select-header {
  padding: 8px 9px 6px;
  font-size: 11px;
  font-weight: 700;
  color: #191970;
  border-bottom: 1px solid #edf0f8;
  margin-bottom: 2px;
}

@media (max-width: 639px) {
  .admin-filter-mobile-extra {
    position: relative;
    z-index: 1500;
  }

  .admin-filter-mobile-extra .ui-select-menu {
    top: auto;
    bottom: calc(100% + 6px);
    max-height: min(42vh, 280px);
  }
}

.listings-extra-filters {
  margin-top: 10px;
  border: 2px solid rgba(var(--admin-primary-rgb), 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  position: relative;
  overflow: visible;
}

.listings-extra-toggle {
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #203062;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
}

.listings-extra-content {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 1205;
  background: #fff;
  border: 2px solid rgba(var(--admin-primary-rgb), 0.22);
  border-radius: 12px;
  box-shadow: 0 18px 36px rgba(18, 33, 88, 0.2);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 220ms ease, opacity 200ms ease;
}

.listings-extra-filters.open .listings-extra-content {
  max-height: min(520px, 60vh);
  opacity: 1;
  overflow-y: auto;
}

.listings-extra-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 14px;
}

.listings-extra-cell p {
  margin: 0 0 8px;
  color: #2f3a63;
  font-size: 13px;
  font-weight: 600;
}

.listings-extra-cell .mcs-trigger {
  min-height: 38px;
  padding: 7px 12px;
  font-size: 13px;
}

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

.listings-range-row input {
  height: 38px;
  border: 1px solid #d7dfef;
  border-radius: 10px;
  background: #fff;
  color: #2f3a63;
  padding: 0 10px;
  font-size: 13px;
}

.listings-pagination button {
  min-width: 40px;
  height: 38px;
  border: 1px solid #d8deef;
  border-radius: 8px;
  background: #fff;
  color: #3c4164;
  padding: 0 10px;
  transition: all 0.18s ease;
}

.listings-pagination button:hover:not(:disabled) {
  border-color: var(--admin-primary);
  color: var(--admin-primary);
}

.listings-pagination button.active {
  border-color: var(--admin-primary);
  background: var(--admin-primary);
  color: #fff;
}

.listings-pagination button.active:hover:not(:disabled) {
  border-color: var(--admin-primary);
  background: var(--admin-primary);
  color: #fff;
}

.listings-pagination button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.scroll-top-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 10px;
  background: var(--admin-primary-92);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  z-index: 1100;
}

.scroll-top-btn i {
  font-size: 17px;
  line-height: 1;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: var(--admin-primary-hover);
  border-color: var(--admin-primary);
  box-shadow: 0 10px 22px var(--admin-primary-28);
  transform: translateY(-2px);
}

.scroll-top-btn:active {
  transform: translateY(0);
}

.listings-subhero {
  position: relative;
  z-index: 15;
  min-height: 0;
  padding: 66px 0 42px;
  background: linear-gradient(135deg, rgba(var(--admin-primary-rgb), 0.96), rgba(var(--admin-primary-rgb), 0.62)), url('/img/bg.jpg') center/cover no-repeat;
}

.listings-subhero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 16, 52, 0.22), rgba(8, 16, 52, 0.58));
}

.listings-subhero .container {
  position: relative;
  z-index: 16;
  max-width: 1200px;
}

.hotel-rooms.spad-2 {
  position: relative;
  z-index: 1;
  padding-top: 20px;
}

.hotel-rooms.spad-2 > .container {
  max-width: 1200px;
}

@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
}

.listings-subhero .listings-realty-filter {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(20, 35, 98, 0.12);
  overflow: hidden;
}

.listings-inline-filters {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 220ms ease, transform 220ms ease;
}

.listings-floating-sidebar {
  display: none;
}

@media (min-width: 641px) {
  .listings-floating-sidebar {
    display: block;
    position: fixed;
    top: 132px;
    left: 16px;
    width: 290px;
    max-width: calc(100vw - 32px);
    z-index: 1210;
    opacity: 0;
    transform: translate3d(-12px, 0, 0);
    pointer-events: none;
    transition: opacity 240ms ease, transform 240ms ease;
  }

  .listings-floating-sidebar .listings-floating-form {
    background: #fff;
    border: 2px solid rgba(var(--admin-primary-rgb), 0.2);
    border-radius: 12px;
    box-shadow: 0 22px 42px rgba(15, 23, 62, 0.24);
    display: grid;
    grid-template-columns: 1fr;
    min-height: auto;
    max-height: none;
    overflow: visible;
  }

  .listings-floating-sidebar .listings-floating-form .floating-filters-header {
    display: grid;
    grid-template-columns: 1fr 32px;
    border-bottom: 2px solid rgba(var(--admin-primary-rgb), 0.15);
    border-radius: 12px 12px 0 0;
    overflow: hidden;
  }

  .listings-floating-sidebar .listings-floating-form .floating-filters-handle {
    border: 0;
    background: #f6f9ff;
    color: #213168;
    font-weight: 700;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 7px 10px;
  }

  .listings-floating-sidebar .listings-floating-form .floating-filters-collapse {
    border: 0;
    background: #f6f9ff;
    color: var(--admin-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .listings-floating-sidebar .listings-floating-form .floating-section {
    border-bottom: 0;
  }

  .listings-floating-sidebar .listings-floating-form .floating-section-divider {
    border-top: 1px solid #edf0f8;
    margin: 2px 10px;
  }

  .listings-floating-sidebar .listings-floating-form .floating-section-title {
    color: #2f3a63;
    padding: 5px 10px 4px;
    font-weight: 600;
    font-size: 11px;
  }

  .listings-floating-sidebar .listings-floating-form .floating-filters-content {
    max-height: 70vh;
    opacity: 1;
    overflow-y: auto;
    overflow-x: hidden;
    border-top: 1px solid rgba(var(--admin-primary-rgb), 0.1);
    box-shadow: inset 0 10px 18px rgba(15, 23, 62, 0.06);
    transition: max-height 220ms ease, opacity 200ms ease;
  }

  .listings-floating-sidebar .listings-floating-form .floating-toolbar-block {
    padding: 8px 10px 6px;
    border-bottom: 1px solid #edf0f8;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .listings-floating-sidebar .listings-floating-form .floating-toolbar-control {
    display: grid;
    gap: 4px;
  }

  .listings-floating-sidebar .listings-floating-form .floating-toolbar-control:last-child {
    grid-column: 1 / -1;
  }

  .listings-floating-sidebar .listings-floating-form .floating-toolbar-control span {
    color: #2f3a63;
    font-size: 12px;
    font-weight: 700;
  }

  .listings-floating-sidebar .listings-floating-form .floating-toolbar-control .ui-select {
    width: 100%;
  }

  .listings-floating-sidebar .listings-floating-form .floating-toolbar-control .ui-select-trigger {
    min-width: 0;
    width: 100%;
  }

  .listings-floating-sidebar .listings-floating-form .floating-toolbar-control .listings-view-toggle {
    width: max-content;
  }

  .listings-floating-sidebar .listings-floating-form .floating-filters-header.collapsed {
    border-bottom: 0;
    border-radius: 12px;
  }

  .listings-floating-sidebar .listings-floating-form .floating-filters-content.collapsed {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
  }

  .listings-floating-sidebar .listings-floating-form .floating-section-body {
    padding: 0 10px 6px;
  }

  .listings-page-shell.filters-floated .listings-floating-sidebar {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
  }
}

@media (min-width: 993px) {
  .listings-subhero {
    padding-top: 70px;
    padding-bottom: 44px;
  }
}

.main-menu {
  display: flex;
  align-items: center;
  margin: 0;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.header-burger-wrap {
  display: flex;
  align-items: center;
  position: absolute;
  right: 10px;
  top: 50%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(calc(-50% - 6px));
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.app-header.on-light .header-burger-wrap {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
@media (min-width: 640px) {
  .app-header.on-light .header-burger-wrap {
    right: 16px;
  }
}
@media (min-width: 1024px) {
  .app-header.on-light .header-burger-wrap {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

.header-tooltip-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 1200;
  min-width: 220px;
  background: rgba(12, 17, 66, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 8px;
  display: grid;
  gap: 4px;
  animation: header-bloop 0.22s cubic-bezier(0.2, 1.1, 0.25, 1);
  transform-origin: top right;
}

.header-tooltip-menu a {
  color: #fff;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
}

.header-tooltip-menu a:hover,
.header-tooltip-menu a.active {
  background: var(--admin-primary-22);
  color: #dbe7ff;
}

.header-tooltip-menu .tooltip-social-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.header-tooltip-menu .tooltip-social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0;
}

@keyframes header-bloop {
  0% {
    opacity: 0;
    transform: scale(0.82) translateY(-6px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.main-menu li {
  display: flex;
  align-items: center;
}

.app-header.on-hero.scrolled .main-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
}

.app-header.on-hero.scrolled .header-burger-wrap {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%);
  pointer-events: auto;
}

.main-menu li a {
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, font-weight 0.2s ease;
}

.main-menu li a:hover {
  border-bottom-color: var(--admin-primary);
}

.main-menu li a.active {
  border-bottom-color: transparent;
  font-weight: 700;
}

.hero-section {
  overflow: hidden;
}

.hero-fixed-layer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 633px;
  z-index: 900;
  transition: height 240ms cubic-bezier(0.22, 0.61, 0.36, 1);
  overflow: hidden;
}

.hero-flow-spacer {
  height: 633px;
}

.hero-bg-media {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 633px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  z-index: -2;
  will-change: transform;
  transition: transform 180ms linear;
}

.hero-overlay-line {
  display: none;
}

.hero-text {
  position: relative;
  z-index: 1;
}

.hero-fixed-layer .hero-brand-mark {
  transition: opacity 280ms ease, transform 280ms ease;
}

.hero-fixed-layer:is(:not(:hover)) .hero-brand-mark {
  opacity: 1;
}

.filter-form select,
.filter-form input[type="text"],
.filter-form input[type="search"],
.filter-form input[type="number"],
.filter-form input[type="email"] {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #e7e7e7;
  height: 34px;
  color: #6f6f8a;
  font-size: 14px;
  background: transparent;
}

.filter-form .search-btn button {
  width: 100%;
}

.realty-filter {
  display: grid;
  grid-template-columns: 1.35fr 1.35fr 1fr 1fr 0.9fr;
  align-items: center;
  height: auto !important;
  min-height: 115px;
  padding: 0 !important;
  overflow: visible;
}

.hero-realty-filter {
  --hero-filter-row-height: 98px;
  --hero-search-btn-height: 40px;
  height: auto !important;
  min-height: var(--hero-filter-row-height);
  max-height: var(--hero-filter-row-height);
  background: transparent !important;
  column-gap: 8px;
  padding: 0 8px !important;
  transition: min-height 240ms cubic-bezier(0.22, 0.61, 0.36, 1), max-height 240ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.hero-realty-filter .search-type,
.hero-realty-filter .location,
.hero-realty-filter .bedrooms,
.hero-realty-filter .search-btn {
  border-right: 0 !important;
  border-radius: 10px;
  background: #f4f7fc;
}

@media (min-width: 993px) {
  .hero-filter.compact .hero-realty-filter {
    --hero-filter-row-height: 84px;
    --hero-search-btn-height: 36px;
  }

  .hero-filter.compact .realty-filter .search-type,
  .hero-filter.compact .realty-filter .location,
  .hero-filter.compact .realty-filter .bedrooms,
  .hero-filter.compact .realty-filter .search-btn {
    padding: 11px 16px !important;
  }

  .hero-filter.compact .realty-filter .search-type p,
  .hero-filter.compact .realty-filter .location p,
  .hero-filter.compact .realty-filter .bedrooms p {
    margin-bottom: 4px !important;
    font-size: 12px;
    line-height: 1.1;
  }

  .hero-filter.compact .mcs-trigger {
    min-height: 30px;
    padding: 4px 10px;
  }

  .hero-filter.compact .realty-filter .search-btn button {
    min-height: var(--hero-search-btn-height);
    max-height: var(--hero-search-btn-height);
    height: var(--hero-search-btn-height);
  }
}

.filter-form.realty-filter,
.filter-form.realty-filter * {
  overflow: visible;
}

.realty-filter .filter-mobile-head {
  display: none;
}

.realty-filter .search-type,
.realty-filter .location,
.realty-filter .bedrooms,
.realty-filter .search-btn {
  float: none !important;
  width: auto !important;
  border-right: 1px solid #f3f3f3;
  padding: 18px 20px !important;
  margin: 0 !important;
}

.realty-filter .search-type,
.realty-filter .location,
.realty-filter .bedrooms {
  text-align: left !important;
}

.realty-filter .search-type p,
.realty-filter .location p,
.realty-filter .bedrooms p {
  margin-bottom: 10px !important;
  text-align: left !important;
  font-weight: 400;
}

.realty-filter .filter-cell {
  min-width: 0;
}

.realty-filter .search-btn {
  border-right: 0;
  padding: 8px 12px !important;
}

.realty-filter .search-btn button {
  width: 100% !important;
  height: var(--hero-search-btn-height, 40px);
  min-height: var(--hero-search-btn-height, 40px);
  max-height: var(--hero-search-btn-height, 40px);
  border-radius: 8px !important;
  padding: 0 10px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}


.listings-realty-filter {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 104px;
}

.hero-filter .mobile-filter-launch {
  display: none;
}

.hero-filter .mobile-filter-overlay {
  display: none;
}

.hero-filter {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
  transition: top 240ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.hero-filter .hero-filter-container {
  transition: none;
}

.mcs-wrapper {
  display: block;
  position: relative;
  width: 100% !important;
  min-width: 0;
}

.mcs-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100% !important;
  min-height: 34px;
  padding: 6px 10px;
  font-size: 13px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: rgba(255, 255, 255, 0.95);
  color: #6f6f8a;
  cursor: pointer;
  transition: background 0.15s, min-height 0.22s ease, padding 0.22s ease;
  text-align: left;
  justify-content: space-between;
}

.realty-filter .search-type,
.realty-filter .location,
.realty-filter .bedrooms,
.realty-filter .search-btn {
  transition: padding 240ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.realty-filter .search-type p,
.realty-filter .location p,
.realty-filter .bedrooms p {
  transition: margin-bottom 240ms cubic-bezier(0.22, 0.61, 0.36, 1), font-size 240ms cubic-bezier(0.22, 0.61, 0.36, 1), line-height 240ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.mcs-trigger:hover {
  background: #f9fafb;
}

.mcs-trigger-text {
  flex: 1;
  display: block;
  min-width: 0;
  line-height: 1.2;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mcs-chevron {
  font-size: 10px;
  opacity: 0.4;
  transition: transform 0.2s;
  margin-left: 4px;
}

.mcs-chevron-open {
  transform: rotate(180deg);
}

.mcs-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 220px;
  width: 100%;
  max-width: 360px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  z-index: 1200;
  overflow: hidden;
}

.hero-realty-filter .search-btn,
.listings-realty-filter .search-btn {
  display: flex;
  align-items: center;
}

.realty-filter .mcs-wrapper,
.realty-filter .mcs-trigger {
  width: 100% !important;
}

.mcs-search-wrap {
  position: relative;
  padding: 8px 8px 4px;
}

.mcs-search-icon {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  font-size: 11px;
  opacity: 0.35;
  pointer-events: none;
  margin-top: 2px;
}

.mcs-search {
  width: 100%;
  padding: 5px 8px 5px 26px;
  font-size: 13px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  outline: none;
}

.mcs-search:focus {
  border-color: var(--admin-primary);
  box-shadow: 0 0 0 2px var(--admin-primary-20);
}

.mcs-list {
  max-height: 240px;
  overflow-y: auto;
  padding: 4px 0;
}

.mcs-item {
  display: block;
  padding: 5px 12px;
  margin: 0;
  font-size: 13px;
  color: #5f5f7a;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.1s;
}

.mcs-item:hover {
  background: rgba(0, 0, 0, 0.04);
}

.mcs-item input[type="checkbox"] {
  accent-color: var(--admin-primary);
  width: 14px !important;
  height: 14px !important;
  cursor: pointer;
  vertical-align: middle;
  margin-right: 6px;
  border: 0 !important;
  border-bottom: 0 !important;
  min-height: 14px !important;
}

.mcs-item-text {
  vertical-align: middle;
}

.mcs-item-all {
  border-bottom: 1px solid #f3f4f6;
  margin-bottom: 2px;
  padding-bottom: 7px;
  font-weight: 500;
}

.mcs-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 6px 12px;
  border-top: 1px solid #f3f4f6;
  position: sticky;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
}

.mcs-reset,
.mcs-apply {
  padding: 3px 12px;
  font-size: 12px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  background: transparent;
  color: #6f6f8a;
  cursor: pointer;
  transition: all 0.15s;
}

.mcs-reset:hover {
  background: #f3f4f6;
  color: #1f2937;
}

.mcs-apply {
  border-color: var(--admin-primary);
  color: var(--admin-primary);
}

.mcs-apply:hover {
  background: var(--admin-primary);
  color: #fff;
}

.main-menu .top-social a {
  border-bottom: 0;
}

.app-header .main-menu .top-social {
  display: flex;
  align-items: center;
  margin-left: 14px;
  min-height: 40px;
}

.app-header .main-menu .top-social a {
  margin-left: 8px !important;
  width: 34px !important;
  height: 34px !important;
  min-height: 34px !important;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  padding: 0 !important;
  line-height: 1;
}

.app-header .main-menu .top-social a:first-child {
  margin-left: 0 !important;
}

.app-header .main-menu .top-social a:hover {
  border-color: currentColor;
}

.app-header.on-light .main-menu .top-social a:hover {
  color: var(--admin-primary);
  border-color: var(--admin-primary);
  background: var(--admin-primary-12);
}

.app-header .main-menu .top-social a i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  line-height: 1;
  vertical-align: middle;
}

.app-header.on-light {
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(18, 16, 82, 0.08);
}

.app-header.on-light .main-menu a {
  color: var(--admin-primary);
}

.app-header.on-light .top-social a {
  color: var(--admin-primary);
}

.hero-brand-mark {
  width: min(520px, 78vw);
  height: auto;
  margin: 0 auto;
  padding-top: 20px;
  margin-bottom: -10px;
  opacity: 1;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  transition: opacity 0.24s linear;
}

@media (max-width: 992px) {
  .hero-top-dock {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    pointer-events: none;
  }

  .hero-top-dock .app-header {
    pointer-events: auto;
  }

  .header-section {
    position: relative;
    background: #30304e;
    padding: 14px 0;
  }

  .hero-top-dock .header-section {
    background: rgba(var(--admin-primary-rgb), 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .app-header {
    position: relative;
  }

  .header-spacer {
    height: 0;
  }

  .app-header .col-lg-12 {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .logo,
  .main-menu {
    float: none;
  }

  .app-header .brand-logo {
    height: 64px;
  }

  .main-menu {
    display: none !important;
  }

  .app-header.on-hero.scrolled .header-burger-wrap,
  .header-burger-wrap {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    right: 14px;
    top: 50%;
    transform: translateY(-50%) !important;
  }

  .main-menu li a {
    margin-left: 12px;
    margin-right: 12px;
  }

  .app-header .logo {
    padding-right: 64px;
  }

  .app-header .brand-icon-link {
    display: none !important;
  }

  .app-header.on-light {
    background: #fff;
  }

  .app-header.on-light .main-menu li a {
    color: var(--admin-primary);
  }

  .hero-section {
    height: var(--hero-current-height, 633px);
    transition: height 220ms cubic-bezier(0.22, 0.61, 0.36, 1);
  }

  .hero-fixed-layer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--hero-current-height, 633px);
    transition: height 220ms cubic-bezier(0.22, 0.61, 0.36, 1);
  }

  .hero-flow-spacer {
    display: block;
    height: var(--hero-current-height, 633px);
    transition: height 220ms cubic-bezier(0.22, 0.61, 0.36, 1);
  }

  .hero-bg-media {
    height: 633px;
    background-attachment: scroll;
    transition: none;
  }

  .hero-fixed-layer .hero-brand-mark {
    transition: opacity 220ms ease;
  }

  .hero-filter .mobile-filter-launch {
    display: none;
    align-items: center;
    gap: 8px;
    border: 1px solid #dbdeec;
    background: #fff;
    color: #5e607f;
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 10px;
  }

  .hero-filter {
    display: none !important;
  }

  .hero-filter .hero-filter-container {
    width: auto;
    transform: none !important;
    max-width: 100%;
  }

  .hero-filter .filter-form.hero-realty-filter {
    display: none;
  }

  .hero-filter .filter-form.hero-realty-filter.mobile-open {
    display: grid;
    grid-template-columns: 1fr;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    top: auto;
    z-index: 999;
    min-height: auto;
    max-height: 76vh;
    overflow-y: auto;
    border-radius: 12px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
  }

  .hero-filter .mobile-filter-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 998;
  }

  .realty-filter .filter-mobile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f5;
    grid-column: 1 / -1;
  }

  .realty-filter .filter-mobile-head button {
    border: 1px solid #d9ddea;
    border-radius: 6px;
    background: #fff;
    width: 32px;
    height: 32px;
  }

  .realty-filter,
  .listings-realty-filter {
    grid-template-columns: repeat(2, 1fr);
    min-height: auto;
  }

  .realty-filter .search-type,
  .realty-filter .location,
  .realty-filter .bedrooms,
  .realty-filter .search-btn {
    width: 100% !important;
    border-right: 0 !important;
    border-bottom: 1px solid #f4f4f8;
    padding: 12px 16px !important;
  }

  .realty-filter .search-btn {
    border-bottom: 0;
  }

  .realty-filter .search-btn button {
    border-radius: 8px !important;
    min-height: 46px;
  }
}

@media (max-width: 575px) {
  .listings-realty-filter {
    grid-template-columns: 1fr;
  }

  .listings-extra-grid {
    grid-template-columns: 1fr;
  }

  .listings-toolbar {
    flex-wrap: wrap;
  }

  .listings-toolbar-left {
    flex: 1 1 100%;
    justify-content: stretch;
  }

  .listings-toolbar-left .listings-toolbar-control {
    flex: 1;
  }

  .listings-toolbar-left .listings-toolbar-control .ui-select {
    width: 100%;
  }

  .listings-toolbar-left .listings-toolbar-control .ui-select-trigger {
    width: 100%;
    min-width: 0;
  }

  .listings-toolbar-right {
    flex: 1 1 100%;
    margin-left: 0;
  }

  .listings-toolbar-right .listings-view-toggle {
    width: 100%;
    display: flex;
  }

  .listings-toolbar-right .listings-view-toggle button {
    flex: 1;
  }
}

@media (max-width: 780px) {
  .admin-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .hero-top-dock .hero-filter {
    display: none !important;
  }

  .listings-toolbar {
    align-items: flex-start;
  }

  .listings-toolbar-right {
    margin-left: 0;
  }

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

  .listings-subhero {
    padding: 16px 0 18px;
  }

  .popular-room .popular-room-text {
    padding-top: 6px;
  }

  .popular-room .popular-room-text .popular-btn-about {
    position: static !important;
    left: auto !important;
    top: auto !important;
    margin-top: 0;
    margin-bottom: 0;
  }

  .popular-room .popular-room-text .popular-btn-listings {
    margin-top: 0;
  }

  .popular-room .popular-room-text .popular-btn-row {
    margin-top: 12px;
    gap: 10px;
  }

  .popular-room .popular-room-text .popular-room-price span {
    font-size: 20px;
    line-height: 1.34;
  }

}

/* ── Global glass effect on ALL interactive elements ── */
button:not(.no-glass),
[class*="btn-"],
a[class*="bg-"],
.scroll-top-btn,
.burger-menu,
.app-header .menu-toggle,
.mcs-trigger,
.mcs-dropdown,
.mcs-reset,
.mcs-apply,
.ui-select-trigger,
.ui-select-menu,
.listings-view-toggle,
.listings-extra-filters,
.listings-extra-content,
.listings-floating-form {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05), 0 1px 1px rgba(255, 255, 255, 0.4) inset;
}

button:not(.no-glass):hover,
[class*="btn-"]:hover,
a[class*="bg-"]:hover,
.scroll-top-btn:hover,
.burger-menu:hover,
.app-header .menu-toggle:hover,
.mcs-trigger:hover,
.mcs-reset:hover,
.mcs-apply:hover,
.ui-select-trigger:hover,
.listings-view-toggle:hover,
.listings-extra-filters:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(255, 255, 255, 0.3) inset;
}

.listings-subhero .listings-extra-filters {
  box-shadow: 0 14px 28px rgba(15, 23, 62, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

.listings-subhero .listings-extra-filters:hover {
  box-shadow: 0 18px 36px rgba(15, 23, 62, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.listings-subhero .listings-extra-content {
  box-shadow: 0 22px 42px rgba(15, 23, 62, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

/* ── Language selector ─────────────────────────────────────────────── */

.lang-selector {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.lang-selector-inline { display: flex; flex-direction: column; }

.lang-selector-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: none;
  border-radius: 8px;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
  line-height: 1;
}

.lang-hero {
  background: rgba(10, 12, 52, 0.45);
  color: #fff;
}
.lang-hero:hover { background: rgba(10, 12, 52, 0.65); }

.lang-light {
  background: var(--admin-primary-12);
  color: var(--admin-primary);
}
.lang-light:hover { background: var(--admin-primary-20); }

.lang-burger {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 100%;
  justify-content: center;
  border-radius: 8px;
  padding: 7px 10px;
}
.lang-burger:hover { background: rgba(255, 255, 255, 0.18); }

.lang-flag {
  width: 18px;
  height: 18px;
  border-radius: 3px;
  object-fit: cover;
  flex-shrink: 0;
}

.lang-code { letter-spacing: 0.04em; }

.lang-chevron {
  font-size: 8px;
  opacity: 0.6;
  transition: transform 0.15s;
}
.lang-chevron-open { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 1200;
  min-width: 100px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(12, 17, 66, 0.96);
  padding: 4px;
  display: grid;
  gap: 2px;
  animation: header-bloop 0.18s ease-out;
}

.lang-dropdown-inline {
  position: static;
  margin-top: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  grid-template-columns: 1fr 1fr;
  width: 100%;
}
.lang-dropdown-inline .lang-option {
  padding: 6px 6px;
  gap: 6px;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.12s;
}
.lang-option:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.lang-option-active { background: rgba(255, 255, 255, 0.08); color: #fff; }

/* ══════════════════════════════════════════════════════════════════════
   Responsive typography & spacing refinements
   ══════════════════════════════════════════════════════════════════════ */

/* ── Cards: better mobile readability ── */

/* Card image — shorter on single-column mobile so card feels compact */
@media (max-width: 575px) {
  .listing-card .room-img {
    height: 220px;
  }

  /* Tighter gap between stacked cards */
  .room-items.listing-card {
    margin-bottom: 18px;
  }
}

/* Card text section — compact & readable on mobile */
@media (max-width: 767px) {
  .room-items .room-text {
    padding: 12px 14px 14px;
  }

  /* Adjust negative-margin bleed to match new padding */
  .room-items .room-text .room-details {
    margin-left: -14px;
    margin-right: -14px;
  }

  .room-items .room-text .room-details .room-title {
    padding: 0 14px;
  }

  /* Title: let it flow naturally — no forced 2-line height on wide mobile cards */
  .listing-card .room-text .room-details .room-title h5 {
    font-size: 17px;
    min-height: 0;
    max-height: none;
    -webkit-line-clamp: 2;
    margin-bottom: 0;
  }

  /* Location: from 13px → 14px */
  .listing-card-location {
    font-size: 14px;
  }

  /* Surface items: from 12.5px → 13px */
  .listing-card-surface-item {
    font-size: 13px;
  }

  .listing-card-surface-item i {
    font-size: 11.5px;
  }

  /* Price row: compact */
  .listing-card-price-row {
    margin-top: 1px;
  }

  .listing-card-price-row p {
    font-size: 14px;
  }

  .listing-card-price-row span {
    font-size: 17px;
  }

  /* Button: reasonable tap target but not oversized */
  .listing-card-btn {
    padding: 9px 14px;
    font-size: 14px;
    margin-top: 5px;
  }

  /* Meta row: auto height, no forced box */
  .listing-card-meta-row {
    height: auto;
    min-height: 0;
    padding: 1px 0 0;
  }
}

/* ── Homepage: section title / SEO headline ── */

/* Better line-height on small mobile so long text doesn't feel cramped */
@media (max-width: 640px) {
  .home-seo-headline {
    line-height: 1.26;
  }

  .home-seo-headline .home-seo-headline-sub {
    margin-top: 10px;
    font-size: 0.82em;
    line-height: 1.28;
  }

  .section-title {
    margin-bottom: 40px;
  }
}

@media (max-width: 479px) {
  .home-seo-headline {
    font-size: 22px;
    line-height: 1.3;
  }
}

/* ── Homepage: popular-room (about agency) ── */

/* Reduce excessive vertical padding on mobile */
@media (max-width: 767px) {
  .popular-room.p-in {
    padding: 80px 0 60px;
  }

  .popular-items {
    padding: 22px 18px 22px;
  }

  .popular-room .popular-room-text .popular-room-title h5 {
    font-size: 16px;
    line-height: 1.35;
  }

  .popular-room .popular-room-text .popular-room-desc p {
    font-size: 14px;
    line-height: 1.55;
  }

  .popular-room .popular-room-text .popular-room-price span {
    font-size: 18px;
    line-height: 1.38;
  }
}

/* ── Homepage: newsletter section ── */
@media (max-width: 640px) {
  .newslatter-section {
    padding: 50px 0 60px;
  }

  .newslatter-section .newslatter-text h4 {
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 24px;
  }
}

/* ── Homepage: services / checklist section ── */
@media (max-width: 767px) {
  .services-section {
    padding-top: 50px;
    padding-bottom: 40px;
  }

  .left-side h2 {
    font-size: 22px;
    line-height: 1.35;
  }

  .left-side h2 span {
    font-size: 26px;
  }

  .left-side p {
    font-size: 15px;
    line-height: 1.55;
  }

  .right-side ul li {
    font-size: 15px;
    line-height: 1.5;
  }
}

@media (max-width: 479px) {
  .left-side h2 {
    font-size: 20px;
    line-height: 1.35;
  }

  .left-side h2 span {
    font-size: 23px;
  }
}

/* ── Homepage: instagram / bottom heading ── */
@media (max-width: 640px) {
  .instagram h2 {
    font-size: 22px;
    line-height: 1.35;
  }
}

/* ── Footer: bump tiny text on mobile ── */
@media (max-width: 640px) {
  .footer-section .single-blog .rt-side h6 {
    font-size: 14.5px;
    line-height: 1.4;
  }

  .footer-section .copyright {
    font-size: 13px;
  }
}

/* ── About page: counter, heading, padding ── */
@media (max-width: 767px) {
  .about-us .about-text-warp {
    padding: 50px 15px;
  }

  .single-counter .counter-info span {
    font-size: 40px;
  }

  .single-counter .counter-info p {
    font-size: 14px;
  }

  .team-section .single-team .membr-info h2 {
    font-size: 22px;
  }
}

@media (max-width: 479px) {
  .single-counter .counter-info span {
    font-size: 34px;
  }

  .about-us .about-text h2 {
    font-size: 24px;
    line-height: 1.35;
  }
}

/* ── Listing detail: property title & price ── */
@media (max-width: 479px) {
  .property-title h3 {
    font-size: 20px;
  }

  .property-title a {
    font-size: 15px;
  }

  .property-price span {
    font-size: 24px;
  }

  .property-price p {
    font-size: 15px;
  }
}

/* ── Contact page: inputs, padding, textarea ── */
@media (max-width: 767px) {
  .contact-section {
    padding-top: 50px;
    padding-bottom: 60px;
  }

  .contact-form input {
    font-size: 14px;
  }

  .contact-form textarea {
    font-size: 14px;
    height: 140px;
  }
}

/* ── Global: prevent text from being too small on any screen ── */
@media (max-width: 479px) {
  .hotel-rooms.spad {
    padding-top: 44px;
    padding-bottom: 40px;
  }

  .section-title {
    margin-bottom: 32px;
  }

  .section-title h2 {
    font-size: 20px;
    line-height: 1.45;
  }

  .section-title h2 span {
    font-size: 28px;
  }
}
