/* ════════════════════════════════════════════════════════════════
   NAJEM — sekcja /najem i /najem/[slug]
   Dopasowane do tokenów site.css (jasny, premium, złote akcenty).
   ════════════════════════════════════════════════════════════════ */

/* ── Hero listy ── */
.rent-hero-sec { padding-bottom: clamp(28px, 4vw, 48px); }
.rent-hero-sec .lead { margin-top: 18px; max-width: 760px; }

.rent-list-sec { padding-top: 0; }

/* ── Filtry ── */
.rent-filters {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 18px;
  padding: 20px 22px; margin-bottom: clamp(26px, 3.4vw, 40px);
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
}
.rent-filter { display: flex; flex-direction: column; gap: 7px; min-width: 168px; }
.rent-filter label {
  font-family: var(--font-sans); font-size: 11.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--brass-dk);
}
.rent-filter select {
  font-family: var(--font-sans); font-size: 15px; color: var(--ink);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px;
  padding: 11px 38px 11px 14px; cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23876539' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center;
  transition: border-color .18s, box-shadow .18s;
}
.rent-filter select:hover { border-color: var(--brass-lt); }
.rent-filter select:focus-visible { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(168,129,74,.16); }
.rent-count {
  margin: 0 0 4px auto; font-family: var(--font-sans); font-size: 13.5px;
  font-weight: 600; color: var(--muted); align-self: center;
}

/* ── Siatka kart ── */
.rent-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 28px);
}
.rent-card[hidden] { display: none; }

.rent-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; box-shadow: 0 1px 2px rgba(40,35,25,.04);
  transition: transform .26s cubic-bezier(.2,.7,.3,1), box-shadow .26s, border-color .26s;
}
.rent-card:hover {
  transform: translateY(-5px); border-color: var(--brass-lt);
  box-shadow: 0 1px 2px rgba(40,35,25,.05), 0 30px 60px -34px rgba(40,30,15,.45);
}
.rent-card:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.rent-card-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-2); }
.rent-card-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s cubic-bezier(.2,.7,.3,1);
}
.rent-card:hover .rent-card-media img { transform: scale(1.045); }

/* status badge — wspólny dla listy i karty */
.rent-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: var(--font-sans); font-size: 11.5px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 100px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.rent-badge.is-avail { background: rgba(47,109,79,.92); color: #fff; }
.rent-badge.is-rented { background: rgba(40,36,28,.82); color: rgba(255,255,255,.86); }

.rent-price {
  position: absolute; bottom: 14px; left: 14px; z-index: 2;
  display: inline-flex; align-items: baseline; gap: 4px;
  font-family: var(--font-display); font-size: 18px; color: #f6f1e6;
  background: rgba(20,16,10,.74); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  padding: 8px 14px; border-radius: 100px; letter-spacing: .01em;
}
.rent-price small { font-family: var(--font-sans); font-size: 11.5px; font-weight: 500; color: var(--brass-lt); }

.rent-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.rent-card-name { font-family: var(--font-display); font-weight: 500; font-size: 1.24rem; line-height: 1.2; color: var(--ink); margin: 0; }
.rent-card-addr {
  display: flex; align-items: center; gap: 6px; margin: 0;
  font-family: var(--font-sans); font-size: 14px; color: var(--muted);
}
.rca-pin { display: inline-flex; color: var(--brass); }
.rca-pin svg { width: 15px; height: 15px; }

/* parametry (lista kart) */
.rent-specs {
  list-style: none; margin: 12px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line-soft);
  display: flex; gap: 18px; flex-wrap: wrap;
}
.rent-specs li {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-sans); font-size: 14.5px; font-weight: 600; color: var(--ink-soft);
}
.rent-specs li span:not(.rs-ico) { font-weight: 500; color: var(--muted); }
.rs-ico { display: inline-flex; color: var(--brass); }
.rs-ico svg { width: 19px; height: 19px; }

.rent-empty { text-align: center; padding: 40px 0; color: var(--muted); font-size: 16px; }

/* ── CTA listy ── */
.rent-cta-sec { background: var(--bg-2); border-top: 1px solid var(--line); }
.rent-cta-inner { text-align: center; }
.rent-cta-inner .lead { margin: 16px auto 26px; max-width: 600px; }

