/* =====================================================================
 * UI EXTRAS — toast, lightbox, skeleton, sticky CTA, animated hamburger,
 * sticky header shrink, share button, cookie banner, floating quick
 * actions, breadcrumbs.
 * Pairs with js/ui-extras.js. No markup changes required — JS injects
 * the components, CSS defines them.
 * ===================================================================== */

/* ============================================================
 * SKIP TO CONTENT — accessibility
 * ============================================================ */
.skip-to-content {
  position: fixed;
  top: -100px; left: 1rem;
  z-index: 100000;
  background: var(--brand-navy, #0f2f4f);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: var(--r-md, 12px);
  text-decoration: none;
  font-weight: 700;
  box-shadow: var(--shadow-3, 0 16px 36px rgba(15,47,79,.18));
  transition: top 200ms cubic-bezier(.2,.8,.2,1);
}
.skip-to-content:focus {
  top: 1rem;
  outline: 2px solid var(--brand-gold, #e0b973);
  outline-offset: 2px;
}

/* ============================================================
 * TOAST SYSTEM — bottom-center stack
 * ============================================================ */
#toast-stack {
  position: fixed;
  bottom: max(1rem, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 100000;
  pointer-events: none;
  width: min(420px, calc(100vw - 2rem));
}
.toast {
  pointer-events: auto;
  background: var(--brand-navy, #0f2f4f);
  color: #fff;
  padding: 14px 18px;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(15, 47, 79, 0.28);
  font-size: 0.95rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toast-in 320ms cubic-bezier(.2,.8,.2,1) both;
  border-left: 3px solid var(--brand-gold, #e0b973);
}
.toast.is-leaving {
  animation: toast-out 240ms cubic-bezier(.4,0,1,1) both;
}
.toast.toast-success { border-left-color: #2ecc71; }
.toast.toast-error   { border-left-color: #e74c3c; }
.toast.toast-info    { border-left-color: var(--brand-gold, #e0b973); }
.toast i { font-size: 1.1rem; }
.toast-success i { color: #2ecc71; }
.toast-error i   { color: #ff6e6e; }
.toast-info i    { color: var(--brand-gold, #e0b973); }
.toast-close {
  margin-left: auto;
  background: transparent;
  border: 0;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  font-size: 1rem;
  padding: 4px;
  border-radius: 4px;
  transition: color 160ms;
}
.toast-close:hover { color: #fff; }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes toast-out {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to   { opacity: 0; transform: translateY(20px) scale(0.96); }
}

/* ============================================================
 * SKELETON LOADING — for property cards, etc.
 * ============================================================ */
.skeleton {
  background: linear-gradient(90deg,
    rgba(15,47,79,0.06) 0%,
    rgba(15,47,79,0.12) 50%,
    rgba(15,47,79,0.06) 100%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s linear infinite;
  border-radius: var(--r-md, 12px);
}
@keyframes skeleton-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton-card {
  background: #fff;
  border-radius: var(--r-lg, 16px);
  padding: 0 0 16px;
  box-shadow: var(--shadow-1, 0 1px 2px rgba(15,47,79,.04));
  overflow: hidden;
  border: 1px solid var(--line, rgba(15,47,79,0.10));
}
.skeleton-card .skeleton-image { width: 100%; aspect-ratio: 16/10; }
.skeleton-card .skeleton-line  { height: 14px; margin: 12px 16px 0; border-radius: 6px; }
.skeleton-card .skeleton-line.short { width: 40%; height: 12px; }
.skeleton-card .skeleton-line.med   { width: 70%; }
.skeleton-card .skeleton-line.long  { width: 90%; }

/* ============================================================
 * LIGHTBOX GALLERY — full-screen photo viewer
 * ============================================================ */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(8, 18, 33, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99000;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: lb-fade 200ms ease-out;
}
.lightbox.is-open { display: flex; }
.lightbox-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 60px;
}
.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--r-md, 12px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  animation: lb-pop 280ms cubic-bezier(.2,.8,.2,1);
  user-select: none;
  -webkit-user-drag: none;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  border: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: background 160ms, transform 160ms;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev  { left: 16px;  top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover, .lightbox-next:hover { transform: translateY(-50%) scale(1.05); }

.lightbox-counter {
  position: absolute;
  bottom: 16px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  background: rgba(0,0,0,0.4);
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lb-pop {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}
@media (max-width: 640px) {
  .lightbox-stage { padding: 50px 8px; }
  .lightbox-close, .lightbox-prev, .lightbox-next {
    width: 40px; height: 40px; font-size: 1rem;
  }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

/* Cursor hint that property images are clickable */
.property-image, .photo-preview-img,
[data-lightbox], .gallery-thumb {
  cursor: zoom-in;
}

/* ============================================================
 * STICKY HEADER — shrinks on scroll
 * ============================================================ */
header {
  transition: padding 240ms cubic-bezier(.2,.8,.2,1),
              backdrop-filter 240ms cubic-bezier(.2,.8,.2,1),
              background 240ms cubic-bezier(.2,.8,.2,1),
              box-shadow 240ms cubic-bezier(.2,.8,.2,1);
}
body.is-scrolled header {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: var(--shadow-1, 0 2px 8px rgba(15,47,79,.07));
}
body.is-scrolled .header-inner {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

/* ============================================================
 * ANIMATED HAMBURGER — morph into X
 * ============================================================ */
.mobile-menu-toggle .hamburger-icon {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 16px;
  position: relative;
}
.mobile-menu-toggle .hamburger-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 280ms cubic-bezier(.65,0,.35,1),
              opacity 200ms cubic-bezier(.65,0,.35,1),
              top 280ms cubic-bezier(.65,0,.35,1);
  transform-origin: center;
  position: relative;
}
.mobile-menu-toggle.is-open .hamburger-icon span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle.is-open .hamburger-icon span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.mobile-menu-toggle.is-open .hamburger-icon span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
 * STICKY MOBILE CTA — for property detail "Mám zájem"
 * ============================================================ */
.mobile-sticky-cta {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 9000;
  display: none;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  padding: 12px 16px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  box-shadow: 0 -6px 20px rgba(15, 47, 79, 0.10);
  border-top: 1px solid var(--line, rgba(15,47,79,0.10));
  transform: translateY(110%);
  transition: transform 320ms cubic-bezier(.2,.8,.2,1);
}
.mobile-sticky-cta.is-visible { transform: translateY(0); }
.mobile-sticky-cta-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 720px;
  margin: 0 auto;
}
.mobile-sticky-cta .price {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brand-navy, #0f2f4f);
  flex: 1;
  letter-spacing: -0.01em;
}
.mobile-sticky-cta .btn-cta {
  background: linear-gradient(135deg, var(--brand-gold, #e0b973), var(--brand-gold-deep, #c89a4d));
  color: var(--brand-navy, #0f2f4f);
  border: 0;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 160ms cubic-bezier(.2,.8,.2,1), box-shadow 200ms;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
}
.mobile-sticky-cta .btn-cta:hover { box-shadow: 0 6px 20px rgba(224,185,115,.4); }
.mobile-sticky-cta .btn-cta:active { transform: scale(0.97); }
@media (min-width: 769px) {
  .mobile-sticky-cta { display: none !important; }
}
@media (max-width: 768px) {
  .mobile-sticky-cta { display: block; }
  /* Add bottom padding to body so content isn't hidden behind sticky CTA */
  body.has-sticky-cta { padding-bottom: 80px; }
}

/* ============================================================
 * FLOATING QUICK ACTIONS — phone + WhatsApp, mobile only
 * ============================================================ */
.quick-actions {
  position: fixed;
  right: 1rem;
  bottom: max(5rem, calc(5rem + env(safe-area-inset-bottom)));
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 8500;
}
.quick-actions a {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(15, 47, 79, 0.25);
  transition: transform 180ms cubic-bezier(.2,.8,.2,1), box-shadow 180ms;
  animation: qa-pop 400ms cubic-bezier(.2,.8,.2,1) both;
}
.quick-actions a:nth-child(1) { animation-delay: 60ms; }
.quick-actions a:nth-child(2) { animation-delay: 120ms; }
.quick-actions a.qa-phone     { background: linear-gradient(135deg, #1f7a3a, #2ecc71); }
.quick-actions a.qa-whatsapp  { background: linear-gradient(135deg, #128c7e, #25d366); }
.quick-actions a:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 12px 30px rgba(15,47,79,.32); }
.quick-actions a:active { transform: scale(0.95); }
@keyframes qa-pop {
  from { opacity: 0; transform: translateY(20px) scale(0.5); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@media (min-width: 769px) {
  .quick-actions { display: none; }
}

/* ============================================================
 * SHARE BUTTON — appears on property detail
 * ============================================================ */
.share-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--surface-2, #f7f9fc);
  border: 1px solid var(--line, rgba(15,47,79,0.10));
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brand-navy, #0f2f4f);
  cursor: pointer;
  transition: background 160ms, border-color 160ms, transform 160ms;
}
.share-button:hover {
  background: var(--surface-3, #eef2f7);
  border-color: var(--line-strong, rgba(15,47,79,0.18));
  transform: translateY(-1px);
}
.share-menu {
  position: absolute;
  background: #fff;
  border-radius: var(--r-md, 12px);
  box-shadow: var(--shadow-3, 0 16px 36px rgba(15,47,79,.18));
  padding: 8px;
  min-width: 200px;
  z-index: 1000;
  display: none;
  animation: share-pop 220ms cubic-bezier(.2,.8,.2,1) both;
}
.share-menu.is-open { display: flex; flex-direction: column; gap: 2px; }
.share-menu button,
.share-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: transparent;
  border: 0;
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
  font-size: 0.92rem;
  color: var(--ink-1, #0e1a2b);
  text-decoration: none;
  transition: background 140ms;
  width: 100%;
}
.share-menu button:hover,
.share-menu a:hover { background: var(--surface-2, #f7f9fc); }
.share-menu .share-fb i  { color: #1877f2; }
.share-menu .share-wa i  { color: #25d366; }
.share-menu .share-tg i  { color: #29a9eb; }
.share-menu .share-copy i { color: var(--brand-gold, #e0b973); }
@keyframes share-pop {
  from { opacity: 0; transform: translateY(6px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ============================================================
 * COOKIE CONSENT BANNER
 * ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%) translateY(150%);
  width: min(560px, calc(100vw - 2rem));
  background: #fff;
  border: 1px solid var(--line, rgba(15,47,79,0.10));
  border-radius: var(--r-lg, 16px);
  box-shadow: var(--shadow-3, 0 16px 36px rgba(15,47,79,.18));
  padding: 1.25rem;
  z-index: 95000;
  transition: transform 380ms cubic-bezier(.2,.8,.2,1);
  font-size: 0.92rem;
  line-height: 1.5;
}
.cookie-banner.is-visible {
  transform: translateX(-50%) translateY(0);
}
.cookie-banner h4 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: var(--brand-navy, #0f2f4f);
}
.cookie-banner p { margin: 0 0 12px; color: var(--ink-2, #324358); }
.cookie-banner-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cookie-banner button {
  padding: 8px 16px;
  border-radius: 999px;
  border: 0;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
  transition: transform 160ms, filter 160ms;
}
.cookie-banner button:hover { transform: translateY(-1px); filter: brightness(1.05); }
.cookie-banner .btn-accept {
  background: var(--brand-gold, #e0b973);
  color: var(--brand-navy, #0f2f4f);
  flex: 1;
}
.cookie-banner .btn-decline {
  background: var(--surface-2, #f7f9fc);
  color: var(--ink-2, #324358);
  border: 1px solid var(--line, rgba(15,47,79,0.10));
}

/* ============================================================
 * BREADCRUMBS — for property detail
 * ============================================================ */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--ink-3, #6b7a8c);
  margin: 1rem 0 0.5rem;
  flex-wrap: wrap;
}
.breadcrumbs a {
  color: var(--ink-2, #324358);
  text-decoration: none;
  transition: color 160ms;
}
.breadcrumbs a:hover { color: var(--brand-navy, #0f2f4f); }
.breadcrumbs .sep { color: var(--ink-3, #6b7a8c); opacity: 0.6; }
.breadcrumbs .current {
  color: var(--brand-navy, #0f2f4f);
  font-weight: 600;
}

/* ============================================================
 * REVIEWS — scroll-snap on mobile
 * ============================================================ */
@media (max-width: 768px) {
  .reviews-track {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .reviews-track > * {
    scroll-snap-align: center;
  }
}

/* ============================================================
 * FORM VALIDATION STATES
 * ============================================================ */
input.is-valid, textarea.is-valid, select.is-valid {
  border-color: #2ecc71 !important;
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.15) !important;
}
input.is-invalid, textarea.is-invalid, select.is-invalid {
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.15) !important;
}
.field-hint {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.005em;
}
.field-hint.hint-error   { color: #c0392b; }
.field-hint.hint-success { color: #27ae60; }

/* ============================================================
 * PENB ENERGY CLASS BADGE
 * ============================================================ */
.penb-wrap {
  margin: 1.25rem 0;
  background: #fff;
  border: 1px solid var(--line, rgba(15,47,79,0.10));
  border-radius: var(--r-md, 12px);
  padding: 14px 16px;
}
.penb-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-2, #324358);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.penb-scale {
  display: flex;
  gap: 2px;
  align-items: stretch;
}
.penb-cell {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  padding: 8px 4px;
  border-radius: 4px;
  font-size: 0.85rem;
  opacity: 0.4;
  transition: transform 200ms cubic-bezier(.2,.8,.2,1), opacity 200ms;
}
.penb-A { background: #1a9a47; }
.penb-B { background: #5fbc44; }
.penb-C { background: #c4d837; }
.penb-D { background: #f1d800; color: #444; }
.penb-E { background: #f5b220; }
.penb-F { background: #e87320; }
.penb-G { background: #d83232; }
.penb-cell.is-active {
  opacity: 1;
  transform: scale(1.18);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  z-index: 1;
}

/* ============================================================
 * PROPERTY MAP EMBED
 * ============================================================ */
.property-map-embed {
  margin: 2rem 0;
}
.property-map-embed .map-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-navy, #0f2f4f);
  margin-bottom: 12px;
}
.property-map-embed .map-heading i { color: var(--brand-gold, #e0b973); }
.property-map-embed .map-wrap {
  position: relative;
  width: 100%;
  height: 360px;
  border-radius: var(--r-lg, 16px);
  overflow: hidden;
  box-shadow: var(--shadow-2, 0 6px 16px rgba(15,47,79,.07));
  border: 1px solid var(--line, rgba(15,47,79,0.10));
}
.property-map-embed .map-wrap iframe { display: block; }
.property-map-embed .map-address {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--ink-2, #324358);
  display: flex;
  align-items: center;
  gap: 6px;
}
.property-map-embed .map-address i { color: var(--brand-gold, #e0b973); }
@media (max-width: 768px) {
  .property-map-embed .map-wrap { height: 280px; }
}

/* ============================================================
 * SIMILAR PROPERTIES
 * ============================================================ */
.similar-properties {
  margin: 3rem 0 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line, rgba(15,47,79,0.10));
}
.similar-heading {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--brand-navy, #0f2f4f);
  margin-bottom: 1.25rem;
}
.similar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.similar-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line, rgba(15,47,79,0.10));
  border-radius: var(--r-lg, 16px);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-1, 0 1px 4px rgba(15,47,79,.06));
  transition: transform 240ms cubic-bezier(.2,.8,.2,1), box-shadow 240ms;
}
.similar-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-3, 0 16px 36px rgba(15,47,79,.18)); }
.similar-img {
  width: 100%;
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  background-color: var(--surface-3, #eef2f7);
}
.similar-body { padding: 12px 14px; }
.similar-title { font-weight: 600; font-size: 0.95rem; color: var(--brand-navy, #0f2f4f); line-height: 1.3; }
.similar-price { margin-top: 4px; font-weight: 700; color: var(--brand-gold-deep, #c89a4d); font-size: 1rem; }

/* ============================================================
 * LIGHTBOX THUMBNAIL STRIP
 * ============================================================ */
.lightbox-thumbs {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  max-width: calc(100vw - 32px);
  overflow-x: auto;
  padding: 6px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 999px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.lightbox-thumbs::-webkit-scrollbar { display: none; }
.lightbox-thumb {
  flex: 0 0 auto;
  width: 56px;
  height: 40px;
  border: 2px solid transparent;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: transform 160ms cubic-bezier(.2,.8,.2,1), border-color 160ms, opacity 160ms;
  opacity: 0.6;
  padding: 0;
}
.lightbox-thumb:hover { opacity: 1; transform: scale(1.05); }
.lightbox-thumb.is-active {
  opacity: 1;
  border-color: var(--brand-gold, #e0b973);
  transform: scale(1.05);
}
@media (max-width: 640px) {
  .lightbox-thumbs { bottom: 50px; }
  .lightbox-thumb { width: 48px; height: 32px; }
}

/* ============================================================
 * PROPERTY FILTER BAR
 * ============================================================ */
.property-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line, rgba(15,47,79,0.10));
  border-radius: var(--r-lg, 16px);
  margin: 1rem 0 1.5rem;
  box-shadow: var(--shadow-1, 0 1px 4px rgba(15,47,79,.06));
}
.property-filter-bar .filter-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.property-filter-bar .filter-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-2, #324358);
  margin-right: 4px;
}
.property-filter-bar .chip {
  background: var(--surface-2, #f7f9fc);
  color: var(--ink-2, #324358);
  border: 1px solid transparent;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 160ms, color 160ms, border-color 160ms, transform 120ms;
}
.property-filter-bar .chip:hover { background: var(--surface-3, #eef2f7); transform: translateY(-1px); }
.property-filter-bar .chip.is-active {
  background: var(--brand-navy, #0f2f4f);
  color: #fff;
  border-color: var(--brand-navy, #0f2f4f);
}
.property-filter-bar .filter-controls {
  margin-left: auto;
  display: flex;
  gap: 8px;
  align-items: center;
}
.property-filter-bar .filter-sort {
  border: 1px solid var(--line, rgba(15,47,79,0.10));
  background: #fff;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%230f2f4f' stroke-width='2'%3E%3Cpolyline points='2 2 6 6 10 2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
}
.property-filter-bar .filter-clear {
  background: transparent;
  color: var(--ink-3, #6b7a8c);
  border: 0;
  padding: 6px 10px;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
}
.property-filter-bar .filter-clear:hover { color: var(--brand-navy, #0f2f4f); }

.empty-state {
  padding: 3rem 1rem;
  text-align: center;
  color: var(--ink-3, #6b7a8c);
}
.empty-state i { font-size: 2.5rem; color: var(--brand-gold, #e0b973); display: block; margin-bottom: 12px; }

/* ============================================================
 * ADMIN SEARCH BAR
 * ============================================================ */
.admin-search-bar {
  margin-bottom: 1rem;
}
.admin-search-bar .search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.admin-search-bar .search-input-wrap i {
  position: absolute;
  left: 14px;
  color: var(--ink-3, #6b7a8c);
  pointer-events: none;
}
.admin-search-input {
  width: 100%;
  padding: 12px 14px 12px 40px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(15, 47, 79, 0.10) !important;
  font-size: 1rem !important;
  background: #fff;
  transition: border-color 160ms, box-shadow 200ms;
}
.admin-search-input:focus {
  outline: none;
  border-color: var(--a-gold, #e0b973) !important;
  box-shadow: 0 0 0 4px rgba(224, 185, 115, 0.18) !important;
}
.admin-search-bar .search-count {
  position: absolute;
  right: 16px;
  font-size: 0.8rem;
  color: var(--ink-3, #6b7a8c);
  font-weight: 600;
  pointer-events: none;
}

/* ============================================================
 * SR-ONLY — visually hidden but available to screen readers
 * ============================================================ */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
