/* =====================================================================
   Tripivo CARDS / PDP / VENUE — front-end design system (Agent 2)
   Design tokens are inherited from tripovo.css (--primary #347D80,
   --accent #4FA5A8, --radius-lg 20px, --border-soft, etc.)
   ===================================================================== */

/* ---------- Section spacing ---------- */
.tv-section { padding: 80px 0; }
.tv-section--tight { padding: 56px 0; }
.tv-section--soft { background: var(--primary-50); }
@media (max-width: 768px) {
  .tv-section { padding: 56px 0; }
  .tv-section--tight { padding: 40px 0; }
}

/* =====================================================================
   PRODUCT (voucher) CARD — uniform height, full-bleed voucher
   ===================================================================== */
.product-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
  box-shadow: 0 1px 2px rgba(16,24,40,.04);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -20px rgba(16,24,40,.18), 0 6px 12px -6px rgba(16,24,40,.08);
  border-color: #d6dee7;
}

.product-media {
  position: relative;
  aspect-ratio: 2528 / 1217;
  background: #fff;
  border-bottom: 1px solid var(--border-soft);
  overflow: hidden;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  transition: transform .5s ease;
  display: block;
}
.product-card:hover .product-media img { transform: scale(1.02); }

.product-badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255,255,255,.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--text);
  font-size: .72rem; font-weight: 700;
  padding: 6px 12px; border-radius: 999px;
  box-shadow: 0 2px 6px rgba(16,24,40,.08);
  letter-spacing: .02em;
}
.product-badge.is-bestseller { color: var(--accent); }
.product-badge.is-discount { color: #b3261e; }

.product-body {
  padding: 20px;
  display: flex; flex-direction: column; flex: 1; gap: 10px;
}
.product-meta {
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.4;
  min-height: 1.4em;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card h5 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.05rem * 1.35 * 2);
}
.product-card h5 a { color: inherit; }
.product-card h5 a:hover { color: var(--primary); }

.product-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
}
.product-price { display: inline-flex; flex-direction: column; line-height: 1.1; }
.product-price .from {
  display: block;
  font-size: .68rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.product-price .from.text-decoration-line-through { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: .78rem; }
.product-price .amount {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.01em;
}

/* uniform row: every grid cell stretches */
.row-vouchers > [class*='col-'] { display: flex; }
.row-vouchers .product-card { width: 100%; }

/* =====================================================================
   LISTING /oferty — sidebar filters
   ===================================================================== */
.filter-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 1px 2px rgba(16,24,40,.04);
  position: sticky;
  top: 96px;
}
.filter-card h6 {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-soft);
}
.filter-card .form-label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 6px;
}
.filter-card .form-control,
.filter-card .form-select {
  border-radius: 12px;
  border-color: var(--border);
  font-size: .92rem;
}
.filter-card .form-control:focus,
.filter-card .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 .2rem rgba(52,125,128,.15);
}
.filter-card .btn-primary { font-weight: 600; padding: 10px 14px; }

/* =====================================================================
   PDP — Product Detail Page
   ===================================================================== */

.pdp-hero { padding-top: 28px; }

/* Voucher gallery: big main + 2 thumbs side by side */
.pdp-gallery { display: flex; flex-direction: column; gap: 12px; }
.pdp-gallery .pdp-main {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 2528 / 1217;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 2px rgba(16,24,40,.04);
}
.pdp-gallery .pdp-main img {
  width: 100%; height: 100%;
  object-fit: contain;
  background: #fff;
  display: block;
}
.pdp-thumbs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 0;
}
.pdp-thumbs button {
  border: 2px solid var(--border-soft);
  padding: 0; border-radius: 14px;
  overflow: hidden; background: #fff;
  aspect-ratio: 2528 / 1217;
  cursor: pointer;
  transition: border-color .15s ease, transform .15s ease;
}
.pdp-thumbs button:hover { border-color: #cbd5e1; transform: translateY(-1px); }
.pdp-thumbs button.active { border-color: var(--primary); }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: contain; background: #fff; display: block; }

/* Right side — purchase panel */
.pdp-side {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 1px 2px rgba(16,24,40,.04);
  position: sticky; top: 96px;
}
.pdp-side h1 {
  font-size: 1.5rem; font-weight: 700;
  letter-spacing: -.01em; line-height: 1.25;
  margin: 12px 0 6px;
}
.pdp-side .pdp-subtitle { color: var(--muted); font-size: .98rem; margin-bottom: 16px; }
.pdp-side .pdp-meta {
  display: flex; flex-wrap: wrap; gap: 6px 10px;
  font-size: .88rem; color: var(--muted);
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-soft);
}
.pdp-side .pdp-meta a { color: var(--text); font-weight: 600; }
.pdp-side .pdp-meta a:hover { color: var(--primary); }

