
/* VM Topbar 8.0
 * - original blue style, isolated class names (.vmt6) so Woodmart Child can't override it
 * - full-bleed background, content aligned from the logo's left edge to the right edge of "Steam oyunları"
 * - news = continuous ticker (never stops), headlines separated by a small centered chip
 * - to change the news: edit the <span class="vmt6__item"> texts in the HTML below */
/* Head styles are scoped to the topbar; never change html overflow globally. */
.vmt6,.vmt6 *,.vmt6 *::before,.vmt6 *::after{box-sizing:border-box!important}
.vmt6{--vmt-blue:#0d6efd;--vmt-gap:22px;
  display:block!important;position:relative!important;
  width:100vw!important;max-width:none!important;min-width:100vw!important;
  margin:0 0 0 calc(50% - 50vw)!important;padding:0!important;
  height:40px!important;min-height:40px!important;border:0!important;
  background:var(--vmt-blue)!important;color:#fff!important;overflow:visible!important;
  font-family:Roboto,Arial,sans-serif!important;font-size:12px!important;line-height:1.2!important;z-index:100}

/* ---------- Layout: [left buttons] [news ticker — stretches] [right buttons] ---------- */
.vmt6 .vmt6__inner{width:calc(100% - 32px)!important;max-width:1341px!important;
  margin:0 auto!important;height:40px!important;padding:0!important;
  display:grid!important;grid-template-columns:max-content minmax(0,1fr) max-content!important;
  gap:14px!important;align-items:center!important;position:relative!important;overflow:visible!important}
.vmt6 .vmt6__left,.vmt6 .vmt6__right{display:flex!important;flex-wrap:nowrap!important;
  align-items:center!important;gap:8px!important;width:max-content!important;max-width:none!important;
  min-width:0!important;margin:0!important;padding:0!important;white-space:nowrap!important}
.vmt6 .vmt6__right{justify-content:flex-end!important}

/* ---------- Pills ---------- */
.vmt6 .vmt6__pill{height:30px!important;min-height:30px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;
  padding:4px 11px 4px 5px!important;color:#fff!important;background:rgba(255,255,255,.12)!important;
  border:0!important;border-radius:999px!important;box-shadow:none!important;
  font-family:inherit!important;font-size:12px!important;font-weight:600!important;
  text-decoration:none!important;text-transform:none!important;line-height:1!important;
  white-space:nowrap!important;flex:0 0 auto!important;width:auto!important;min-width:0!important;
  transition:background-color .16s ease!important}
