/* =====================================================
   show.css — PAGE SHOW (DETAILS)
===================================================== */

/* =====================================================
   PAGE SHOW — WYSOKOŚĆ LAYOUTU (ODPORNA)
   + spójny offset pod fixed topbar
===================================================== */

/* =====================================================
   PAGE SHOW — MINIMALNY FLOW SCROLLOWY (KANON)
   WYMAGANY dla hide/show topbara
===================================================== */

body.page-show main.detail-layout {
  min-height: calc(100svh + 300px);
}



/* --- Layout główny --- */
.detail-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 16px 40px;
}

/* --- Tytuł --- */
.detail-layout h1 {
  font-size: 28px;
  line-height: 1.25;
  margin-bottom: 16px;
  font-weight: 700;
  color: #111;
}

/* --- Hero (zdjęcie) --- */
.detail-hero {
  width: 100%;
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f4f6;
}

.detail-hero img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* --- Meta (ikony / dane) --- */
.detail-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px 20px;
  margin-bottom: 24px;
  font-size: 15px;
  color: #222;
}

.detail-meta p {
  margin: 0;
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* --- Cena --- */
.detail-meta .price {
  font-size: 18px;
  font-weight: 600;
  color: #16a34a; /* zielony */
}

/* --- Telefon --- */
.detail-meta a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}

.detail-meta a:hover {
  text-decoration: underline;
}

/* --- Opis --- */
.detail-description {
  margin-top: 28px;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

.detail-description h2 {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 600;
}

/* --- Mapa (na później) --- */
.detail-map {
  margin-top: 28px;
  height: 360px;
  border-radius: 12px;
  overflow: hidden;
  background: #e5e7eb;
}

/* =====================================================
   MOBILE
   ===================================================== */
@media (max-width: 767px) {
  .detail-layout {
    padding: 16px 12px 32px;
  }

  .detail-layout h1 {
    font-size: 22px;
  }

}