.pdp-side .price-block { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.pdp-side .price {
  font-size: 2.25rem; font-weight: 800;
  letter-spacing: -.02em; line-height: 1; color: var(--text);
}
.pdp-side .price .compare {
  font-size: 1rem; color: var(--muted);
  text-decoration: line-through; font-weight: 500;
  margin-left: 4px;
}
.pdp-side .price-savings {
  display: inline-block;
  background: #FEF3C7; color: #92400E;
  font-size: .78rem; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
}
.pdp-side .price-note { color: var(--muted); font-size: .82rem; margin-bottom: 18px; }

.pdp-side .form-check-label { font-size: .92rem; color: var(--text); cursor: pointer; }
.pdp-side .form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }
.pdp-side .btn-lg { padding: 14px 18px; font-weight: 700; font-size: 1rem; border-radius: 14px; }

.pdp-trust {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
  display: flex; flex-direction: column; gap: 10px;
}
.pdp-trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: .88rem; color: var(--text);
}
.pdp-trust-item .pdp-trust-mark {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--primary-50);
  color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .78rem;
}

/* ---------- Section: "Co zawiera voucher" ---------- */
.pdp-includes-section { background: var(--primary-50); }
.pdp-includes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 991px) {
  .pdp-includes-grid { grid-template-columns: 1fr; }
}
.pdp-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 2px 8px rgba(16,24,40,.05);
}
.pdp-card h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 18px;
  letter-spacing: -.01em;
  color: var(--text);
}
.pdp-includes {
  list-style: none; padding: 0; margin: 0;
}
.pdp-includes li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-soft);
  display: flex; gap: 12px; align-items: flex-start;
  font-size: .96rem;
  color: var(--text);
  line-height: 1.5;
}
.pdp-includes li:last-child { border-bottom: 0; }
.pdp-includes .check {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .82rem;
  margin-top: 1px;
  box-shadow: 0 2px 6px rgba(199,126,44,.25);
}
.pdp-desc {
  color: var(--text);
  font-size: .98rem;
  line-height: 1.65;
}
.pdp-desc p:last-child { margin-bottom: 0; }
.pdp-desc h3, .pdp-desc h4 { color: var(--text); font-weight: 700; margin-top: 14px; }

.pdp-extra {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
}
.pdp-extra h3 {
  font-size: 1rem; font-weight: 700;
  color: var(--primary); margin: 0 0 6px;
  text-transform: uppercase; letter-spacing: .06em;
}
.pdp-extra p {
  font-size: .92rem; color: var(--muted);
  margin: 0 0 16px; line-height: 1.6;
}
.pdp-extra :last-child { margin-bottom: 0; }

