.topbar.dark .marketplace-account-actions {
  display: flex;
  width: 100%;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
  padding: 9px 0;
}

.topbar.dark .marketplace-account-actions > li {
  flex: 0 0 auto;
  float: none;
  padding: 0;
  border: 0;
}

.topbar.dark .marketplace-account-actions > li > a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 11px;
  border-radius: 9px;
  color: #e7efec;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.topbar.dark .marketplace-account-actions > li > a:hover,
.topbar.dark .marketplace-account-actions > li > a:focus {
  color: #fff;
  background: rgba(255,255,255,.1);
  outline: 0;
}

.topbar.dark .top-right-items .marketplace-account-actions > li > a > span { padding: 0 !important; }

.topbar.dark .marketplace-account-actions .marketplace-add-ad {
  min-height: 42px;
  padding-right: 16px;
  padding-left: 16px;
  color: #12382f;
  background: #fff;
  box-shadow: 0 7px 18px rgba(0,0,0,.14);
}

.topbar.dark .marketplace-account-actions .marketplace-add-ad:hover,
.topbar.dark .marketplace-account-actions .marketplace-add-ad:focus {
  color: #0f3028;
  background: #f0f8f5;
  transform: translateY(-1px);
}

.marketplace-message-shortcut { position: relative; }
.marketplace-message-shortcut > i { font-size: 17px; }
.marketplace-message-shortcut .marketplace-top-badge {
  display: grid;
  min-width: 19px;
  height: 19px;
  place-items: center;
  padding: 0 5px;
  border: 2px solid #173c34;
  border-radius: 99px;
  color: #fff;
  background: #e14b52;
  font-size: 10px;
  font-weight: 900;
}

.topbar.dark .marketplace-account-actions .marketplace-account-trigger {
  width: 42px;
  min-width: 42px;
  justify-content: center;
  padding: 4px;
  border: 1px solid rgba(255,255,255,.18);
}

.marketplace-account-avatar,
.marketplace-panel-avatar {
  display: grid;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: #173c34;
  background: #fff;
}

.topbar.dark .top-right-items .marketplace-account-actions > li > .marketplace-account-trigger > .marketplace-account-avatar {
  display: grid;
  box-sizing: border-box;
  width: 32px;
  height: 32px;
  place-items: center;
  padding: 0 !important;
  line-height: 1;
}

.topbar.dark .top-right-items .marketplace-account-actions > li > .marketplace-account-trigger > .marketplace-account-avatar > i {
  display: block;
  width: 18px;
  margin: 0;
  font-size: 18px;
  line-height: 1;
  text-align: center;
}

.topbar.dark .marketplace-account-dropdown-menu {
  top: calc(100% + 8px);
  right: 0;
  left: auto;
  width: 268px;
  padding: 8px;
  border: 1px solid #dce6e2;
  border-radius: 13px;
  background: #fff;
  color: #243832;
  box-shadow: 0 18px 50px rgba(16,43,34,.2);
  z-index: 1200;
}

.topbar.dark .marketplace-account-dropdown-menu::before {
  position: absolute;
  top: -6px;
  right: 22px;
  width: 12px;
  height: 12px;
  border-top: 1px solid #dce6e2;
  border-left: 1px solid #dce6e2;
  background: #fff;
  content: "";
  transform: rotate(45deg);
}

