/* Property detail — distinct layout; spacing matches home (.results-section rhythm). */

.property-shell {
  --property-max: 1120px;
  --property-pad-x: 40px;
  --property-pad-x-sm: 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--white);
}

/* Full-width results band inside flex shell (matches home flow) */
.property-shell > .results-section {
  width: 100%;
  align-self: stretch;
  flex: 0 0 auto;
  box-sizing: border-box;
}

.property-shell turbo-frame#venue_grid {
  display: block;
  width: 100%;
  box-sizing: border-box;
}

.property-shell__top {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
}

.property-shell__inner {
  width: 100%;
  max-width: var(--property-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--property-pad-x);
  padding-right: var(--property-pad-x);
  box-sizing: border-box;
}

.property-shell__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  gap: 16px;
}

.property-shell__trail {
  padding-top: 16px;
  padding-bottom: 8px;
}

.property-shell__breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-400);
}

.property-shell__breadcrumb a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color var(--transition);
}

.property-shell__breadcrumb a:hover {
  color: var(--black);
}

.property-shell__breadcrumb .sep {
  color: var(--gray-300);
}

.property-shell__breadcrumb .current {
  color: var(--gray-600);
}

/* ── Hero (editorial, not venue gallery) ── */
.property-hero {
  position: relative;
  padding: 36px 0 48px;
  border-bottom: 1px solid var(--gray-200);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(124, 58, 237, 0.09) 0%, transparent 55%),
    radial-gradient(80% 60% at 0% 100%, rgba(167, 139, 250, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
  overflow: hidden;
}

.property-hero::before {
  content: "";
  position: absolute;
  right: -12%;
  top: -40%;
  width: min(52vw, 520px);
  height: min(52vw, 520px);
  border-radius: 50%;
  border: 1px solid rgba(124, 58, 237, 0.12);
  pointer-events: none;
}

.property-hero__wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
}

.property-hero__grid {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 34vw);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

.property-hero__intro {
  min-width: 0;
}

.property-hero__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
}

.property-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.2vw, 2.75rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--black);
  margin: 0 0 14px;
}

.property-hero__location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--gray-600);
  font-weight: 400;
  margin: 0 0 22px;
}

.property-hero__location svg {
  flex-shrink: 0;
  color: var(--accent);
  opacity: 0.85;
}

.property-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.property-hero__stat {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 10px 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.property-hero__stat-value {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--black);
  line-height: 1.2;
}

.property-hero__stat-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-400);
}

.property-hero__stat--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.property-hero__stat--link:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.12);
}

.property-hero__visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
  background: var(--gray-100);
  aspect-ratio: 4 / 3;
  max-height: 320px;
  margin-left: auto;
  width: 100%;
  max-width: 400px;
}

.property-hero__visual figure {
  margin: 0;
  height: 100%;
}

.property-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.property-hero__visual--has-photo {
  position: relative;
}

.property-hero__about-block {
  margin-top: 36px;
  width: 100%;
}

.property-hero__about-title {
  margin: 0;
  padding: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.property-hero__about-text {
  width: 100%;
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray-600);
  font-weight: 300;
}

.property-hero__about-text p {
  margin: 0;
}

.property-hero__about-text p + p {
  margin-top: 12px;
}

.property-hero__about-empty {
  margin: 0;
  font-size: 15px;
  color: var(--gray-500);
  font-weight: 300;
}

.property-hero__photo-hit {
  position: absolute;
  inset: 0;
  z-index: 2;
  border: none;
  padding: 0;
  margin: 0;
  cursor: zoom-in;
  background: transparent;
  border-radius: inherit;
}

.property-hero__photo-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 3;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--black);
  pointer-events: none;
  box-shadow: var(--shadow-sm);
}

.property-hero__visual .property-hero__placeholder {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.property-hero__visual .property-hero__placeholder svg {
  width: min(120px, 40%);
  height: auto;
  color: #5b21b6;
}

.property-hero__visual .property-hero__ph-stroke {
  opacity: 0.4;
}

.property-hero__visual .property-hero__ph-fill {
  opacity: 0.35;
}

.property-read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--accent);
  cursor: pointer;
  margin-top: 12px;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-weight: 500;
  padding: 0;
}

/* ── Footer: align with home .footer band ── */
.property-shell__footer {
  margin-top: auto;
  border-top: 1px solid var(--gray-200);
  background: var(--white);
}

.property-shell__footer .footer {
  box-sizing: border-box;
  max-width: var(--property-max);
  margin-left: auto;
  margin-right: auto;
  padding: 32px var(--property-pad-x);
}

/* ── Lightbox (scoped) ── */
.property-shell .property-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(13, 13, 13, 0.55);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.property-shell .property-lightbox.is-open {
  display: flex;
}

.property-shell .property-lightbox__panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: min(960px, 100%);
  max-height: min(88vh, 800px);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}

.property-shell .property-lightbox__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--gray-200);
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
}

.property-shell .property-lightbox__close {
  border: none;
  background: var(--gray-100);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--gray-600);
  transition: background var(--transition), color var(--transition);
}

.property-shell .property-lightbox__close:hover {
  background: var(--gray-200);
  color: var(--black);
}

.property-shell .property-lightbox__body {
  padding: 0;
  overflow: auto;
  max-height: min(72vh, 680px);
}

.property-shell .property-lightbox__body img {
  width: 100%;
  height: auto;
  vertical-align: middle;
  display: block;
}

@media (max-width: 900px) {
  .property-shell {
    --property-pad-x: var(--property-pad-x-sm);
  }

  .property-hero__grid {
    grid-template-columns: 1fr;
  }

  .property-hero__visual {
    max-width: none;
    max-height: 260px;
    margin-left: 0;
    order: -1;
  }
}
