/* t178u ux_v2: listing chips + stepper, applied filters, 'Svi filteri' sheet, one season line, 'Cene od' on cards,
   desktop list view = option B, AC surcharge warning, enquiry hint. Loaded only with ux_v2 ON. */
.st-ux2-top{padding-top:4px}
.st-ux2-season{margin:8px 0 12px;font-size:14px;color:var(--st-text-muted)}
.st-ux2-season::before{content:"";display:inline-block;width:8px;height:8px;margin:0 8px 1px 0;border-radius:50%;background:var(--st-accent)}
/* one search field on top */
.st-ux2-q{display:flex;align-items:center;gap:10px;width:100%;max-width:640px;min-height:48px;margin:0 0 12px;padding:6px 16px;border:1px solid var(--st-border-strong);border-radius:999px;background:#fff;font:inherit;text-align:left;color:var(--st-text);cursor:pointer;box-shadow:var(--st-shadow-1)}
.st-ux2-q .st-icon{flex:none;width:20px;height:20px;color:var(--st-primary)}
.st-ux2-q__v{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.st-ux2-q__h{margin-left:auto;font-size:13px;color:var(--st-text-muted);white-space:nowrap}
/* chip row */
.st-ux2-row{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 10px}
.st-ux2-chip{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 14px;border:1px solid var(--st-border-strong);border-radius:999px;background:#fff;font:inherit;font-size:14px;font-weight:600;line-height:1;color:var(--st-primary-dark);text-decoration:none;white-space:nowrap;cursor:pointer}
.st-ux2-chip:hover{border-color:var(--st-primary)}
.st-ux2-chip .st-icon{width:18px;height:18px;flex:none}
.st-ux2-chip.is-on{background:var(--st-primary);border-color:var(--st-primary);color:#fff}
.st-ux2-chip.is-zero:not(.is-on){opacity:.55}
.st-ux2-n{font-size:12px;font-weight:600;color:var(--st-text-muted)}
.st-ux2-chip.is-on .st-ux2-n{color:#fff;opacity:.85}
.st-ux2-chip--more{background:var(--st-primary-tint);border-color:var(--st-primary-tint)}
.st-ux2-mc{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--st-primary);color:#fff;font-size:12px}
/* stepper 'Osobe − N +' */
.st-ux2-stp.is-on{padding:0 2px 0 12px;gap:2px}
.st-ux2-stp__b{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:0;border-radius:50%;background:none;font:inherit;font-size:22px;font-weight:600;line-height:1;color:inherit;text-decoration:none;cursor:pointer}
.st-ux2-stp__b:hover{background:rgba(255,255,255,.18)}
.st-ux2-stp__b.is-off,.st-ux2-stp__b:disabled{opacity:.4;cursor:default}
.st-ux2-stp__v{min-width:18px;text-align:center;font-size:16px}
/* count + applied filters */
.st-ux2-bar{position:sticky;top:var(--st-header-h);z-index:5;display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0 calc(-1 * var(--st-gutter)) 12px;padding:8px var(--st-gutter);background:rgba(245,249,252,.96);border-bottom:1px solid var(--st-border)}
.st-ux2-cnt{font-size:15px;color:var(--st-primary-dark)}
.st-ux2-pg{font-size:13px;color:var(--st-text-muted)}
.st-ux2-applied{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.st-ux2-ap{display:inline-flex;align-items:center;gap:4px;min-height:32px;padding:0 6px 0 12px;border-radius:999px;background:var(--st-primary-tint);color:var(--st-primary-dark);font-size:13px;font-weight:600;text-decoration:none}
.st-ux2-ap .st-icon{width:16px;height:16px}
.st-ux2-reset{font-size:14px;font-weight:600;color:var(--st-primary);text-decoration:underline;padding:6px 4px}
.st-ux2-hint{flex-basis:100%;margin:0;font-size:13px;color:var(--st-text-muted)}
/* sheet */
.st-ux2-sheet{width:min(480px,100vw);max-width:100vw;height:100dvh;max-height:100dvh;margin:0 0 0 auto;padding:0;border:0;background:#fff;color:var(--st-text)}
.st-ux2-sheet::backdrop{background:rgba(7,52,91,.45)}
.st-ux2-sheet form{display:flex;flex-direction:column;height:100%}
.st-ux2-sheet__h{display:flex;align-items:center;justify-content:space-between;padding:8px 8px 8px 16px;border-bottom:1px solid var(--st-border)}
.st-ux2-sheet__h h2{margin:0;font-size:18px}
.st-ux2-sheet__b{flex:1 1 auto;overflow:auto;overscroll-behavior:contain;padding:8px 16px 16px}
.st-ux2-sheet fieldset{margin:0;padding:14px 0;border:0;border-bottom:1px solid var(--st-border)}
.st-ux2-sheet legend{padding:0 0 8px;font-weight:700;color:var(--st-primary-dark)}
.st-ux2-opt{display:flex;align-items:center;gap:12px;min-height:44px;cursor:pointer}
.st-ux2-opt input{width:20px;height:20px;accent-color:var(--st-primary)}
.st-ux2-opt .st-ux2-n{margin-left:auto}
.st-ux2-opt.is-zero{opacity:.5}
.st-ux2-sheet .st-ux2-stp{display:inline-flex;align-items:center;gap:4px;padding:2px;border:1px solid var(--st-border-strong);border-radius:999px}
.st-ux2-sheet .st-ux2-stp__l{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 12px;border:0;background:none;font:inherit;font-weight:600;color:var(--st-primary-dark);cursor:pointer}
.st-ux2-sheet .st-ux2-stp:not(.is-on) .st-ux2-stp__b,.st-ux2-sheet .st-ux2-stp:not(.is-on) .st-ux2-stp__v{display:none}
.st-ux2-sheet .st-ux2-stp.is-on{background:var(--st-primary);border-color:var(--st-primary);color:#fff}
.st-ux2-sheet .st-ux2-stp.is-on .st-ux2-stp__l{color:#fff}
.st-ux2-sheet__f{position:sticky;bottom:0;display:flex;align-items:center;gap:12px;padding:12px 16px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--st-border);background:#fff}
.st-ux2-sheet__f .st-btn{flex:1}
@media (max-width:767.98px){
  .st-ux2-q__h{display:none}
  .st-ux2-row{flex-wrap:nowrap;overflow-x:auto;margin:0 calc(-1 * var(--st-gutter)) 8px;padding:0 var(--st-gutter) 4px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .st-ux2-row::-webkit-scrollbar{display:none}
  .st-ux2-chip{flex:none}
  .st-ux2-chip--more{position:sticky;left:0;z-index:1;box-shadow:6px 0 8px -4px rgba(255,255,255,.9)}
  .st-ux2-sheet{width:100vw}
  .st-sv2 .st-view{display:none} /* no Mreža/Lista switch on mobile (grid only) */
}
/* 'Cene od' on every card with real prices */
.st-card__from{margin:4px 0 0;font-size:14px;color:var(--st-text-muted)}
.st-card__from strong{font-size:17px;color:var(--st-primary-dark)}
.st-card__fromn{font-size:12px}
/* option B facts: LIST view only, from 768px where the Mreža/Lista switch exists (grid + mobile unchanged) */
.st-card__x{display:none}
@media (min-width:768px){
  .st-sv2 .st-cards.st-cards--rows .st-card{grid-template-columns:300px minmax(0,1fr);align-items:stretch}
  .st-sv2 .st-cards.st-cards--rows .st-card:has(.st-card__x) .st-card__facts{display:none} /* the boxes below say the same, in words */
  .st-sv2 .st-cards.st-cards--rows .st-card__media{aspect-ratio:auto;width:100%;min-width:0;height:100%;min-height:225px} /* t237u: width = the 300px column (4/3 + height:100% let tall cards widen the photo over the text) */
  .st-sv2 .st-cards.st-cards--rows .st-card__media img{display:block;width:100%;height:100%;object-fit:cover}
  .st-sv2 .st-cards.st-cards--rows .st-card__x{display:block}
  .st-card__ex{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:2px 0 8px;font-size:14px;color:var(--st-text-muted)}
  .st-card__kv{display:flex;flex-wrap:wrap;gap:8px;margin:0}
  .st-card__kv div{min-width:110px;padding:6px 10px;border:1px solid var(--st-border);border-radius:var(--st-r-sm);background:var(--st-bg)}
  .st-card__kv dt{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.03em;color:var(--st-text-muted)}
  .st-card__kv dd{margin:0;font-size:14px;font-weight:600;color:var(--st-text)}
  .st-card__kv .is-warn{border-color:#F0C36D;background:#FFF8E6}
  .st-card__kv .is-warn dd{color:var(--st-warning)}
  .st-card__kv .is-warn dd::before{content:"! ";font-weight:800}
  .st-sv2 .st-cards.st-cards--rows .st-card__from{margin-top:10px}
}
/* property page */
.st-acc__from{margin:12px 0 0;font-size:15px}
.st-acc__from strong{font-size:18px;color:var(--st-primary-dark)}
.st-acc__from a{font-weight:600}
.st-acc__facts .st-acc__warn{color:var(--st-warning)}
.st-acc__facts .st-acc__warn strong{color:var(--st-warning)}
.st-acc__facts .st-acc__warn .st-icon{color:#C77700}
/* enquiry */
.st-enquiry__or{margin:-4px 0 8px}
/* header search window = quick search only (the dropdown form stays out of view) */
.st-ux2 .st-search .st-search__mount{display:none}
/* t247u: header inner = body content container (.st-wrap--wide), so the logo / phone button line up with the page edges */
.st-ux2 .st-header__inner{max-width:calc(var(--st-max-wide) + 2*var(--st-gutter))}
