/* Header legacy + search modal + FAB */
.main__logo--img { max-height: 40px; }
.main__logo--link { text-decoration: none; }
.header__menu--items .dropdown-menu { min-width: 180px; }
.drop-nav .dropdown-item { padding: 0.5rem 1rem; }

/* Search modal shell — layout in search-modal.css */
#globalPopupModal .search-modal-content,
#globalPopupModal .modal-content {
  background: transparent;
  border: none;
}

/* Bottom Search FAB — flat surface, SVG icon (pixel-perfect center), neutral elevation */
.bottom-search-fab {
  position: fixed;
  z-index: 1040;
  right: max(16px, env(safe-area-inset-right, 0px));
  width: 45px;
  height: 45px;
  padding: 0;
  border: none;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  background-color: #f4f8f7;
  box-shadow:
    0 1px 2px rgba(11, 18, 32, 0.06),
    0 4px 12px rgba(11, 18, 32, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.bottom-search-fab--mobile {
  bottom: calc(var(--bottom-nav-total, 88px) + 12px + env(safe-area-inset-bottom, 0px));
}

.bottom-search-fab--desktop {
  bottom: max(24px, env(safe-area-inset-bottom, 0px));
}


.bottom-search-fab:focus-visible {
  outline: 2px solid #0d9266;
  outline-offset: 3px;
}

.bottom-search-fab__icon {
  display: block;
  flex-shrink: 0;
  pointer-events: none;
}

.bottom-search-fab__icon--img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
  padding: 5px;
  border: 2px solid #052a75;
}

@media (min-width: 768px) {
  .bottom-search-fab--desktop {
    right: max(24px, env(safe-area-inset-right, 0px));
  }
}

/* Bottom nav without --index (new structure) */
.bottom-nav:not(.bottom-nav--index) {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--bottom-nav-height, 70px);
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid rgba(0,0,0,0.08);
  z-index: 1030;
}
.bottom-nav .nav-link {
  color: rgba(15, 23, 42, 0.65);
  font-size: 0.7rem;
  padding: 0.5rem 0.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  font-weight: 600;
}
.bottom-nav .nav-link.active { color: var(--bs-primary, #0a84ff); }
.bottom-nav .add-fab {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d9266, #2f5311);
  color: #fff !important;
  transform: translateY(-8px);
}

/* Properties page */
.product-d-breadcrumbs-menu { gap: 2px; }
.product-d-breadcrumbs-menu a { color: inherit; text-decoration: none; }
.product-d-breadcrumbs-menu a:hover { text-decoration: underline; }
.properties-sticky-top { position: sticky; top: 0; z-index: 100; background: #fff; }
.activec { font-weight: 600; }