/* ---------- Section: "Twój pobyt w X" — about venue ---------- */
.pdp-venue-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 991px) {
  .pdp-venue-grid { grid-template-columns: 1fr; gap: 28px; }
}
.pdp-venue-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--primary-50) 0%, #d8ecec 100%);
  box-shadow: 0 8px 24px -10px rgba(16,24,40,.18);
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.pdp-venue-photo img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .6s ease;
}
.pdp-venue-photo:hover img { transform: scale(1.04); }
/* When the "venue photo" is actually a voucher PNG (21:10), stop cropping awkwardly */
.pdp-venue-photo.is-voucher {
  aspect-ratio: 2528 / 1217;
  background: #fff;
  border: 1px solid var(--border-soft);
}
.pdp-venue-photo.is-voucher img { object-fit: contain; background: #fff; }
.pdp-venue-info .eyebrow {
  display: inline-block;
  background: var(--primary-50);
  color: var(--primary);
  font-size: .72rem; font-weight: 700;
  padding: 6px 12px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 12px;
}
.pdp-venue-info h2 {
  font-size: 1.75rem; font-weight: 700;
  letter-spacing: -.01em;
  margin: 0 0 6px;
}
.pdp-venue-info .pdp-venue-loc {
  color: var(--muted); font-size: .95rem;
  margin: 0 0 14px;
}
.pdp-venue-info p {
  color: var(--text); font-size: 1rem;
  line-height: 1.65; margin: 0 0 18px;
}
.pdp-venue-info .pill-row {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 22px;
}
.pdp-venue-info .pill {
  display: inline-block;
  background: #fff; border: 1px solid var(--border-soft);
  color: var(--text); font-size: .82rem; font-weight: 500;
  padding: 6px 12px; border-radius: 999px;
}

/* ---------- Section: "Jak to działa" — 4 steps ---------- */
.pdp-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 991px) { .pdp-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .pdp-steps { grid-template-columns: 1fr; } }
.pdp-step {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: left;
  height: 100%;
}
.pdp-step .num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff; font-weight: 800; font-size: 1.15rem;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 6px 14px -4px rgba(52,125,128,.45);
}
.pdp-step h5 {
  font-size: 1rem; font-weight: 700;
  margin: 0 0 6px; color: var(--text);
}
.pdp-step p {
  font-size: .9rem; color: var(--muted);
  line-height: 1.55; margin: 0;
}

/* =====================================================================
   VENUE PAGE /obiekt/{slug}
   ===================================================================== */

/* Hero */
.venue-hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 21 / 10;
  background: linear-gradient(135deg, #1f2937 0%, #0f172a 100%);
  box-shadow: 0 20px 50px -25px rgba(16,24,40,.35);
}
.venue-hero img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.venue-hero.is-voucher img { object-fit: contain; background: #fff; }
.venue-hero.is-voucher::after {
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.4) 80%, rgba(0,0,0,.78) 100%);
}
.venue-hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 25%, rgba(0,0,0,.55) 70%, rgba(0,0,0,.85) 100%),
    linear-gradient(90deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 50%);
}
.venue-hero .venue-hero-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 36px 40px;
  color: #fff;
  z-index: 2;
}
@media (max-width: 768px) {
  .venue-hero { aspect-ratio: 4 / 3; }
  .venue-hero .venue-hero-body { padding: 22px 20px; }
}
.venue-hero .eyebrow {
  display: inline-block;
  background: rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: .72rem; font-weight: 700;
  padding: 6px 12px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 14px;
}
.venue-hero h1 {
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
  font-weight: 700; letter-spacing: -.02em;
  margin: 0 0 8px; color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
}
.venue-hero .venue-hero-loc {
  font-size: 1rem; color: rgba(255,255,255,.92);
  margin: 0 0 10px;
}
.venue-hero .venue-hero-desc {
  font-size: .95rem; color: rgba(255,255,255,.85);
  max-width: 640px; line-height: 1.55; margin: 0 0 14px;
}
.venue-hero .map-link {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.95);
  color: var(--text);
  font-size: .85rem; font-weight: 600;
  padding: 9px 16px; border-radius: 999px;
  border: 0; text-decoration: none;
  transition: background .15s ease, transform .15s ease;
}
.venue-hero .map-link:hover { background: #fff; color: var(--primary); transform: translateY(-1px); }

/* About venue card */
.venue-about {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 2px 8px rgba(16,24,40,.05);
}
.venue-about h2 {
  font-size: 1.5rem; font-weight: 700;
  letter-spacing: -.01em; margin: 0 0 16px;
}
.venue-about p {
  color: var(--text); font-size: 1rem;
  line-height: 1.7; margin: 0 0 14px;
}

.venue-amenities {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media (max-width: 991px) { .venue-amenities { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575px) { .venue-amenities { grid-template-columns: repeat(2, 1fr); } }
.venue-amenity {
  background: var(--primary-50);
  color: var(--primary);
  text-align: center;
  font-size: .85rem; font-weight: 600;
  padding: 12px 10px;
  border-radius: 14px;
  border: 1px solid rgba(52,125,128,.15);
}

.venue-contacts {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border-soft);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 768px) { .venue-contacts { grid-template-columns: 1fr; } }
.venue-contact {
  display: flex; flex-direction: column; gap: 2px;
}
.venue-contact .label {
  font-size: .7rem; text-transform: uppercase;
  letter-spacing: .08em; color: var(--muted);
  font-weight: 700;
}
.venue-contact .value { font-size: .98rem; color: var(--text); font-weight: 600; }
.venue-contact .value a { color: var(--text); }
.venue-contact .value a:hover { color: var(--primary); }

/* =====================================================================
   VENUES LIST /obiekty — bigger tiles
   ===================================================================== */
.venue-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border-soft);
  box-shadow: 0 1px 2px rgba(16,24,40,.04);
  transition: transform .25s ease, box-shadow .25s ease, border-color .2s ease;
  text-decoration: none;
  color: var(--text);
  height: 100%;
}
.venue-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -20px rgba(16,24,40,.18), 0 6px 12px -6px rgba(16,24,40,.08);
  border-color: #d6dee7;
  color: var(--text);
}
.venue-tile .media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--primary-50) 0%, #dceeee 100%);
  overflow: hidden;
}
.venue-tile .media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.venue-tile .media.is-voucher {
  aspect-ratio: 2528 / 1217;
  background: #fff;
  border-bottom: 1px solid var(--border-soft);
}
.venue-tile .media.is-voucher img { object-fit: contain; background: #fff; }
.venue-tile .media.is-voucher::after { background: none; }
.venue-tile:hover .media img { transform: scale(1.06); }
.venue-tile .media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.4) 100%);
}
.venue-tile .label {
  padding: 18px 20px 20px;
  display: flex; flex-direction: column; gap: 4px;
}
.venue-tile .label .type {
  display: inline-block;
  align-self: flex-start;
  background: var(--primary-50);
  color: var(--primary);
  font-size: .68rem; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 8px;
}
.venue-tile .label .name {
  font-size: 1.1rem; font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}
