/* ============================================================
   AKSAL CROWN — mäkká geometria
   Zaoblenie, ktoré platí pre celý web. Farby, písma a rozloženie
   sú v main.css a v CSS jednotlivých stránok.
   ============================================================ */

/* ---------- tlačidlá a štítky do pilulky ---------- */
.btn,
.tag,
.chip,
.af,
.partner-badge,
.mini-tag,
.prop-count,
.pin-price { border-radius: var(--r-pill); }

.link { border-bottom: 0; padding: 9px 18px; border-radius: var(--r-pill);
  background: var(--gold-soft); color: var(--gold-deep); }
.link:hover { background: var(--gold); color: var(--petrol-deep); }
.link.on-dark { background: rgba(255,255,255,.12); color: #fff; }
.link.on-dark:hover { background: var(--gold); color: var(--petrol-deep); }

/* ---------- kruhové drobnosti ---------- */
.foot-social a,
.lb-btn,
.slider-nav button,
.stack-n,
.why-n,
.flow-n,
.acc-tog,
.af button,
.icon-btn,
.cat-ico,
.chip .ci,
.brand-fallback,
.map-legend .swatch { border-radius: 50%; }

.quote-dots button { border-radius: var(--r-pill); }

/* ---------- polia a formuláre ---------- */
.field input,
.field select,
.field textarea,
.a-filter input,
.a-filter select,
.row-item input { border-radius: var(--r-sm); }
.form-card,
.hero-find, .cine-find { border-radius: var(--r-lg); }
.form-msg { border-radius: var(--r-sm); }

/* ---------- karty ---------- */
.prop-card,
.mini,
.step,
.sup,
.member,
.partner,
.post-card,
.ref,
.flow-item,
.q-item,
.feature,
.side-card,
.info-card,
.person,
.stack-card,
.a-card,
.a-kpi,
.login-card,
.empty { border-radius: var(--r-lg); overflow: hidden; }

/* rozbaľovacie bloky sa nesmú orezávať — obsah musí rásť.
   Rohy zaoblíme na hlavičke, aby jej podfarbenie nevytŕčalo. */
.acc { border-radius: var(--r-lg); }
.acc-head { border-radius: var(--r-lg); }
.acc[open] .acc-head { border-radius: var(--r-lg) var(--r-lg) 0 0; }

/* karty s vnútorným posuvom nesmú orezávať */
.map-list,
.split-list { border-radius: 0; overflow-y: auto; }

/* obsah kariet potrebuje vlastné odsadenie, keď je roh zaoblený */
.acc + .acc { border-top: 1px solid var(--line); margin-top: 10px; }
.side-card + .side-card { border-top: 1px solid var(--line); }
.person + .person { border-top: 1px solid var(--line); }

/* Panel filtrov sa NESMIE orezávať — orezal by rozbalené menu.
   Vnútorné okraje si riešia jeho sekcie samy. */
.filters { border-radius: var(--r-lg); overflow: visible; }
.filters > :first-child { border-radius: var(--r-lg) var(--r-lg) 0 0; }
.filters > :last-child  { border-radius: 0 0 var(--r-lg) var(--r-lg); }

/* ---------- mediálne plochy ---------- */
.p-table-wrap,
.video-wrap,
.article-hero,
.step-stage,
.band,
.price-box,
.stats,
.p-facts,
.licence a,
.pick-map,
.drop,
.a-gal figure { border-radius: var(--r-lg); overflow: hidden; }

.gallery figure,
.p-shots figure,
.panel,
.hero-strip figure { border-radius: var(--r); overflow: hidden; }

.cta,
.p-cta { border-radius: var(--r-lg); }

.map-item img,
.a-table img { border-radius: var(--r-sm); }

/* ---------- mapa ----------
   Zaoblenie patrí na .leaflet-container — ten už má od Leafletu
   overflow:hidden, takže oreže dlaždice do rohov.
   POZOR: .leaflet-tile-pane nesmie dostať overflow:hidden — je to
   prvok s nulovým rozmerom, orezal by úplne všetky dlaždice. */
.map-shell { border-radius: var(--r-lg); overflow: visible; }
.map-shell .leaflet-container { border-radius: var(--r-lg); }
.map-shell.has-legend .leaflet-container { border-radius: var(--r-lg) var(--r-lg) 0 0; }

/* ---------- piny a bubliny ---------- */
.leaflet-popup-content-wrapper { border-radius: var(--r) !important; }
.pin-body { border-radius: 50% 50% 50% 50%; }
.pin-tail { border-radius: 0 0 3px 0; }
.map-legend button { border-radius: var(--r-pill); }
.map-canvas { border-radius: 0; }

/* ---------- prepínače a stránkovanie ---------- */
.view-toggle { border-radius: var(--r-pill); overflow: hidden; }
.pager button { border-radius: var(--r-pill); }
.a-nav button { border-radius: var(--r-pill); }

/* ---------- lišta a pásy ---------- */
.rail-bar { border-radius: var(--r-pill); overflow: hidden; }
.rail-bar i { border-radius: var(--r-pill); }
#progress { border-radius: 0 var(--r-pill) var(--r-pill) 0; }
.sec-head h2::after,
.page-head h1::after,
.cta h2::after { border-radius: var(--r-pill); height: 3px; }

/* ---------- portréty a avatary ---------- */
.member-photo,
.partner-img,
.post-media,
.mini-img,
.sup-img,
.step-img,
.band-img { border-radius: 0; }   /* orezáva ich už karta */
.person img,
.person .ini { border-radius: var(--r); }

/* ---------- toast a bubliny ---------- */
.toast { border-radius: var(--r); }

/* ---------- jemnejšie prechody ---------- */
.member:hover,
.post-card:hover { transform: translateY(-5px); }

/* ============================================================
   VIAC ZAOBLENIA — veľké plochy a pásy
   ============================================================ */

/* celé pásy sekcií ako mäkké dosky */
.hero { border-radius: 0 0 var(--r-xl) var(--r-xl); }
.page-head { border-radius: 0 0 var(--r-xl) var(--r-xl); }
.p-hero { border-radius: 0 0 var(--r-xl) var(--r-xl); }
footer.site { border-radius: var(--r-xl) var(--r-xl) 0 0; }
.searchbar { border-radius: var(--r-lg); margin: 0 auto; max-width: calc(var(--wrap) - 0px); }

/* tmavý pás s referenciami ako samostatná doska */
.section.dark { border-radius: var(--r-xl); margin-inline: 24px; }
.section.tintd { border-radius: var(--r-xl); margin-inline: 24px; }
@media (max-width: 640px) {
  .section.dark,
  .section.tintd { border-radius: var(--r-lg); margin-inline: 12px; }
  .hero,
  .page-head,
  .p-hero { border-radius: 0 0 var(--r-lg) var(--r-lg); }
}

/* väčšie zaoblenie pre médiá a bloky */
.gallery figure,
.p-shots figure,
.panel,
.hero-strip figure,
.video-wrap,
.step-stage,
.article-hero { border-radius: var(--r-lg); }

.cta,
.p-cta,
.price-box,
.band,
.hero-find,
.cine-find,
.form-card { border-radius: var(--r-lg); }

.map-item img { border-radius: var(--r-sm); }
.person img,
.person .ini { border-radius: var(--r); }
.leaflet-popup-content-wrapper { border-radius: var(--r) !important; }
.toast,
.form-msg { border-radius: var(--r); }

/* admin — nech je konzistentný */
.a-card,
.a-kpi,
.login-card,
.drop,
.pick-map,
.a-gal figure { border-radius: var(--r-lg); }
.help { border-radius: 0 var(--r) var(--r) 0; }

/* prepínač sedí na zaoblenej pätičke */
