/* Shared tenant storefront + results chrome (scoped tpc-*). Safe alongside LP Luxury template CSS. */
.tpc-wrap {
  --tpc-navy: #0d1f38;
  --tpc-navy-mid: #1a3358;
  --tpc-white: #ffffff;
  --tpc-border: #e2e8f0;
  --tpc-muted: #4a5568;
  --tpc-accent: #d97706;
  --tpc-accent-border: #fcd34d;
  --tpc-shadow: 0 1px 4px rgba(13, 31, 56, 0.08), 0 1px 2px rgba(13, 31, 56, 0.05);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

.tpc-announcement {
  background: var(--tpc-navy);
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  padding: 9px 16px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.1px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.tpc-announcement-badge {
  background: var(--tpc-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.tpc-announcement-text {
  line-height: 1.35;
}

.tpc-announcement-link {
  color: var(--tpc-accent-border);
  text-decoration: underline;
  cursor: pointer;
  white-space: nowrap;
}

.tpc-navbar {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--tpc-white);
  border-bottom: 1px solid var(--tpc-border);
  min-height: 62px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 8px;
  box-shadow: var(--tpc-shadow);
}

.tpc-navbar--logo-only {
  justify-content: flex-start;
}

.tpc-nav-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--tpc-navy);
  text-decoration: none;
  letter-spacing: -0.5px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tpc-nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.tpc-nav-logo-text em {
  font-style: italic;
  color: #e05e3c;
}

.tpc-nav-spacer {
  flex: 1;
}

.tpc-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.tpc-nav-deals-country {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.tpc-deals-country-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--tpc-muted);
  white-space: nowrap;
}

.tpc-select--country {
  min-width: 10rem;
  max-width: min(42vw, 14rem);
}

.tpc-select {
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1.5px solid var(--tpc-border);
  background: var(--tpc-white);
  color: var(--tpc-muted);
  cursor: pointer;
  max-width: 100%;
}

.tpc-btn {
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--tpc-border);
  background: transparent;
  color: var(--tpc-muted);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.tpc-btn:hover {
  border-color: var(--tpc-navy);
  color: var(--tpc-navy);
  background: #f7f6f3;
}

.tpc-btn-solid {
  background: var(--tpc-navy);
  color: var(--tpc-white) !important;
  border-color: var(--tpc-navy);
  font-weight: 600;
}

.tpc-btn-solid:hover {
  background: var(--tpc-navy-mid);
  border-color: var(--tpc-navy-mid);
  color: var(--tpc-white) !important;
}

.tpc-inline-form {
  display: inline-flex;
  margin: 0;
}

.tpc-inline-form .tpc-btn {
  background: transparent;
}

.tpc-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1.5px solid var(--tpc-border);
  border-radius: 8px;
  background: var(--tpc-white);
  cursor: pointer;
}

.tpc-menu-toggle span {
  display: block;
  height: 2px;
  width: 20px;
  background: var(--tpc-navy);
  margin: 0 auto;
  transition: transform 0.2s;
}

.tpc-menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.tpc-menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.tpc-menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .tpc-menu-toggle {
    display: flex;
  }

  .tpc-navbar {
    flex-wrap: wrap;
    position: relative;
  }

  .tpc-nav-actions {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 0 8px;
    border-top: 1px solid var(--tpc-border);
    margin-top: 8px;
  }

  .tpc-nav-actions.is-open {
    display: flex;
  }

  .tpc-select,
  .tpc-btn {
    width: 100%;
    justify-content: center;
  }

  .tpc-nav-deals-country {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .tpc-select--country {
    max-width: none;
  }
}

/* Footer */
.tpc-site-footer {
  background: var(--tpc-navy, #0d1f38);
  color: rgba(255, 255, 255, 0.92);
  padding: 2.75rem 1.25rem 1.25rem;
  margin-top: 2rem;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

.tpc-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.tpc-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.tpc-footer-col h3,
.tpc-footer-col h4 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.tpc-footer-col p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 0.45rem;
  font-size: 0.92rem;
  line-height: 1.5;
}

.tpc-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tpc-footer-links li {
  margin-bottom: 0.45rem;
}

.tpc-footer-links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s;
}

.tpc-footer-links a:hover {
  color: #fff;
}

.tpc-footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  line-height: 1.6;
}

.tpc-footer-bottom p {
  margin: 0.25rem 0;
}

@media (max-width: 768px) {
  .tpc-footer-grid {
    grid-template-columns: 1fr;
  }
}
