/* Felső sáv (akció-értesítő) */
.tb-topbar { position: relative; background: var(--tb-butter, #F1DDA4); color: var(--tb-ink); font: 500 14.5px/1.4 var(--tb-font-body, 'DM Sans', sans-serif); border-bottom: 1.5px solid rgba(47, 58, 47, .12); }
.tb-topbar[hidden] { display: none; }
.tb-topbar__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; padding: 10px 52px 10px 20px; max-width: 1680px; margin: 0 auto; text-align: center; }
.tb-topbar__t { font-weight: 700; }
.tb-topbar__code { display: inline-flex; align-items: center; gap: 6px; border: 1.5px dashed var(--tb-ink); border-radius: 999px; background: rgba(255, 255, 255, .55); padding: 4px 14px; min-height: 32px; color: var(--tb-ink); font: 500 14px var(--tb-font-body, 'DM Sans', sans-serif); cursor: pointer; transition: background .15s; }
.tb-topbar__code:hover { background: #fff; }
.tb-topbar__code b { letter-spacing: .08em; }
.tb-topbar__link { color: var(--tb-ink); font-weight: 700; text-decoration: underline; }
.tb-topbar__note { font-size: 12.5px; opacity: .7; }
.tb-topbar__x { position: absolute; top: 50%; right: 12px; transform: translateY(-50%); width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--tb-ink); font-size: 22px; line-height: 1; cursor: pointer; }
.tb-topbar__x:hover { background: rgba(47, 58, 47, .1); }
.tb-topbar :focus-visible { outline: 3px solid var(--tb-sage); outline-offset: 2px; }

/* Az OptiMonk saját felső sávját (asztali: 15, mobil: 12 kampány) elrejtjük, és az általa a lap tetejére tett üres helyet is */
body.tb-has-topbar #om-holder-campaign-15,
body.tb-has-topbar [id^="om-iframe-container-campaign-15"],
body.tb-has-topbar #om-holder-campaign-12,
body.tb-has-topbar [id^="om-iframe-container-campaign-12"] { display: none !important; }
body.tb-has-topbar { padding-top: 0 !important; }

@media (max-width: 640px) {
	.tb-topbar { font-size: 13px; }
	.tb-topbar__in { padding: 8px 40px 8px 12px; gap: 3px 8px; }
	.tb-topbar__code { min-height: 28px; padding: 2px 12px; font-size: 13px; }
	.tb-topbar__note { font-size: 11.5px; }
}
