/* ===== wow.ba glavni meni v41.28 – mega meni (računar) + pločice (telefon) ===== */
.wn-top { list-style: none; margin: 0; padding: 0; }
.wn-badge { font-style: normal; font-size: 9px; font-weight: 800; line-height: 1; padding: 3px 6px; border-radius: 8px; background: #ff5a36; color: #fff; letter-spacing: .04em; text-transform: uppercase; }
.wn-dim { position: fixed; inset: var(--header-h) 0 0; background: rgba(8, 14, 30, .38); opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s .2s; z-index: 998; }
html.wn-dd .wn-dim, html.wn-lock .wn-dim { opacity: 1; visibility: visible; transition-delay: 0s; }
.wn-ico { display: grid; place-items: center; }
.wn-items > a:nth-child(7n+1) { --ib: #e8f4ff; --ic: #1d8ff2; }
.wn-items > a:nth-child(7n+2) { --ib: #fff1e6; --ic: #f2711c; }
.wn-items > a:nth-child(7n+3) { --ib: #ecfdf3; --ic: #12a150; }
.wn-items > a:nth-child(7n+4) { --ib: #f4efff; --ic: #7c3aed; }
.wn-items > a:nth-child(7n+5) { --ib: #fff0f5; --ic: #e11d74; }
.wn-items > a:nth-child(7n+6) { --ib: #e9fbfd; --ic: #0891b2; }
.wn-items > a:nth-child(7n+7) { --ib: #fffbe6; --ic: #ca8a04; }
.wn-items > a[style*="--nc"] { --ic: var(--nc); }
.wn-vb { --ib: #e6fbf6 !important; --ic: #14a38b !important; }

/* smiri animacije u zaglavlju: odigraju se 2 puta pri otvaranju i stanu (bez stalnog crtanja = bez zastoja) */
.main-header .vb-btn, .main-header .vb-btn *, .main-header .vb-btn::before, .main-header .vb-btn::after,
.main-header .surp-btn, .main-header .surp-btn *, .main-header .surp-btn::before, .main-header .surp-btn::after,
.main-header .ai-wow-btn, .main-header .ai-wow-btn *, .main-header .ai-wow-btn::before, .main-header .ai-wow-btn::after,
.main-header .hx-snap, .main-header .hx-snap::before, .main-header .hx-snap::after, .main-header .hx-ic { animation-iteration-count: 2 !important; }

@media (min-width: 1101px) {
  .main-header { gap: 14px; }
  .wn-nav { margin-left: auto; position: static; }
  .wn-msearch, .wn-nav .nav-mob-tools, .wn-nav .nav-social { display: none !important; }
  .wn-top { display: flex; align-items: center; gap: 2px; }
  .wn-nav .wn-li, .wn-nav .wn-top { position: static; }
  .wn-a { display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 12px; border-radius: 12px; color: var(--ntc, #fff); font: var(--nfw, 700) var(--nfs, 12.5px)/1 var(--font-heading); letter-spacing: var(--nls, .04em); white-space: nowrap; position: relative; text-decoration: none; transition: background .18s, color .18s; }
  .nav-up .wn-a { text-transform: uppercase; }
  .wn-a:hover, .wn-li.wn-open > .wn-a, .wn-a:focus-visible { background: rgba(255, 255, 255, .1); color: #fff; outline: 0; }
  .wn-a.wn-act::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--nac, var(--primary)); }
  .wn-ic { font-size: 13px; opacity: .85; }
  .wn-car { font-size: 9px; opacity: .65; transition: transform .2s; }
  .wn-open > .wn-a .wn-car { transform: rotate(180deg); }
  .wn-a .wn-badge { margin-left: -2px; }
  .wn-a.wn-st-pulse { color: #ffd36b; }
  .wn-a.wn-st-pulse::before { content: ''; position: absolute; top: 7px; right: 5px; width: 7px; height: 7px; border-radius: 50%; background: #ff5a36; box-shadow: 0 0 0 2px rgba(255, 90, 54, .25); animation: wnDot 1.8s ease-in-out infinite; }
  .wn-a.wn-st-pulse:has(.wn-badge)::before { display: none; }
  .wn-a.wn-st-pulse .wn-badge { animation: wnDot 1.8s ease-in-out infinite; }
  .wn-a.wn-st-aura { color: #ffd36b; background: linear-gradient(135deg, rgba(255, 211, 107, .16), rgba(255, 122, 26, .16)); box-shadow: inset 0 0 0 1px rgba(255, 211, 107, .35); }
  .wn-a.wn-st-aura:hover { background: linear-gradient(135deg, rgba(255, 211, 107, .26), rgba(255, 122, 26, .26)); }
  .wn-a.wn-st-vb { color: #5eead4; text-transform: none; letter-spacing: 0; }
  .wn-a.wn-st-glow { color: #fff; text-shadow: 0 0 10px rgba(77, 183, 254, .8); }
  .wn-a.wn-st-gradient .wn-t { background: linear-gradient(90deg, #4db7fe, #a78bfa, #ffb86b); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .wn-a.wn-st-button { background: var(--nc, var(--primary)); color: #fff; }
  .wn-a.wn-st-outline { box-shadow: inset 0 0 0 1.5px var(--nc, rgba(255, 255, 255, .5)); }
  .wn-li[style*="--nc"] > .wn-a:not(.wn-st-button) { color: var(--nc); }

  .wn-mega { position: absolute; top: calc(100% - 8px); left: 50%; width: min(1180px, calc(100vw - 32px)); transform: translate(-50%, 10px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .18s ease, transform .22s ease, visibility 0s .22s; z-index: 1001; }
  .wn-li.wn-open > .wn-mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); pointer-events: auto; transition-delay: 0s; }
  html:not(.wn-js) .wn-li:focus-within > .wn-mega, html:not(.wn-js) .wn-li:hover > .wn-mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); pointer-events: auto; }
  .wn-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 18px; background: #fff; border-radius: 22px; padding: 18px; box-shadow: 0 30px 70px rgba(10, 18, 40, .28); border: 1px solid #e8edf6; max-height: calc(100vh - var(--header-h) - 24px); overflow: auto; }
  .wn-in:not(:has(.wn-promo)) { grid-template-columns: 1fr; }
  .wn-in::before { content: ''; position: absolute; left: 24px; right: 24px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, #4db7fe, #a78bfa, #ff7a1a); }
  .wn-mega:not(.wn-headed) .wn-items { display: grid; grid-template-columns: repeat(var(--wc), minmax(0, 1fr)); gap: 4px 10px; }
  .wn-headed .wn-cols { display: grid; grid-template-columns: repeat(var(--wc), minmax(0, 1fr)); gap: 16px; }
  .wn-headed .wn-items { display: grid; gap: 1px; }
  .wn-headed .wn-col + .wn-col { border-left: 1px solid #eef2f8; padding-left: 14px; }
  .wn-h { display: flex; align-items: center; gap: 8px; padding: 6px 10px 10px; font: 800 11px/1 var(--font-heading); text-transform: uppercase; letter-spacing: .08em; color: #94a3b8; }
  .wn-h i { color: #4db7fe; }
  .wn-card { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; color: #1e293b; text-decoration: none; transition: background .15s, transform .15s; min-width: 0; }
  .wn-card:hover, .wn-card:focus-visible { background: #f3f7ff; transform: translateX(2px); outline: 0; }
  .wn-card .wn-ico { flex: 0 0 42px; height: 42px; border-radius: 13px; background: var(--ib, #eef4ff); color: var(--ic, #1d8ff2); font-size: 17px; transition: transform .2s; }
  .wn-card:hover .wn-ico { transform: scale(1.08) rotate(-4deg); }
  .wn-headed .wn-card { padding: 7px 10px; gap: 10px; }
  .wn-headed .wn-card .wn-ico { flex-basis: 32px; height: 32px; border-radius: 10px; font-size: 14px; }
  .wn-tx { min-width: 0; }
  .wn-tx b { display: block; font-size: 14px; font-weight: 800; line-height: 1.25; }
  .wn-headed .wn-tx b { font-size: 13.5px; font-weight: 700; }
  .wn-tx small { display: block; color: #64748b; font-size: 12px; line-height: 1.35; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .wn-card.act .wn-tx b { color: var(--primary); }
  .wn-surp { background: linear-gradient(135deg, #fff7e6, #ffeef6); }
  .wn-promo { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 18px; color: #fff; }
  .wn-p-stay { background: radial-gradient(240px 160px at 100% 0, rgba(255, 255, 255, .18), transparent 60%), linear-gradient(150deg, #2563eb, #1e3a8a); }
  .wn-p-vb { background: radial-gradient(240px 160px at 100% 0, rgba(255, 255, 255, .18), transparent 60%), linear-gradient(150deg, #0d9488, #134e4a); }
  .wn-p-tools { background: radial-gradient(240px 160px at 100% 0, rgba(255, 255, 255, .18), transparent 60%), linear-gradient(150deg, #db2777, #6d28d9); }
  .wn-promo img { width: 104px; height: 104px; object-fit: contain; align-self: flex-end; margin: -8px -6px -6px 0; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .25)); }
  .wn-promo b { font: 800 18px/1.2 var(--font-heading); }
  .wn-promo p { margin: 0; font-size: 13px; line-height: 1.45; opacity: .9; }
  .wn-pbtn { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 14px; border-radius: 12px; background: #fff; color: #1e293b !important; font-weight: 800; font-size: 13.5px; text-decoration: none; transition: transform .15s; }
  .wn-pbtn:hover { transform: translateY(-2px); }
  .wn-plink { color: #fff !important; opacity: .85; font-size: 13px; text-align: center; text-decoration: underline; }
  @keyframes wnDot { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); } }

  /* stalno na računaru: kompaktno zaglavlje (Virtual Baščaršija je u meniju Istraži, pretraga kao ikona, NOVO = tačkica) */
  .main-header .vb-btn { display: none; }
  .main-header .header-search_btn span { display: none; }
  .main-header .header-search_btn { padding: 12px 14px; margin-left: 4px; }
  .wn-a .wn-badge { display: none; }
  .wn-a.wn-st-pulse:has(.wn-badge)::before { display: block; }
  .wn-a .wn-ic { display: none; }
  .wn-a { padding: 0 10px; letter-spacing: .03em; }
  /* postepeno sažimanje ako i dalje ne stane (samo pri promjeni širine) */
  .main-header.hx-c1 .wn-a .wn-ic { display: none !important; } .main-header.hx-c1 .surp-btn span, .main-header.hx-c1 .hx-snap span { display: none !important; }
  .main-header.hx-c2 .wn-pre, .main-header.hx-c2 .add-list .txt, .main-header.hx-c2 .ai-wow-btn .txt, .main-header.hx-c2 .header-user-name .txt, .main-header.hx-c2 .show-reg-form .txt { display: none !important; } .main-header.hx-c2 .wn-a { padding: 0 8px; }
  .main-header.hx-c3 { gap: 8px; padding: 0 12px; } .main-header.hx-c3 .wn-a { padding: 0 6px; font-size: 11px; letter-spacing: 0; } .main-header.hx-c3 .cur-wrap, .main-header.hx-c3 .hx-wx, .main-header.hx-c3 .surp-btn { display: none !important; } .main-header.hx-c3 .header-actions { gap: 6px; }
}
@media (min-width: 1800px) {
  .wn-a .wn-ic { display: inline-block; }
  .wn-a { padding: 0 12px; }
}
@media (min-width: 1101px) and (max-width: 1799px) {
  .main-header .surp-btn span, .main-header .hx-snap span { display: none; }
  .main-header .surp-btn { padding: 0 8px 0 4px; }
}
@media (min-width: 1101px) and (max-width: 1499px) {
  .main-header .add-list .txt { display: none; } .main-header .add-list { padding: 0 12px; }
}
@media (min-width: 1101px) and (max-width: 1399px) {
  .wn-pre { display: none; }
  .main-header .header-user-name .txt, .main-header .ai-wow-btn .txt, .main-header .hx-wx { display: none; }
  .main-header .ai-wow-btn { padding: 0 6px; }
  .main-header { padding: 0 18px; gap: 10px; }
  .main-header .header-actions { gap: 8px; }
}
@media (min-width: 1101px) and (max-width: 1249px) {
  .main-header .surp-btn { display: none; }
  .wn-a { padding: 0 7px; font-size: 11.5px; letter-spacing: .01em; }
  .main-header { gap: 8px; padding: 0 12px; }
}

/* ===== telefon / tablet: meni kao aplikacija ===== */
@media (max-width: 1100px) {
  /* ladica dolazi s lijeve strane ispod zaglavlja (pozicija iz app.css v41.18) */
  .wn-nav.nav-holder { width: min(440px, 100vw); margin: 0; padding: 0 0 28px; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    background: radial-gradient(420px 300px at 100% 0, rgba(77, 183, 254, .16), transparent 60%), linear-gradient(180deg, #13203f, #0d1530); z-index: 1100; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
  html.wn-lock, html.wn-lock body { overflow: hidden; }
  html.wn-lock .wn-dim { inset: var(--header-h) 0 0; z-index: 1090; background: rgba(5, 10, 24, .55); }
  .wn-nav .nav-side-back { order: 0; }
  .wn-body { order: 1; }
  .wn-msearch { order: 0; position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 14px 14px 10px; background: linear-gradient(180deg, #13203f 75%, rgba(19, 32, 63, 0)); }
  .wn-msearch > i { position: absolute; left: 30px; color: #7cc8ff; pointer-events: none; }
  .wn-msearch input { flex: 1; min-width: 0; height: 48px; border: 0; border-radius: 15px; padding: 0 14px 0 42px; background: rgba(255, 255, 255, .1); color: #fff; font: 600 15px/1 var(--font-body); outline: 0; }
  .wn-msearch input::placeholder { color: rgba(255, 255, 255, .55); }
  .wn-msearch input:focus { background: rgba(255, 255, 255, .16); box-shadow: 0 0 0 2px rgba(77, 183, 254, .6); }
  .wn-close { flex: 0 0 48px; height: 48px; border: 0; border-radius: 15px; background: rgba(255, 255, 255, .1); color: #fff; font-size: 18px; cursor: pointer; }
  .wn-top { order: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; padding: 4px 14px 12px; }
  .wn-li { position: relative; min-width: 0; order: 1; }
  .wn-a { color: #fff; text-decoration: none; }
  .wn-li:not(.wn-has) > .wn-a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 13px 6px 11px; border-radius: 17px; background: rgba(255, 255, 255, .07); text-align: center; font: 700 12px/1.2 var(--font-heading); }
  .wn-li:not(.wn-has) > .wn-a:active { transform: scale(.97); }
  .wn-li:not(.wn-has) > .wn-a .wn-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 19px; background: rgba(77, 183, 254, .18); color: #8fd0ff; }
  .wn-li:nth-child(5n+2):not(.wn-has) > .wn-a .wn-ic { background: rgba(255, 196, 61, .18); color: #ffd36b; }
  .wn-li:nth-child(5n+3):not(.wn-has) > .wn-a .wn-ic { background: rgba(52, 211, 153, .18); color: #6ee7b7; }
  .wn-li:nth-child(5n+4):not(.wn-has) > .wn-a .wn-ic { background: rgba(244, 114, 182, .18); color: #f9a8d4; }
  .wn-li:nth-child(5n+5):not(.wn-has) > .wn-a .wn-ic { background: rgba(167, 139, 250, .2); color: #c4b5fd; }
  .wn-li:not(.wn-has) > .wn-a .wn-badge { position: absolute; top: 7px; right: 7px; }
  .wn-li:not(.wn-has) > .wn-a.wn-st-pulse::before { content: ''; position: absolute; top: 9px; left: 9px; width: 8px; height: 8px; border-radius: 50%; background: #ff5a36; }
  .wn-li:not(.wn-has) > .wn-a.wn-st-aura { background: linear-gradient(150deg, rgba(255, 211, 107, .2), rgba(255, 122, 26, .16)); box-shadow: inset 0 0 0 1px rgba(255, 211, 107, .3); }
  .wn-li > .wn-a.wn-act { box-shadow: inset 0 0 0 2px rgba(77, 183, 254, .7); }
  .wn-has { grid-column: 1 / -1; order: 2; }
  .wn-has > .wn-a { display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 16px; border-radius: 17px; background: rgba(255, 255, 255, .06); font: 800 14px/1 var(--font-heading); text-transform: uppercase; letter-spacing: .05em; }
  .wn-has > .wn-a .wn-ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: rgba(77, 183, 254, .18); color: #8fd0ff; font-size: 15px; }
  .wn-has > .wn-a .wn-car { margin-left: auto; font-size: 13px; opacity: .7; transition: transform .2s; }
  .wn-has.wn-exp > .wn-a { background: rgba(255, 255, 255, .1); }
  .wn-has.wn-exp > .wn-a .wn-car { transform: rotate(180deg); }
  .wn-mega { display: none; padding: 10px 0 2px; }
  .wn-has.wn-exp > .wn-mega { display: block; animation: wnIn .22s ease; }
  @keyframes wnIn { from { opacity: 0; transform: translateY(-6px); } }
  .wn-in { display: block; }
  .wn-cols { display: block; }
  .wn-col + .wn-col { margin-top: 12px; }
  .wn-h { display: flex; gap: 8px; align-items: center; padding: 2px 4px 8px; color: rgba(255, 255, 255, .55); font: 800 11px/1 var(--font-heading); text-transform: uppercase; letter-spacing: .08em; }
  .wn-h i { color: #7cc8ff; }
  .wn-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .wn-card { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 12px 4px 10px; border-radius: 15px; background: rgba(255, 255, 255, .05); color: #fff; text-align: center; text-decoration: none; min-width: 0; }
  .wn-card:active { transform: scale(.97); }
  .wn-card .wn-ico { width: 40px; height: 40px; border-radius: 13px; background: rgba(255, 255, 255, .1); color: var(--ic, #8fd0ff); font-size: 17px; filter: brightness(1.35) saturate(1.1); }
  .wn-card.act { box-shadow: inset 0 0 0 2px rgba(77, 183, 254, .6); }
  .wn-tx b { display: block; font-size: 11.5px; font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
  .wn-tx b .wn-badge { display: inline-block; margin-top: 3px; }
  .wn-tx small { display: none; }
  .wn-promo { display: grid; grid-template-columns: 58px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; margin-top: 10px; padding: 12px 14px; border-radius: 16px; color: #fff; }
  .wn-p-stay { background: linear-gradient(135deg, #2563eb, #1e3a8a); } .wn-p-vb { background: linear-gradient(135deg, #0d9488, #134e4a); } .wn-p-tools { background: linear-gradient(135deg, #db2777, #6d28d9); }
  .wn-promo img { grid-row: 1 / 3; width: 58px; height: 58px; object-fit: contain; }
  .wn-promo b { font-size: 14.5px; } .wn-promo p, .wn-plink { display: none; }
  .wn-pbtn { justify-self: start; margin-top: 6px; padding: 7px 12px; border-radius: 10px; background: #fff; color: #1e293b !important; font-weight: 800; font-size: 12.5px; text-decoration: none; }
  .wn-nav .nav-mob-tools { order: 3; margin: 6px 14px 0; }
  .wn-nav .nav-social { order: 4; }
}
@media (prefers-reduced-motion: reduce) { .wn-a.wn-st-pulse::before, .wn-a.wn-st-pulse .wn-badge { animation: none !important; } .wn-mega, .wn-nav.nav-holder { transition: none !important; } }
html.wn-dd #wow-pals, html.wn-lock #wow-pals { opacity: 0 !important; visibility: hidden !important; transition: opacity .15s; }
@media (max-width: 1100px) { .wn-nav.nav-holder { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }
.ptn-credit { opacity: .75; white-space: nowrap; } .ptn-credit b { font-weight: 800; letter-spacing: .02em; background: linear-gradient(90deg, #f6d97a, #4db7fe); -webkit-background-clip: text; background-clip: text; color: transparent; }