.venue-tile .label .count {
  font-size: .85rem; color: var(--muted);
}

/* =====================================================================
   Page-head improvements
   ===================================================================== */
.page-head { padding: 32px 0 18px; }
.page-head .eyebrow {
  display: inline-block;
  background: var(--primary-50);
  color: var(--primary);
  font-size: .72rem; font-weight: 700;
  padding: 6px 12px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 8px;
}

/* =====================================================================
   Misc helpers
   ===================================================================== */
.section-divider {
  height: 1px; background: var(--border-soft);
  margin: 0;
}

/* Listing grid spacing */
.row-vouchers { --bs-gutter-x: 24px; --bs-gutter-y: 24px; }

/* =====================================================================
   VENUE PAGE v2 — full rebuild — /obiekt/{slug}
   All classes prefixed with .venue-page-* to avoid collisions
   ===================================================================== */

/* HERO — full bleed, sharp, panoramic */
.venue-page-hero-wrap {
  margin-top: 8px;
  background: var(--bg);
}
.venue-page-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1f2937 100%);
}
.venue-page-hero img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.venue-page-hero.is-voucher {
  background: #f1f5f9;
}
.venue-page-hero.is-voucher img {
  object-fit: contain;
  background: #f1f5f9;
}
.venue-page-hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.05) 35%, rgba(0,0,0,.55) 75%, rgba(0,0,0,.85) 100%),
    linear-gradient(90deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 55%);
  pointer-events: none;
}
.venue-page-hero.is-voucher .venue-page-hero-shade {
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 28%, rgba(0,0,0,.55) 62%, rgba(0,0,0,.88) 86%, rgba(0,0,0,.96) 100%),
    linear-gradient(90deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 60%);
}
.venue-page-hero-inner {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 48px 0 44px;
  color: #fff;
  z-index: 2;
}
.venue-page-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: .72rem; font-weight: 700;
  padding: 6px 12px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 16px;
}
.venue-page-hero-title {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 800; letter-spacing: -.02em;
  line-height: 1.1;
  margin: 0 0 10px; color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,.45);
  max-width: 880px;
}
.venue-page-hero.is-voucher .venue-page-hero-title,
.venue-page-hero.is-voucher .venue-page-hero-loc,
.venue-page-hero.is-voucher .venue-page-hero-short {
  text-shadow: 0 2px 8px rgba(0,0,0,.85), 0 1px 2px rgba(0,0,0,.7);
}
.venue-page-hero.is-voucher .venue-page-hero-badge {
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.35);
}
.venue-page-hero-loc {
  font-size: 1.05rem; color: rgba(255,255,255,.92);
  margin: 0 0 12px; font-weight: 500;
}
.venue-page-hero-short {
  font-size: 1.02rem; color: rgba(255,255,255,.88);
  line-height: 1.55; margin: 0 0 22px;
  max-width: 680px;
}
.venue-page-hero-cta {
  display: flex; flex-wrap: wrap; gap: 12px;
}
.venue-page-hero-cta .btn {
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: .95rem;
}
.venue-page-hero-ghost {
  background: rgba(255,255,255,.16);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255,255,255,.5);
}
.venue-page-hero-ghost:hover,
.venue-page-hero-ghost:focus {
  background: #fff;
  color: var(--text);
  border-color: #fff;
}
@media (max-width: 991px) {
  .venue-page-hero { aspect-ratio: 16 / 9; }
  .venue-page-hero-inner { padding: 32px 0 28px; }
}
@media (max-width: 575px) {
  .venue-page-hero { aspect-ratio: 4 / 3; }
  .venue-page-hero-inner { padding: 24px 0 22px; }
  .venue-page-hero-title { font-size: clamp(1.55rem, 7vw, 2.1rem); }
  .venue-page-hero-short { display: none; }
  .venue-page-hero-cta .btn { padding: 10px 16px; font-size: .9rem; }
}

