/* Soleno Kiermasz – kolory marki: granat #013d70, czcionki Domine (tytuły) i Figtree (tekst) z motywu. */
.so-km, .so-km-bar, .so-km-tile, .so-km-off { --km-navy: #013d70; --km-accent: #e8a317; --km-orange: var(--theme-palette-color-1, #E7624B); --km-line: #e3e8ee; font-family: Figtree, system-ui, sans-serif; }

/* Baner nad nagłówkiem */
.so-km-bar { background: var(--km-navy); background-image: linear-gradient(90deg, #013d70 0%, #0a5596 100%); color: #fff; line-height: 1.25; position: relative; z-index: 100000; border-bottom: 4px solid var(--km-orange); box-shadow: 0 4px 16px rgba(1,61,112,.25); }
.so-km-bar a { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; max-width: 1290px; margin: 0 auto; padding: 18px 24px; color: #fff !important; text-decoration: none !important; text-align: left; }
.so-km-bar-tag { background: var(--km-orange); color: #fff; border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; animation: so-km-pulse 2.4s ease-in-out infinite; }
.so-km-bar-text { display: flex; flex-direction: column; gap: 4px; }
.so-km-bar-title { font-family: Domine, Georgia, serif; font-size: 26px; font-weight: 700; }
.so-km-bar-info { font-size: 17px; opacity: .92; }
.so-km-bar-cta { background: var(--km-orange); color: #fff; border-radius: 10px; padding: 13px 26px; font-size: 17px; font-weight: 700; white-space: nowrap; transition: .15s; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.so-km-bar a:hover .so-km-bar-cta { background: #fff; color: var(--km-navy); }
/* Strona główna: baner jako karta pod wyszukiwarką */
.so-km-bar--home { z-index: 1; margin: 32px auto 8px; width: 100%; max-width: 1290px; border-radius: 18px; overflow: hidden; border-bottom: 0; box-shadow: 0 10px 30px rgba(1,61,112,.22); }
.so-km-bar--home a { padding: 26px 32px; gap: 14px 36px; }
.so-km-bar--home .so-km-bar-title { font-size: 30px; }
.so-km-bar--home::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--km-orange); }
/* Sobotnia zapowiedź z odliczaniem */
.so-km-cd { display: inline-flex; gap: 8px; }
.so-km-cd-u { display: flex; flex-direction: column; align-items: center; min-width: 64px; padding: 8px 6px 6px; border-radius: 10px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); }
.so-km-cd-u b { font-family: Domine, Georgia, serif; font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }
.so-km-cd-u small { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; opacity: .85; margin-top: 4px; }
.so-km-cd-live { background: var(--km-orange); border-radius: 10px; padding: 13px 26px; font-size: 17px; font-weight: 700; white-space: nowrap; }
.so-km-bar--home .so-km-cd-u { min-width: 72px; }
.so-km-bar--home .so-km-cd-u b { font-size: 34px; }
.so-km-soon { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; background: var(--km-navy); color: #fff; border-radius: 12px; padding: 16px 20px; margin: 4px 0 16px; }
.so-km-soon .so-km-cd-live { color: #fff; }
.so-km-end { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; }
.so-km-end-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .9; color: #fff; }
.so-km-head .so-km-cd-live { color: #fff; }
@keyframes so-km-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .so-km-bar-tag { animation: none; } }
@media (max-width: 760px) {
  .so-km-bar a { flex-direction: column; text-align: center; gap: 10px; padding: 16px 16px 18px; }
  .so-km-bar-text { align-items: center; }
  .so-km-bar-title { font-size: 21px; }
  .so-km-bar-info { font-size: 15px; }
  .so-km-bar-cta { padding: 11px 22px; font-size: 16px; }
  .so-km-bar--home { margin: 24px auto 4px; border-radius: 14px; }
  .so-km-bar--home a { padding: 20px 16px 22px; }
  .so-km-bar--home .so-km-bar-title { font-size: 22px; }
  .so-km-cd-u, .so-km-bar--home .so-km-cd-u { min-width: 58px; }
  .so-km-cd-u b, .so-km-bar--home .so-km-cd-u b { font-size: 26px; }
}

/* Kafel na stronę główną */
.so-km-tile { display: flex; flex-direction: column; gap: 6px; padding: 24px 28px; border-radius: 14px; background: var(--km-navy); color: #fff !important; text-decoration: none !important; max-width: 520px; }
.so-km-tile-title { font-family: Domine, Georgia, serif; font-size: 26px; line-height: 1.2; }
.so-km-tile-sub { opacity: .9; }
.so-km-tile .so-km-btn { align-self: flex-start; margin-top: 8px; background: #fff; color: var(--km-navy); }

/* Strona */
.so-km-off { border: 1px solid var(--km-line); border-radius: 14px; padding: 24px 28px; background: #f7f9fb; }
.so-km-off h2 { font-family: Domine, Georgia, serif; color: var(--km-navy); margin-top: 0; }
.so-km-preview { background: #fff4d6; border: 1px solid #f0d58a; padding: 8px 12px; border-radius: 8px; }
.so-km-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; background: var(--km-navy); color: #fff; border-radius: 14px; padding: 20px 24px; margin-bottom: 16px; }
.so-km-label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; opacity: .85; }
.so-km-big { font-family: Domine, Georgia, serif; font-size: 28px; line-height: 1.2; margin-top: 4px; }
.so-km-clock { background: rgba(255,255,255,.14); border-radius: 999px; padding: 6px 14px; font-weight: 600; }
.so-km-filters { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; margin-bottom: 8px; }
.so-km-filters select { width: 100%; padding: 9px 10px; border: 1px solid #c9d3de; border-radius: 8px; background: #fff; font: inherit; font-size: 15px; color: #1d2733; }
.so-km-count { color: #5b6876; font-size: 14px; margin: 6px 0 12px; }
.so-km-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.so-km-card { display: flex; flex-direction: column; border: 1px solid var(--km-line); border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 1px 3px rgba(1,61,112,.06); }
.so-km-img { position: relative; aspect-ratio: 16 / 10; background: #e9eef3 center / cover no-repeat; }
.so-km-badge { position: absolute; left: 10px; top: 10px; background: var(--km-orange); color: #fff; font-weight: 700; font-size: 13px; padding: 4px 9px; border-radius: 6px; }
.so-km-rec { position: absolute; right: 10px; top: 10px; background: #fff; color: var(--km-navy); font-weight: 700; font-size: 12px; padding: 4px 8px; border-radius: 6px; }
.so-km-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; flex: 1; }
.so-km-type { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #5b6876; font-weight: 700; }
.so-km-name { font-family: Domine, Georgia, serif; font-size: 18px; line-height: 1.25; color: var(--km-navy); margin: 0; }
.so-km-stars { color: var(--km-accent); font-size: 13px; letter-spacing: 1px; }
.so-km-place { color: #3b4754; font-size: 14px; }
.so-km-meta { color: #3b4754; font-size: 14px; }
.so-km-price { margin-top: auto; padding-top: 8px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.so-km-price b { font-size: 22px; color: #1d2733; }
.so-km-price span { color: #5b6876; font-size: 13px; }
.so-km-omni { font-size: 12px; color: #5b6876; }
.so-km-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.so-km-btn { display: inline-block; background: var(--km-navy); color: #fff !important; text-decoration: none !important; padding: 9px 16px; border-radius: 8px; font-weight: 600; font-size: 15px; }
.so-km-btn:hover { filter: brightness(1.15); }
.so-km-op { font-size: 14px; color: var(--km-navy) !important; }
.so-km-more { text-align: center; margin: 20px 0 8px; }
.so-km-more button { background: #fff; border: 1px solid var(--km-navy); color: var(--km-navy); border-radius: 999px; padding: 10px 22px; font: inherit; font-weight: 600; cursor: pointer; }
.so-km-note { font-size: 13px; color: #5b6876; margin-top: 16px; }
/* Okno oferty nad kiermaszem */
.so-km-modal { position: fixed; inset: 0; z-index: 2147483000; background: rgba(16,41,59,.55); }
.so-km-modal[hidden] { display: none; }
.so-km-modal-box { position: absolute; inset: 0; }
.so-km-modal iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: transparent; color-scheme: normal; }
.so-km-modal-load { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); max-width: 86vw; text-align: center; padding: 14px 24px; border-radius: 999px; font: 600 16px Figtree, system-ui, sans-serif; color: #013d70; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.so-km-modal-x { position: absolute; top: 16px; right: 16px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; color: #013d70; font-size: 20px; line-height: 42px; text-align: center; cursor: pointer; padding: 0; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.so-km-empty { grid-column: 1 / -1; padding: 24px; text-align: center; color: #5b6876; }