.topbar.dark .marketplace-account-dropdown-menu > li { float: none; width: 100%; padding: 0; color: #243832; }
.topbar.dark .marketplace-account-dropdown-menu > li > a {
  display: flex;
  min-height: 43px;
  align-items: center;
  gap: 11px;
  padding: 9px 11px;
  border-radius: 8px;
  color: #243832 !important;
  font-size: 13px;
  font-weight: 700;
}
.topbar.dark .marketplace-account-dropdown-menu > li > a:hover,
.topbar.dark .marketplace-account-dropdown-menu > li > a:focus { color: #0e6654 !important; background: #eaf5f1 !important; }
.topbar.dark .marketplace-account-dropdown-menu li a > i:first-child { width: 20px; color: #58736a !important; font-size: 16px; text-align: center; }
.topbar.dark .marketplace-account-dropdown-menu li a > span { flex: 1; color: inherit !important; }
.topbar.dark .marketplace-dropdown-heading span { display: block; padding: 7px 11px 5px !important; color: #667b73 !important; font-size: 10px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.marketplace-account-dropdown-menu .divider { margin: 6px 3px; background: #e7eeeb; }
.topbar.dark .marketplace-account-dropdown-menu > li > .marketplace-logout-link { color: #982f37 !important; }
.marketplace-dropdown-badge,
.marketplace-panel-badge { display: grid; min-width: 21px; height: 21px; place-items: center; padding: 0 6px; border-radius: 99px; color: #fff; background: #d7464e; font-size: 10px; }

.topbar.dark .marketplace-account-actions > .marketplace-theme-quick-item { display: flex; align-items: center; }
.topbar.dark .marketplace-theme-quick-toggle {
  display: inline-flex;
  min-width: 66px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 9px;
  color: #fff;
  background: rgba(255,255,255,.08);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}
.topbar.dark .marketplace-theme-quick-toggle:hover,
.topbar.dark .marketplace-theme-quick-toggle:focus { border-color: rgba(255,255,255,.42); color: #fff; background: rgba(255,255,255,.16); outline: 0; transform: translateY(-1px); }
.topbar.dark .marketplace-theme-quick-toggle > i { width: 17px; color: #fff; font-size: 17px; text-align: center; }
[data-ioferta-theme="dark"] .topbar.dark .marketplace-theme-quick-toggle { border-color: #69757e; background: #46515a; color: #fff; }
[data-ioferta-theme="dark"] .topbar.dark .marketplace-theme-quick-toggle > i { color: #fff; }

[data-ioferta-theme="dark"] .topbar.dark .marketplace-account-dropdown-menu {
  border-color: #3a4b55;
  background: #17232c;
  color: #edf5f2;
  box-shadow: 0 20px 55px rgba(0,0,0,.46);
}
[data-ioferta-theme="dark"] .topbar.dark .marketplace-account-dropdown-menu::before {
  border-color: #3a4b55;
  background: #17232c;
}
[data-ioferta-theme="dark"] .topbar.dark .marketplace-account-dropdown-menu > li,
[data-ioferta-theme="dark"] .topbar.dark .marketplace-account-dropdown-menu > li > a { color: #edf5f2 !important; }
[data-ioferta-theme="dark"] .topbar.dark .marketplace-account-dropdown-menu li a > i:first-child,
[data-ioferta-theme="dark"] .topbar.dark .marketplace-dropdown-heading span { color: #9fb4ac !important; }
[data-ioferta-theme="dark"] .topbar.dark .marketplace-account-dropdown-menu > li > a:hover,
[data-ioferta-theme="dark"] .topbar.dark .marketplace-account-dropdown-menu > li > a:focus { color: #fff !important; background: #253a43 !important; }
[data-ioferta-theme="dark"] .marketplace-account-dropdown-menu .divider { background: #344650; }
[data-ioferta-theme="dark"] .topbar.dark .marketplace-account-dropdown-menu > li > .marketplace-logout-link { color: #ff9ca3 !important; }

.topbar.dark .ioferta-top-logo {
  width: auto;
  flex: 0 0 220px;
}
.topbar.dark .ioferta-top-actions {
  display: flex;
  width: auto;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
}
.topbar.dark .ioferta-top-actions .top-right-items {
  float: none !important;
  width: 100%;
  min-width: 0;
}

.marketplace-panel-nav {
  overflow: hidden;
  border: 1px solid #dce6e2;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(20,53,43,.08);
}
.marketplace-panel-nav-header { display: flex; align-items: center; gap: 12px; padding: 20px 18px; color: #fff; background: linear-gradient(135deg,#173c34,#216854); }
.marketplace-panel-avatar { width: 38px; height: 38px; }
.marketplace-panel-nav-header > span:last-child { display: grid; }
.marketplace-panel-nav-header small { color: #b8d4cb; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.marketplace-panel-nav-header strong { margin-top: 2px; color: #fff; font-size: 15px; }
.marketplace-panel-links { margin: 0; padding: 8px; list-style: none; }
.marketplace-panel-links li { margin: 0; padding: 0; border: 0; }
.marketplace-panel-links li a { display: flex; min-height: 46px; align-items: center; gap: 11px; padding: 10px 11px; border-radius: 8px; color: #34443e; font-size: 13px; font-weight: 700; text-decoration: none; }
.marketplace-panel-links li a:hover,
.marketplace-panel-links li a:focus { color: #116d5a; background: #eef7f4; outline: 0; }
.marketplace-panel-links li.is-active a { color: #116d5a; background: #e7f4ef; box-shadow: inset 3px 0 0 #176b58; }
.marketplace-panel-links li.is-active a > i:first-child { color: #176b58; }
.marketplace-panel-links li a > i:first-child { width: 21px; color: #75867f; font-size: 16px; text-align: center; }
.marketplace-panel-links li a > span { flex: 1; }
.marketplace-panel-links li a > i:last-child { color: #a8b4b0; font-size: 12px; }
.marketplace-panel-logout { margin-top: 7px !important; padding-top: 7px !important; border-top: 1px solid #e7eeeb !important; }
.marketplace-panel-links .marketplace-panel-logout a { color: #a5383e; }

@media (max-width: 991px) {
  .topbar.dark .ioferta-top-logo { flex-basis: 150px; }
  .topbar.dark .ioferta-top-logo img { max-width: 150px; }
  .topbar.dark .marketplace-account-actions { gap: 5px; }
  .topbar.dark .marketplace-account-actions > li > a { padding-right: 8px; padding-left: 8px; }
  .topbar.dark .marketplace-account-actions .marketplace-home-link > a { width: 40px; padding-right: 0; padding-left: 0; }
  .marketplace-home-link span,
  .marketplace-action-label { display: none; }
  .marketplace-top-social,
  .marketplace-top-translate,
  .marketplace-top-language { display: none !important; }
  .topbar.dark .marketplace-theme-quick-toggle { min-width: 40px; width: 40px; padding-right: 0; padding-left: 0; }
  .marketplace-theme-quick-label { display: none; }
  .marketplace-account-sidebar { margin-bottom: 22px; }
  .marketplace-panel-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 3px; }
  .marketplace-panel-logout { margin-top: 0 !important; padding-top: 0 !important; border-top: 0 !important; }
}

@media (max-width: 767px) {
  .topbar.dark .ioferta-top-logo { flex-basis: 105px; }
  .topbar.dark .ioferta-top-logo img { max-width: 105px; }
  .topbar.dark .ioferta-top-actions { padding-right: 0; padding-left: 0; }
  .topbar.dark .marketplace-account-actions { gap: 3px; padding: 0; }
  .marketplace-home-link { display: none; }
  .marketplace-top-social,
  .marketplace-top-translate,
  .marketplace-top-language { display: none !important; }
  .topbar.dark .marketplace-account-actions > li > a { min-height: 38px; padding: 6px 7px !important; font-size: 11px; }
  .topbar.dark .marketplace-account-actions .marketplace-add-ad { min-height: 38px; padding-right: 10px !important; padding-left: 10px !important; }
  .marketplace-action-label { display: none; }
  .marketplace-message-shortcut > i { font-size: 19px; }
  .topbar.dark .marketplace-account-actions .marketplace-account-trigger { width: 40px; min-width: 40px; padding: 3px !important; }
  .marketplace-account-avatar { width: 32px; height: 32px; }
  .topbar.dark .marketplace-account-dropdown-menu { position: fixed; top: 62px; right: 12px; left: 12px; width: auto; }
  .topbar.dark .marketplace-account-dropdown-menu::before { display: none; }
}

@media (max-width: 430px) {
  .marketplace-login-link i { display: none; }
  .topbar.dark .marketplace-account-actions .marketplace-add-ad span { max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .marketplace-panel-links { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  .topbar.dark .ioferta-top-logo { flex-basis: 72px; }
  .topbar.dark .ioferta-top-logo img { max-width: 72px; }
}