/* ABOUT */
.venue-page-about-section { padding-top: 64px; padding-bottom: 64px; }
.venue-page-about {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 2px 12px rgba(16,24,40,.04);
}
.venue-page-about-title {
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  font-weight: 700; letter-spacing: -.02em;
  margin: 10px 0 18px;
}
.venue-page-prose { color: var(--text); }
.venue-page-prose h3 {
  font-size: 1.1rem; font-weight: 700;
  letter-spacing: -.01em;
  margin: 22px 0 8px; color: var(--text);
}
.venue-page-prose h3:first-child { margin-top: 0; }
.venue-page-prose p {
  font-size: 1rem; line-height: 1.7;
  margin: 0 0 14px; color: #374151;
}
@media (max-width: 575px) {
  .venue-page-about { padding: 24px 20px; }
}

/* SIDE CARD (sticky) */
.venue-page-side {
  position: sticky;
  top: 96px;
}
.venue-page-side-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: 0 8px 24px -16px rgba(16,24,40,.18), 0 2px 8px rgba(16,24,40,.04);
}
.venue-page-side-name {
  font-size: 1.1rem; font-weight: 700;
  letter-spacing: -.01em;
  color: var(--text);
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-soft);
}
.venue-page-side-row {
  display: flex; flex-direction: column;
  gap: 2px; margin-bottom: 12px;
}
.venue-page-side-label {
  font-size: .68rem; text-transform: uppercase;
  letter-spacing: .08em; color: var(--muted);
  font-weight: 700;
}
.venue-page-side-value {
  font-size: .95rem; color: var(--text);
  font-weight: 500; line-height: 1.45;
}
.venue-page-side-value a { color: var(--text); }
.venue-page-side-value a:hover { color: var(--primary); }

.venue-page-side-amenities {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
}
.venue-page-pills {
  display: flex; flex-wrap: wrap;
  gap: 6px; margin-top: 8px;
}
.venue-page-pill {
  background: var(--primary-50);
  color: var(--primary);
  font-size: .78rem; font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(52,125,128,.18);
  line-height: 1.3;
}
.venue-page-side-cta {
  margin-top: 22px;
  border-radius: 999px;
  font-weight: 600;
  padding: 12px 18px;
}
@media (max-width: 991px) {
  .venue-page-side { position: static; margin-top: 8px; }
}