/* ════════════════════════════════════════════════════════════════
   KARTA OFERTY  /najem/[slug]
   ════════════════════════════════════════════════════════════════ */
.rental-crumb { margin-bottom: clamp(18px, 2.4vw, 30px); }
.rental-crumb a {
  font-family: var(--font-sans); font-size: 14px; font-weight: 600; color: var(--brass-dk);
  text-decoration: none; transition: color .16s;
}
.rental-crumb a:hover { color: var(--ink); }

.rental-layout {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(24px, 3.4vw, 48px); align-items: start;
}

/* galeria */
.rg-main { position: relative; aspect-ratio: 3 / 2; border-radius: 16px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); }
.rg-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rg-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.rg-thumb {
  width: 96px; aspect-ratio: 3 / 2; padding: 0; cursor: pointer; overflow: hidden;
  border: 2px solid var(--line); border-radius: 10px; background: var(--bg-2);
  transition: border-color .18s, opacity .18s; opacity: .72;
}
.rg-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rg-thumb:hover { opacity: 1; border-color: var(--brass-lt); }
.rg-thumb.is-active { opacity: 1; border-color: var(--brass); }

/* panel informacyjny */
.rental-info { position: sticky; top: 92px; }
.rental-name { font-size: clamp(1.7rem, 3vw, 2.5rem); margin: 14px 0 0; }
.rental-addr { margin: 12px 0 0; font-family: var(--font-sans); font-size: 15.5px; color: var(--muted); line-height: 1.5; }

.rental-price-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  margin: 22px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.rental-price-row .rent-badge { position: static; backdrop-filter: none; -webkit-backdrop-filter: none; }
.rental-price { font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--brass-dk); line-height: 1; }
.rental-price small { font-family: var(--font-sans); font-size: 14px; font-weight: 500; color: var(--muted); }

.rental-specs {
  list-style: none; margin: 0 0 26px; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
.rental-specs li {
  background: var(--surface); padding: 18px 14px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.rental-specs .rs-ico svg { width: 24px; height: 24px; }
.rental-specs .rs-v { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); line-height: 1; margin-top: 6px; }
.rental-specs .rs-k { font-family: var(--font-sans); font-size: 12.5px; color: var(--muted); letter-spacing: .02em; }

.rental-cta-btn { width: 100%; }

/* opis + lokalizacja */
.rental-detail-grid {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(24px, 3.4vw, 48px); margin-top: clamp(40px, 5vw, 72px);
  padding-top: clamp(34px, 4vw, 54px); border-top: 1px solid var(--line);
}
.rental-h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.3rem, 2vw, 1.7rem); color: var(--ink); margin: 0 0 16px; }
.rental-desc p { font-family: var(--font-sans); font-size: 16.5px; line-height: 1.75; color: var(--ink-soft); margin: 0; }
.rental-loc-addr { font-family: var(--font-sans); font-size: 15px; color: var(--ink-soft); margin: 0 0 16px; }
.rental-map-fallback {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px;
}
.rental-map-fallback p { margin: 0 0 16px; }
.rental-loc .locmap-box { margin-top: 4px; }

/* ── Responsywność ── */
@media (max-width: 1000px) {
  .rent-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .rental-layout { grid-template-columns: 1fr; gap: 26px; }
  .rental-info { position: static; }
}
@media (max-width: 780px) {
  .rental-detail-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .rent-grid { grid-template-columns: 1fr; }
  .rent-filters { padding: 16px; gap: 12px; }
  .rent-filter { min-width: 0; flex: 1 1 140px; }
  .rent-count { width: 100%; margin: 2px 0 0; align-self: flex-start; }
  .rg-thumb { width: 76px; }
}

/* ════════════════════════════════════════════════════════════════
   KARTA OFERTY — wersja rozbudowana (galeria, przegląd, zakładki,
   udogodnienia, mapa, plany, video/360, sticky kontakt)
   ════════════════════════════════════════════════════════════════ */
.rental-top { padding: clamp(92px, 12vh, 124px) var(--pad) 0; }
.rental-crumb span { color: var(--line); margin: 0 2px; }
.rental-crumb strong { color: var(--muted); font-weight: 500; }