.vmt6 .vmt6__pill:hover{background:rgba(255,255,255,.22)!important}
.vmt6 .vmt6__icon{height:20px!important;width:20px!important;min-width:20px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  border-radius:6px!important;background:rgba(255,255,255,.16)!important;color:#fff!important;flex-shrink:0!important}
.vmt6 .vmt6__icon svg{width:15px!important;height:15px!important;display:block!important;
  stroke:#fff!important;stroke-width:2!important;stroke-linejoin:round!important;
  stroke-linecap:round!important;fill:none!important}
.vmt6 .vmt6__short{display:none!important}

/* ---------- News block ---------- */
.vmt6 .vmt6__news{display:grid!important;grid-template-columns:96px minmax(0,1fr)!important;
  align-items:center!important;width:100%!important;max-width:none!important;min-width:0!important;
  height:34px!important;min-height:34px!important;margin:0!important;padding:0!important;
  border:1px solid rgba(255,255,255,.16)!important;border-radius:10px!important;
  background:rgba(0,0,0,.14)!important;overflow:hidden!important;white-space:nowrap!important;
  justify-self:stretch!important}
.vmt6 .vmt6__label{display:flex!important;align-items:center!important;justify-content:flex-start!important;
  gap:7px!important;width:96px!important;height:32px!important;padding:0 10px!important;margin:0!important;
  font-size:12px!important;font-weight:700!important;line-height:1!important;color:#fff!important;
  border-right:1px solid rgba(255,255,255,.16)!important;overflow:hidden!important;position:relative!important;z-index:2!important}
.vmt6 .vmt6__dot{width:8px!important;height:8px!important;min-width:8px!important;display:block!important;
  border-radius:50%!important;background:#22c55e!important;flex:0 0 8px!important;
  animation:vmt6pulse 2.4s ease-out infinite!important}
@keyframes vmt6pulse{0%{box-shadow:0 0 0 0 rgba(34,197,94,.55)}70%,100%{box-shadow:0 0 0 7px rgba(34,197,94,0)}}

/* Ticker: soft fade on both edges, content flows right → left without stopping */
.vmt6 .vmt6__ticker{position:relative!important;display:block!important;min-width:0!important;width:100%!important;
  height:32px!important;margin:0!important;padding:0!important;overflow:hidden!important;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 28px,#000 calc(100% - 28px),transparent 100%)!important;
          mask-image:linear-gradient(90deg,transparent 0,#000 28px,#000 calc(100% - 28px),transparent 100%)!important}
.vmt6 .vmt6__belt{display:flex!important;align-items:center!important;width:max-content!important;height:32px!important;
  margin:0!important;padding:0!important;will-change:transform!important}
.vmt6 .vmt6__belt.is-live{animation:vmt6scroll var(--vmt6-dur,40s) linear infinite!important}
.vmt6 .vmt6__news:hover .vmt6__belt.is-live,
.vmt6 .vmt6__news:focus-within .vmt6__belt.is-live{animation-play-state:paused!important}
@keyframes vmt6scroll{from{transform:translate3d(0,0,0)}to{transform:translate3d(calc(-100% / var(--vmt6-n,2)),0,0)}}
.vmt6 .vmt6__group{display:flex!important;align-items:center!important;flex:0 0 auto!important;
  gap:var(--vmt-gap)!important;padding-right:var(--vmt-gap)!important;margin:0!important}
.vmt6 .vmt6__item{display:block!important;flex:0 0 auto!important;white-space:nowrap!important;
  color:#fff!important;font-size:12.5px!important;font-weight:500!important;line-height:1.25!important}
/* centered separator chip between headlines */
.vmt6 .vmt6__sep{display:inline-flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 18px!important;width:18px!important;height:18px!important;border-radius:6px!important;
  background:rgba(255,255,255,.16)!important;color:#fff!important}
.vmt6 .vmt6__sep svg{width:11px!important;height:11px!important;stroke:#fff!important;stroke-width:2.2!important;
  stroke-linecap:round!important;stroke-linejoin:round!important;fill:none!important}

/* ---------- Services dropdown (native <details>, works without JS) ---------- */
.vmt6 .vmt6__services{position:relative!important;display:block!important;min-width:0!important;margin:0!important;padding:0!important;flex:none!important}
.vmt6 .vmt6__services>summary{display:inline-flex!important;align-items:center!important;cursor:pointer!important;list-style:none!important}
.vmt6 .vmt6__services>summary::-webkit-details-marker{display:none!important}
.vmt6 .vmt6__chev{display:inline-flex!important;width:12px!important;height:12px!important;align-items:center!important;transition:transform .18s ease!important}
.vmt6 .vmt6__chev svg{width:12px!important;height:12px!important;fill:none!important;stroke:#fff!important;stroke-width:2!important}
.vmt6 .vmt6__services[open] .vmt6__chev{transform:rotate(180deg)!important}
.vmt6 .vmt6__dropdown{position:absolute!important;top:calc(100% + 9px)!important;right:0!important;
  z-index:9999!important;width:278px!important;max-width:calc(100vw - 22px)!important;
  display:block!important;padding:7px!important;border:1px solid #e1e8f4!important;
  border-radius:12px!important;background:#fff!important;
  box-shadow:0 12px 34px rgba(12,48,95,.23)!important;color:#1d2b42!important}
.vmt6 .vmt6__dropdown a{display:flex!important;align-items:center!important;gap:10px!important;
  min-height:49px!important;padding:7px!important;border-radius:8px!important;
  color:#1d2b42!important;text-decoration:none!important;font-size:13px!important;
  font-weight:600!important;text-transform:none!important;line-height:1.25!important}
.vmt6 .vmt6__dropdown a:hover{background:#eef5ff!important}
.vmt6 .vmt6__dropdown strong,.vmt6 .vmt6__dropdown small{display:block!important;color:#1d2b42!important}
.vmt6 .vmt6__dropdown small{font-size:11px!important;font-weight:400!important;color:#7486a1!important;margin-top:3px!important}
.vmt6 .vmt6__menu-icon{flex:0 0 32px!important;width:32px!important;height:32px!important;
  display:grid!important;place-items:center!important;border-radius:9px!important;
  background:#eaf3ff!important;color:#0067ed!important}
.vmt6 .vmt6__menu-icon svg{width:16px!important;height:16px!important;fill:none!important;
  stroke:currentColor!important;stroke-width:2!important;stroke-linejoin:round!important;stroke-linecap:round!important}
.vmt6 :is(a,button,summary):focus-visible{outline:2px solid #fff!important;outline-offset:2px!important}

/* ---------- Narrow desktop ---------- */
@media(min-width:1051px) and (max-width:1200px){
  .vmt6 .vmt6__inner{gap:8px!important}
  .vmt6 .vmt6__left,.vmt6 .vmt6__right{gap:5px!important}
  .vmt6 .vmt6__pill{font-size:11px!important;padding:4px 8px 4px 4px!important;gap:5px!important}
}

/* ---------- Tablet / mobile: news goes to its own full-width row ---------- */
@media(max-width:1050px){
  .vmt6{height:76px!important;min-height:76px!important}
  .vmt6 .vmt6__inner{height:76px!important;grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-rows:32px 36px!important;gap:4px 8px!important}
  .vmt6 .vmt6__left{grid-column:1!important;grid-row:1!important;width:auto!important;max-width:100%!important}
  .vmt6 .vmt6__right{grid-column:2!important;grid-row:1!important;width:auto!important;max-width:100%!important}
  .vmt6 .vmt6__news{grid-column:1/-1!important;grid-row:2!important;width:100%!important;max-width:none!important;
    min-width:0!important;height:34px!important;grid-template-columns:94px minmax(0,1fr)!important}
  .vmt6 .vmt6__label{width:94px!important}
}
@media(max-width:600px){
  .vmt6 .vmt6__short{display:inline!important}
  .vmt6 .vmt6__full{display:none!important}
  .vmt6 .vmt6__pill{height:28px!important;min-height:28px!important;font-size:11px!important;padding:3px 8px 3px 4px!important;gap:5px!important}
  .vmt6 .vmt6__icon{width:18px!important;height:18px!important;min-width:18px!important}
  .vmt6 .vmt6__icon svg{width:14px!important;height:14px!important}
}
@media(max-width:440px){
  .vmt6 .vmt6__inner{width:calc(100% - 16px)!important}
  .vmt6 .vmt6__left,.vmt6 .vmt6__right{gap:3px!important}
  .vmt6 .vmt6__pill{font-size:10px!important;padding:3px 6px 3px 3px!important;gap:4px!important}
  .vmt6 .vmt6__track{display:none!important}
  .vmt6 .vmt6__news{grid-template-columns:84px minmax(0,1fr)!important}
  .vmt6 .vmt6__label{width:84px!important;font-size:11px!important}
  .vmt6 .vmt6__item{font-size:11.5px!important}
}

/* Prevent the first-paint width shift. Only SHORTCODE-generated topbars are
 * hidden briefly while JS aligns them to the Woodmart content container.
 * A 2s CSS fallback reveals the bar if JS is blocked (never permanently hidden). */
.vmt6[data-vmmp-managed="1"] .vmt6__inner{opacity:0!important;animation:vmmpV14Fallback .01s linear 2s forwards!important}
.vmt6[data-vmmp-managed="1"].is-ready .vmt6__inner{opacity:1!important;animation:none!important;transition:none!important}
@keyframes vmmpV14Fallback{to{opacity:1}}

/* Reduced motion: ticker stands still and shows the first headlines */
@media(prefers-reduced-motion:reduce){
  .vmt6 *:not(.vmt6__inner){transition:none!important;animation:none!important}
}

/* Option to show only on desktop when mobile promo bar is used. */
@media(max-width:768px){.vmt6[data-vmmp-mobile="0"]{display:none!important}}
.vmt6 .vmt6__sep{font-size:12px!important;line-height:1!important}
.vmt6 .vmt6__sep svg{height:12px!important;width:12px!important}

/* Filled SVG support (Font Awesome solid icons, large viewBox paths).
   The legacy default remains outline stroke icons. */
.vmt6 .vmmp-icon-solid svg,
.vmt6 .vmmp-icon-solid svg *{fill:currentColor!important;stroke:none!important}
.vmt6 .vmt6__sep.vmmp-icon-solid svg,
.vmt6 .vmt6__sep.vmmp-icon-solid svg *{fill:#fff!important;stroke:none!important}