/* MAP + NEARBY SECTION */
#mapa, #vouchery { scroll-margin-top: 80px; }
.venue-page-map-section { padding-top: 56px; padding-bottom: 56px; background: #fff; }
.venue-page-section-title {
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
  font-weight: 700; letter-spacing: -.01em;
  margin-top: 8px;
}
.venue-page-section-sub {
  color: var(--muted);
  font-size: 1rem; margin-top: 8px;
  max-width: 620px; margin-left: auto; margin-right: auto;
}
.venue-page-map {
  width: 100%;
  height: 480px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  background: #eef2f6;
}
@media (max-width: 991px) {
  .venue-page-map { height: 360px; }
}

.venue-page-nearby {
  display: flex; flex-direction: column;
  gap: 12px;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 6px;
}
@media (max-width: 991px) {
  .venue-page-nearby { max-height: none; padding-right: 0; }
}
.venue-page-nearby::-webkit-scrollbar { width: 6px; }
.venue-page-nearby::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 4px; }
.venue-page-nearby::-webkit-scrollbar-track { background: transparent; }
.venue-page-nearby-empty {
  color: var(--muted);
  font-size: .95rem;
  padding: 24px;
  background: var(--bg);
  border-radius: var(--radius);
  text-align: center;
}
.venue-page-nearby-item {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 16px 18px;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.venue-page-nearby-item:hover {
  border-color: rgba(52,125,128,.35);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -12px rgba(16,24,40,.18);
}
.venue-page-nearby-head {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 12px;
  margin-bottom: 6px;
}
.venue-page-nearby-name {
  font-size: 1rem; font-weight: 700;
  margin: 0; color: var(--text);
  letter-spacing: -.01em;
  line-height: 1.3;
}
.venue-page-nearby-distance {
  flex-shrink: 0;
  background: var(--primary-50);
  color: var(--primary);
  font-size: .72rem; font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.venue-page-nearby-desc {
  color: #4b5563;
  font-size: .9rem;
  line-height: 1.5;
  margin: 0 0 8px;
}
.venue-page-nearby-cat {
  display: inline-block;
  background: rgba(199,126,44,.12);
  color: var(--accent-600);
  font-size: .68rem; font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  text-transform: uppercase; letter-spacing: .06em;
}

/* Leaflet markers */
.venue-page-marker { background: transparent; border: none; }
.venue-page-marker > span {
  display: block;
  width: 100%; height: 100%;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.venue-page-marker--venue > span {
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(52,125,128,.25), 0 2px 8px rgba(0,0,0,.4);
}
.venue-page-marker--nearby > span {
  background: var(--accent);
}

/* VOUCHERS section — keep slim, no extra padding */
.venue-page-vouchers-section { background: var(--bg); }

/* OTHER VENUES */
.venue-page-others-section { background: #fff; }
.venue-page-other-tile {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease, border-color .2s ease;
  box-shadow: 0 1px 2px rgba(16,24,40,.04);
}
.venue-page-other-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -20px rgba(16,24,40,.18), 0 6px 12px -6px rgba(16,24,40,.08);
  border-color: #d6dee7;
  color: var(--text);
}
.venue-page-other-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--primary-50) 0%, #dceeee 100%);
  overflow: hidden;
}
.venue-page-other-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.venue-page-other-tile:hover .venue-page-other-media img { transform: scale(1.06); }
.venue-page-other-media.is-voucher {
  background: #fff;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--border-soft);
}
.venue-page-other-media.is-voucher img { object-fit: contain; }
.venue-page-other-body {
  padding: 18px 20px 20px;
  display: flex; flex-direction: column; gap: 4px;
  flex: 1;
}
.venue-page-other-type {
  display: inline-block;
  align-self: flex-start;
  background: var(--primary-50);
  color: var(--primary);
  font-size: .68rem; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 8px;
}
.venue-page-other-name {
  font-size: 1.1rem; font-weight: 700;
  letter-spacing: -.01em;
  color: var(--text);
}
.venue-page-other-meta {
  color: var(--muted);
  font-size: .9rem;
  margin: 2px 0 14px;
}
.venue-page-other-cta {
  margin-top: auto;
  color: var(--primary);
  font-weight: 600;
  font-size: .9rem;
  align-self: flex-start;
}

/* Mobile overflow guards dla product/venue cards */
@media (max-width: 575.98px) {
  .product-card { width: 100%; max-width: 100%; min-width: 0; }
  .product-body { padding: 14px 16px; min-width: 0; }
  .product-card h5 { font-size: 1rem; word-wrap: break-word; overflow-wrap: anywhere; }
  .product-meta { font-size: .78rem; word-wrap: break-word; }
  .product-foot { gap: 8px; flex-wrap: wrap; }
  .product-price .amount { font-size: 1.05rem; }
  .product-price .from { font-size: .8rem; }

  .venue-page-hero-cta { gap: 8px; }
  .venue-page-hero-cta .btn { font-size: .85rem; padding: 9px 14px; }

  .pagination .page-link { padding: .35rem .55rem; font-size: .85rem; }
}