/* ── Galeria ── */
/* Galeria: duże zdjęcie + kolumna miniatur obok (desktop) */
.rgal {
  margin-top: 16px; display: grid; grid-template-columns: minmax(0, 1fr) 118px;
  gap: 12px; align-items: stretch;
}
.rgal.is-single { grid-template-columns: 1fr; }
/* Kadr w proporcji zdjęć (3:2): zdjęcia POZIOME wypełniają go w całości — bez pasków. */
.rgal-main {
  position: relative; aspect-ratio: 3 / 2; max-height: 760px;
  border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line);
}
/* Zdjęcie wypełnia kadr (cover). Dla poziomych 3:2 = idealne dopasowanie, zero przycięcia. */
.rgal-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  z-index: 1; display: block;
  transition: opacity .45s ease, transform .6s cubic-bezier(.22, .61, .36, 1);
}
/* PIONOWE: pokaż w całości (contain) na spokojnym, kremowym tle marki. */
.rgal-main.is-portrait .rgal-img {
  object-fit: contain; filter: drop-shadow(0 12px 30px rgba(37, 28, 12, .22));
}
/* Delikatne przejście przy zmianie zdjęcia: szybkie przygaszenie + lekki zoom (fade-out),
   podmiana źródła „na dole", potem płynne rozjaśnienie i osiadanie (fade-in). */
.rgal-img.is-loading { opacity: .3; transform: scale(1.035); transition: opacity .16s ease, transform .16s ease; }
@media (prefers-reduced-motion: reduce) {
  .rgal-img, .rgal-img.is-loading { transition: opacity .18s linear; transform: none; }
}
.rgal-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.9); color: var(--ink); font-size: 24px; line-height: 1;
  display: flex; align-items: center; justify-content: center; opacity: 0;
  box-shadow: 0 6px 20px -6px rgba(0,0,0,.45); transition: background .18s, transform .18s, opacity .25s;
}
.rgal-main:hover .rgal-nav { opacity: 1; }
.rgal-nav:hover { background: #fff; transform: translateY(-50%) scale(1.1); }
.rgal-nav.prev { left: 14px; } .rgal-nav.next { right: 14px; }
.rgal-count {
  position: absolute; right: 14px; bottom: 14px; z-index: 3;
  background: rgba(20,16,10,.72); color: #fff; font-family: var(--font-sans);
  font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 100px;
  backdrop-filter: blur(4px);
}
/* Wrapper przycina kolumnę miniatur do wysokości kadru; lista scrolluje wewnątrz. */
.rgal-thumbs-wrap { position: relative; overflow: hidden; min-height: 0; }
.rgal-thumbs {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; gap: 10px; overflow-y: auto; overflow-x: hidden;
  min-height: 0; padding-right: 4px; scrollbar-width: thin;
}
.rgal-thumb {
  flex: 0 0 auto; width: 100%; aspect-ratio: 3 / 2; padding: 0; cursor: pointer; overflow: hidden;
  border: 2px solid transparent; border-radius: 12px; background: var(--bg-2); opacity: .58;
  transition: opacity .2s, border-color .2s, transform .2s;
}
.rgal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.rgal-thumb:hover { opacity: 1; transform: translateY(-2px); }
.rgal-thumb:hover img { transform: scale(1.06); }
.rgal-thumb.is-active { opacity: 1; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(168,129,74,.18); }

/* Mobile: główne u góry, miniatury poziomym paskiem pod spodem */
@media (max-width: 720px) {
  .rgal { grid-template-columns: 1fr; }
  .rgal-main { max-height: none; }
  .rgal-thumbs-wrap { display: contents; }
  .rgal-thumbs { position: static; flex-direction: row; overflow-x: auto; overflow-y: hidden; padding-right: 0; padding-bottom: 4px; }
  .rgal-thumb { flex: 0 0 auto; width: 96px; }
  .rgal-nav { opacity: 1; width: 40px; height: 40px; }
}

/* ── Tytuł / cena ── */
/* mniejszy odstęp galeria → treść (sekcja .section ma duży padding-top) */
.rental-body { padding-top: clamp(20px, 3vw, 34px); }
.rtitle {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap;
  margin: 0 0 clamp(22px,2.6vw,32px); padding-bottom: 22px; border-bottom: 1px solid var(--line);
}
.rtitle h1 { display: flex; align-items: center; gap: 12px; font-size: clamp(1.7rem,3.2vw,2.6rem); }
.rverified { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; background: var(--brass); color: #fff; align-items: center; justify-content: center; }
.rverified svg { width: 15px; height: 15px; }
.rtitle-addr { display: flex; align-items: center; gap: 7px; margin: 12px 0 0; font-family: var(--font-sans); font-size: 16px; color: var(--muted); }
.rpin { display: inline-flex; color: var(--brass); } .rpin svg { width: 17px; height: 17px; }
.rtitle-r { text-align: right; }
.rtitle-price { font-family: var(--font-display); font-size: clamp(1.7rem,3vw,2.4rem); color: var(--brass-dk); line-height: 1; }
.rtitle-price small { font-family: var(--font-sans); font-size: 15px; font-weight: 500; color: var(--muted); }
.rtitle-size { font-family: var(--font-sans); font-size: 15px; color: var(--ink-soft); margin-top: 8px; }

/* ── Układ 2-kolumnowy ── */
.rental-grid { display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: clamp(24px,3vw,44px); align-items: start; }
.rental-main { display: flex; flex-direction: column; gap: clamp(20px,2.4vw,30px); min-width: 0; }

.rblock { background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px,2.4vw,30px); }
.rblock-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.rblock-h { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.2rem,1.9vw,1.55rem); color: var(--ink); margin: 0 0 18px; }
.rblock-head .rblock-h { margin: 0; }
.rblock-cta { font-family: var(--font-sans); font-size: 14px; font-weight: 600; color: var(--brass-dk); text-decoration: none; white-space: nowrap; }
.rblock-cta:hover { color: var(--ink); }

/* „Zobacz inne mieszkania" — 3 karty oferty pod treścią (reużycie .rent-grid/.rent-card) */
.rrelated { margin-top: clamp(48px, 6vw, 82px); padding-top: clamp(36px, 4.5vw, 58px); border-top: 1px solid var(--line); }
.rrelated .rent-grid { margin-top: clamp(20px, 2.4vw, 30px); }

/* ── Przegląd ── */
.roverview { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.roverview li { background: var(--surface); padding: 18px 12px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.ro-ico { color: var(--brass); } .ro-ico svg { width: 24px; height: 24px; }
.ro-k { font-family: var(--font-sans); font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.ro-v { font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); line-height: 1; }

/* ── Zakładki ── */
.rtabs { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.rtab { font-family: var(--font-sans); font-size: 14.5px; font-weight: 600; color: var(--muted); background: none; border: none; cursor: pointer; padding: 10px 16px; border-radius: 10px 10px 0 0; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .15s, border-color .15s; }
.rtab:hover { color: var(--ink); }
.rtab.is-active { color: var(--brass-dk); border-bottom-color: var(--brass); }
.rpanel { margin-bottom: 22px; }
.rpanel:last-child { margin-bottom: 0; }
.rpanel-h { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; color: var(--ink); margin: 0 0 12px; }
.rpanel p { font-family: var(--font-sans); font-size: 16px; line-height: 1.75; color: var(--ink-soft); margin: 0 0 12px; }

/* ── Tabela szczegółów ── */
.rdetails { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(20px,3vw,48px); }
.rdetails > div { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.rdetails dt { font-family: var(--font-sans); font-size: 14.5px; color: var(--muted); margin: 0; }
.rdetails dd { font-family: var(--font-sans); font-size: 14.5px; font-weight: 600; color: var(--ink); margin: 0; text-align: right; }
.rdetails-2 { margin-bottom: 18px; }

/* ── Udogodnienia ── */
.rfeatures { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 12px 20px; }
.rfeatures li { display: flex; align-items: center; gap: 10px; font-family: var(--font-sans); font-size: 15px; color: var(--ink-soft); }
.rf-check { flex: 0 0 auto; display: inline-flex; width: 22px; height: 22px; border-radius: 50%; background: rgba(168,129,74,.14); color: var(--brass-dk); align-items: center; justify-content: center; }
.rf-check svg { width: 13px; height: 13px; }

/* ── Mapa / plany / embedy ── */
.rblock .locmap-box { margin-top: 4px; }
.rblock #locmap { height: 360px; border-radius: 12px; }
.rfloorplan { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; text-align: center; }
.rfloorplan + .rfloorplan { margin-top: 14px; }
.rfloorplan img { max-width: 100%; height: auto; display: block; margin: 0 auto; }
.rembed { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #0e0c09; }
.rembed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ── Wideo: kafelek-placeholder linkujący do YouTube / Vimeo (bez embedu) ── */
.rvideo-card {
  display: grid; grid-template-columns: 240px 1fr; align-items: stretch;
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface);
  text-decoration: none; color: inherit;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.rvideo-card:hover { border-color: var(--brass); box-shadow: 0 16px 36px -22px rgba(37,28,12,.55); transform: translateY(-2px); }
.rvideo-media { position: relative; min-height: 135px; background: linear-gradient(135deg, #1c1811, #2e2618); overflow: hidden; }
.rvideo-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rvideo-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px -8px rgba(0,0,0,.55); transition: transform .2s ease, background .2s ease;
}
.rvideo-card:hover .rvideo-play { transform: translate(-50%, -50%) scale(1.08); background: #fff; }
.rvideo-play svg { width: 22px; height: 22px; margin-left: 3px; }
.rvideo-meta { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 18px 22px; }
.rvideo-title { font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); line-height: 1.15; }
.rvideo-sub { font-family: var(--font-sans); font-size: 13.5px; font-weight: 600; letter-spacing: .02em; color: var(--brass-dk); }
@media (max-width: 560px) { .rvideo-card { grid-template-columns: 1fr; } .rvideo-media { aspect-ratio: 16 / 9; min-height: 0; } }

/* ── Sticky kontakt (sidebar) ── */
.rental-side { position: sticky; top: 88px; }
.rside-card { background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 24px 48px -36px rgba(40,30,15,.4); }
.rside-head { background: var(--ink); color: #f4efe6; font-family: var(--font-display); font-size: 1.18rem; padding: 18px 22px; border-bottom: 2px solid var(--brass); letter-spacing: .01em; }
.rside-body { padding: 20px 22px 24px; }
.rside-agent { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.rside-avatar { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--brass-lt); font-family: var(--font-display); font-size: 16px; display: flex; align-items: center; justify-content: center; letter-spacing: .04em; }
.rside-agent-name { font-family: var(--font-sans); font-weight: 700; font-size: 15px; color: var(--ink); }
.rside-agent-role { font-size: 13px; color: var(--muted); }
.rside-contact { display: flex; flex-direction: column; gap: 3px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.rside-contact a { font-family: var(--font-sans); font-size: 15px; font-weight: 600; color: var(--brass-dk); text-decoration: none; }
.rside-contact a:hover { color: var(--ink); }
.rside-form .field { margin-bottom: 10px; }
.rside-form .consent { font-size: 12px; margin: 4px 0 14px; }

/* ── Responsywność karty ── */
@media (max-width: 920px) {
  .rental-grid { grid-template-columns: 1fr; }
  .rental-side { position: static; }
  .roverview { grid-template-columns: repeat(3,1fr); }
  .roverview li:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 680px) {
  .rdetails { grid-template-columns: 1fr; }
  .rfeatures { grid-template-columns: 1fr 1fr; }
  .rtitle { align-items: flex-start; }
  .rtitle-r { text-align: left; }
}
@media (max-width: 520px) {
  .roverview { grid-template-columns: repeat(2,1fr); }
  .rfeatures { grid-template-columns: 1fr; }
  .rgal-main { aspect-ratio: 4 / 3; }
}

/* ── Udogodnienia z indywidualnymi ikonami (karta oferty) ── */
.rfeatures li { gap: 12px; }
.rf-ico {
  flex: 0 0 auto; display: inline-flex; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(168,129,74,.12); color: var(--brass-dk);
  align-items: center; justify-content: center;
}
.rf-ico svg { width: 20px; height: 20px; }

/* ── Przycisk „Generuj ofertę PDF" (na karcie) ── */
.btn-offer {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  font-family: var(--font-sans); font-size: 13.5px; font-weight: 600; color: var(--brass-dk);
  background: rgba(168,129,74,.08); border: 1px solid var(--brass-lt); border-radius: 100px;
  padding: 9px 18px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn-offer svg { width: 17px; height: 17px; }
.btn-offer:hover {
  background: var(--brass); border-color: var(--brass); color: #fff; transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px rgba(168,129,74,.6);
}
