/* =========================================================
   DAJSEM.SK – INZERCIA COMMON
   spoločný vzhľad pre vsetky.html / kategoria.html / inzerat.html
   HTML ostáva nosič štruktúry a JS ID, vzhľad ide cez tento súbor.
   ========================================================= */

:root {
  --inz-bg: #f6f7fb;
  --inz-card: #ffffff;
  --inz-text: #1f2430;
  --inz-muted: #6b7280;
  --inz-border: #e5e7eb;
  --inz-info: #0896b9;
  --inz-info-2: #06b6d4;
  --inz-primary: #ffb86b;
  --inz-danger: #dc3545;
  --inz-radius: 12px;
  --inz-radius-lg: 18px;
  --inz-shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --inz-shadow-strong: 0 18px 42px rgba(15, 23, 42, .15);
  --inz-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --inz-gradient: linear-gradient(135deg,#ff2aa1 0%,#ff7ab3 8%,#ffb86b 22%,#ffd56b 32%,#06b6d4 50%,#60a5fa 66%,#34d399 82%,#fda4af 100%);

  /* mapovanie starých premenných používaných stránkami */
  --bg-color: var(--inz-bg);
  --background-color: var(--inz-bg);
  --text-color: var(--inz-text);
  --container-bg: var(--inz-card);
  --card-bg: var(--inz-card);
  --hover-bg: #f8fafc;
  --hover-border: var(--inz-border);
  --highlight-color: var(--inz-info);
  --hover-color: var(--inz-info);
  --button-active: var(--inz-info);
  --border-radius: var(--inz-radius);
  --grad-wide: var(--inz-gradient);
  --grad-gta: var(--inz-gradient);
}

body.dark-mode {
  --inz-bg: #0f1115;
  --inz-card: #171a21;
  --inz-text: #e5e7eb;
  --inz-muted: #9aa3af;
  --inz-border: #2a2f3a;
  --inz-info: #15c9ba;
  --inz-info-2: #22d3ee;
  --inz-primary: #ff2f7c;
  --inz-danger: #ff5d6a;
  --inz-shadow: 0 10px 30px rgba(0,0,0,.35);
  --inz-shadow-strong: 0 20px 50px rgba(0,0,0,.45);

  --bg-color: var(--inz-bg);
  --background-color: var(--inz-bg);
  --text-color: var(--inz-text);
  --container-bg: var(--inz-card);
  --card-bg: var(--inz-card);
  --hover-bg: #111827;
  --hover-border: var(--inz-border);
  --highlight-color: var(--inz-info);
  --hover-color: var(--inz-info);
  --button-active: var(--inz-info);
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: var(--inz-bg);
  scrollbar-width: thin;
  scrollbar-color: #bbb transparent;
}

body.inzercia-page {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: var(--inz-font);
  color: var(--inz-text);
  background:
    linear-gradient(180deg, var(--inz-bg) 0%, rgba(255,255,255,0) 100%) no-repeat,
    var(--inz-bg);
  background-color: var(--inz-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.inzercia-page,
body.inzercia-page button,
body.inzercia-page input,
body.inzercia-page textarea,
body.inzercia-page select {
  font-family: var(--inz-font);
}

/* ------------------------------
   Jednotný header inzercie
   ------------------------------ */

body.inzercia-page header,
body.inzercia-page .site-header-clean,
body.inzercia-page header.inzercia-header {
  flex: 0 0 auto;
  min-height: 62px;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  background: var(--inz-card);
  color: var(--inz-text);
  border-bottom: 1px solid var(--inz-border);
  box-shadow: 0 2px 12px rgba(15, 23, 42, .05);
}

body.dark-mode.inzercia-page header,
body.dark-mode.inzercia-page .site-header-clean,
body.dark-mode.inzercia-page header.inzercia-header {
  box-shadow: 0 2px 14px rgba(0,0,0,.28);
}

body.inzercia-page .logo-container {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

body.inzercia-page .logo,
body.inzercia-page .logo-home {
  color: var(--inz-text);
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 850;
  letter-spacing: -0.04em;
  white-space: nowrap;
  cursor: pointer;
}

body.inzercia-page .logo span:first-child,
body.inzercia-page .logo-home span:first-child {
  background-image: var(--inz-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.inzercia-page .auth-links,
body.inzercia-page .header-actions-clean {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;

  min-width: 0 !important;
  width: 100% !important;
  height: 34px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: nowrap !important;
  overflow: visible !important;

  gap: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.inzercia-page #userInfo {
  color: rgba(203, 213, 225, 0.82);
  font-weight: 700;
  font-size: .86rem;
  max-width: 230px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: none;
  filter: none;
}

/* Ak JS vloží meno/e-mail ako vnorené elementy */
body.inzercia-page #userInfo *,
body.inzercia-page #userInfo a,
body.inzercia-page #userInfo b,
body.inzercia-page #userInfo strong,
body.inzercia-page #userInfo span {
  color: inherit;
  font-weight: inherit;
  text-shadow: none;
  filter: none;
}

/* Light režim – aby user info nebolo príliš bledé */
body.inzercia-page:not(.dark-mode) #userInfo {
  color: rgba(75, 85, 99, 0.88);
}
body.inzercia-page .action-btn,
body.inzercia-page #goToAdFormBtn,
body.inzercia-page #logoutBtn,
body.inzercia-page .theme-toggle,
body.inzercia-page .bubble-back {
  appearance: none;
  border: 1px solid var(--inz-border);
  border-radius: 999px;
  min-height: 34px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--inz-card);
  color: var(--inz-text);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .07);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}

body.inzercia-page .action-btn:hover,
body.inzercia-page #goToAdFormBtn:hover,
body.inzercia-page #logoutBtn:hover,
body.inzercia-page .theme-toggle:hover,
body.inzercia-page .bubble-back:hover {
  transform: translateY(-1px);
  border-color: var(--inz-info);
  color: var(--inz-info);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .11);
}

body.inzercia-page #goToAdFormBtn {
  background: var(--inz-info);
  border-color: var(--inz-info);
  color: #fff;
}

body.inzercia-page #logoutBtn {
  color: var(--inz-danger);
}

body.inzercia-page .bubble-back::before {
  content: "←";
  color: var(--inz-info);
  font-weight: 950;
  font-size: 1rem;
  line-height: 1;
}

/* ------------------------------
   Základ inzertnej plochy
   ------------------------------ */

body.inzercia-page main {
  flex: 1 1 auto;
  width: 100%;
}

body.inzercia-page input,
body.inzercia-page textarea,
body.inzercia-page select {
  border: 1px solid var(--inz-border);
  background: var(--inz-card);
  color: var(--inz-text);
  border-radius: 10px;
  outline: none;
}

body.inzercia-page input:focus,
body.inzercia-page textarea:focus,
body.inzercia-page select:focus {
  border-color: var(--inz-info);
  box-shadow: 0 0 0 3px rgba(8, 150, 185, .15);
}

body.inzercia-page .ad-card,
body.inzercia-page .category-card,
body.inzercia-page .modal-content,
body.inzercia-page #modalContent {
  color: var(--inz-text);
}

/* ------------------------------
   Jednotný footer inzercie
   ------------------------------ */

body.inzercia-page .site-footer {
  flex: 0 0 auto;
  margin-top: auto;
  background: var(--inz-card);
  color: var(--inz-muted);
  border-top: 1px solid var(--inz-border);
  padding: 8px 10px;
  text-align: center;
  font-size: .76rem;
  line-height: 1.32;
}

body.inzercia-page .site-footer p,
body.inzercia-page .site-footer div {
  color: var(--inz-muted);
}

body.inzercia-page .site-footer .footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 3px;
}

body.inzercia-page .site-footer a {
  color: var(--inz-muted);
  text-decoration: none;
  font-weight: 600;
  opacity: .88;
}

body.inzercia-page .site-footer a:hover {
  color: var(--inz-text);
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ------------------------------
   Mobilný header
   ------------------------------ */

@media (max-width: 600px) {
  body.inzercia-page header,
  body.inzercia-page .site-header-clean,
  body.inzercia-page header.inzercia-header {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 8px 10px;
    gap: 8px;
  }

  body.inzercia-page .logo,
  body.inzercia-page .logo-home {
    font-size: 1.08rem;
  }

  body.inzercia-page .auth-links,
  body.inzercia-page .header-actions-clean {
    gap: 5px;
  }

  body.inzercia-page #userInfo {
    display: none;
  }

  body.inzercia-page .action-btn,
  body.inzercia-page #goToAdFormBtn,
  body.inzercia-page #logoutBtn,
  body.inzercia-page .theme-toggle {
    min-height: 32px;
    padding: 0 9px;
    font-size: .72rem;
  }

  body.inzercia-page .bubble-back {
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    font-size: 0;
  }

  body.inzercia-page .bubble-back::before {
    font-size: 1.08rem;
  }
}

@media (max-width: 380px) {
  body.inzercia-page header,
  body.inzercia-page .site-header-clean,
  body.inzercia-page header.inzercia-header {
    padding: 7px 8px;
  }

  body.inzercia-page .logo,
  body.inzercia-page .logo-home {
    font-size: 1rem;
  }

  body.inzercia-page #goToAdFormBtn,
  body.inzercia-page .action-btn {
    padding: 0 8px;
  }
}

/* =========================================================
   REPORT MODAL – nad detail modalom inzerátu
   vsetky.html + kategoria.html
   ========================================================= */

body.inzercia-page #reportModal {
  position: fixed !important;
  inset: 0 !important;

  display: none;
  align-items: center !important;
  justify-content: center !important;

  padding: 14px !important;
  box-sizing: border-box !important;

  background: rgba(0, 0, 0, 0.72) !important;
  backdrop-filter: blur(3px) !important;
  -webkit-backdrop-filter: blur(3px) !important;

  z-index: 2147483600 !important;
}

/* Keď JS nastaví display:flex */
body.inzercia-page #reportModal[style*="display: flex"],
body.inzercia-page #reportModal[style*="display:flex"] {
  display: flex !important;
}

body.inzercia-page #reportModal .modal-box,
body.inzercia-page #reportModal .report-modal-box,
body.inzercia-page #reportModal > div {
  position: relative !important;
  z-index: 1 !important;

  max-width: min(520px, calc(100vw - 28px)) !important;
  max-height: calc(100dvh - 28px) !important;
  overflow-y: auto !important;

  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch !important;
}
/* =========================================================
   380px FIX – logo vľavo + userInfo viditeľné + lepšie vycentrovanie
   vsetky.html + kategoria.html
   ========================================================= */

@media (max-width: 380px) {
  body.inzercia-page header,
  body.inzercia-page .site-header-clean,
  body.inzercia-page header.inzercia-header {
    height: 54px !important;
    min-height: 54px !important;
    padding: 7px 7px !important;

    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 6px !important;

    overflow: visible !important;
  }

  body.inzercia-page .logo-container {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;

    width: auto !important;
    min-width: 82px !important;
    max-width: 92px !important;
    height: 34px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    margin: 0 !important;
    padding: 0 !important;
    gap: 4px !important;
  }

  body.inzercia-page .logo,
  body.inzercia-page .logo-home {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;

    height: 34px !important;
    margin: 0 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    font-size: .92rem !important;
    line-height: 1 !important;
    font-weight: 850 !important;
    white-space: nowrap !important;
    letter-spacing: -0.045em !important;
  }

  body.inzercia-page .auth-links,
  body.inzercia-page .header-actions-clean {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;

    min-width: 0 !important;
    width: 100% !important;
    height: 34px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    overflow: visible !important;

    gap: 3px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

 body.inzercia-page #userInfo {
  position: relative !important;
  top: 0 !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex: 0 1 auto !important;

  min-width: 0 !important;
  width: auto !important;
  max-width: 70px !important;
  height: 28px !important;

  margin: 0 !important;
  padding: 0 !important;

  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;

  color: var(--inz-muted) !important;
  font-size: .54rem !important;
  line-height: 1 !important;
  font-weight: 700 !important;

  text-align: right !important;
  text-shadow: none !important;
  filter: none !important;
}


  body.inzercia-page #goToAdFormBtn,
body.inzercia-page .action-btn,
body.inzercia-page #logoutBtn,
body.inzercia-page .theme-toggle {
  height: 28px !important;
  min-height: 28px !important;

  margin: 0 !important;
  padding: 0 4px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  font-size: .55rem !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  flex: 0 0 auto !important;
}

  body.inzercia-page .theme-toggle {
  flex: 0 0 28px !important;

  width: 28px !important;
  min-width: 28px !important;
  max-width: 28px !important;

  height: 28px !important;
  min-height: 28px !important;
  max-height: 28px !important;

  margin: 0 !important;
  padding: 0 !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  font-size: .82rem !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

  body.inzercia-page #logoutBtn[style*="display:none"],
  body.inzercia-page #logoutBtn[style*="display: none"] {
    display: none !important;
  }

  body.inzercia-page .bubble-back {
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;

    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;

    padding: 0 !important;
    margin: 0 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    font-size: 0 !important;
    line-height: 0 !important;
  }

  body.inzercia-page .bubble-back::before {
    margin: 0 !important;
    font-size: 1rem !important;
    line-height: 1 !important;
  }
  
}
/* =========================================================
   VSETKY + KATEGORIA – neprihlásený header responsive FINAL
   riešené cez spoločný inzercia.css
   - 430+ text ostane tlmený
   - toggle nespadne dole
   - Pridať + toggle ostanú v jednom riadku
   - neprihlásený stav sa neschováva
   ========================================================= */

@media (max-width: 600px) {
  body.inzercia-page.inzercia-vsetky.auth-guest header.inzercia-header,
  body.inzercia-page.inzercia-kategoria.auth-guest header.inzercia-header,
  body.inzercia-page.inzercia-vsetky.auth-guest .site-header-clean,
  body.inzercia-page.inzercia-kategoria.auth-guest .site-header-clean {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;

    min-height: 52px !important;
    height: 52px !important;

    padding: 7px 9px !important;
    gap: 6px !important;

    overflow: hidden !important;
  }

  body.inzercia-page.inzercia-vsetky.auth-guest .logo-container,
  body.inzercia-page.inzercia-kategoria.auth-guest .logo-container {
    min-width: 0 !important;
    max-width: 118px !important;

    width: auto !important;
    height: 34px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  body.inzercia-page.inzercia-vsetky.auth-guest .logo,
  body.inzercia-page.inzercia-kategoria.auth-guest .logo,
  body.inzercia-page.inzercia-vsetky.auth-guest .logo-home,
  body.inzercia-page.inzercia-kategoria.auth-guest .logo-home {
    height: 34px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    font-size: 1.08rem !important;
    line-height: 1 !important;

    white-space: nowrap !important;
  }

  body.inzercia-page.inzercia-vsetky.auth-guest header.inzercia-header .auth-links.header-actions-clean,
  body.inzercia-page.inzercia-kategoria.auth-guest header.inzercia-header .auth-links.header-actions-clean,
  body.inzercia-page.inzercia-vsetky.auth-guest .site-header-clean .auth-links.header-actions-clean,
  body.inzercia-page.inzercia-kategoria.auth-guest .site-header-clean .auth-links.header-actions-clean {
    position: static !important;
    inset: auto !important;
    transform: none !important;

    width: auto !important;
    min-width: 0 !important;
    max-width: calc(100vw - 132px) !important;
    height: 34px !important;

    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;

    align-items: center !important;
    justify-content: flex-end !important;

    gap: 3px !important;
    column-gap: 3px !important;

    margin: 0 !important;
    margin-left: auto !important;
    padding: 0 !important;

    overflow: visible !important;
    line-height: 1 !important;
  }

  body.inzercia-page.inzercia-vsetky.auth-guest header.inzercia-header #userInfo,
  body.inzercia-page.inzercia-kategoria.auth-guest header.inzercia-header #userInfo,
  body.inzercia-page.inzercia-vsetky.auth-guest .site-header-clean #userInfo,
  body.inzercia-page.inzercia-kategoria.auth-guest .site-header-clean #userInfo {
    position: static !important;
    transform: none !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;

    flex: 1 1 auto !important;

    width: auto !important;
    min-width: 0 !important;
    max-width: 92px !important;

    height: 30px !important;
    min-height: 30px !important;

    margin: 0 !important;
    padding: 0 !important;

    color: var(--inz-muted) !important;

    font-size: 0.64rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: -0.035em !important;
    text-align: right !important;

    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    overflow-wrap: normal !important;
    word-wrap: normal !important;

    text-shadow: none !important;
    filter: none !important;
  }

  body.inzercia-page.inzercia-vsetky.auth-guest header.inzercia-header #userInfo *,
  body.inzercia-page.inzercia-kategoria.auth-guest header.inzercia-header #userInfo *,
  body.inzercia-page.inzercia-vsetky.auth-guest .site-header-clean #userInfo *,
  body.inzercia-page.inzercia-kategoria.auth-guest .site-header-clean #userInfo * {
    color: inherit !important;
    font-weight: inherit !important;
    text-shadow: none !important;
    filter: none !important;
  }

  body.inzercia-page.inzercia-vsetky.auth-guest header.inzercia-header #goToAdFormBtn,
  body.inzercia-page.inzercia-kategoria.auth-guest header.inzercia-header #goToAdFormBtn,
  body.inzercia-page.inzercia-vsetky.auth-guest header.inzercia-header .action-btn,
  body.inzercia-page.inzercia-kategoria.auth-guest header.inzercia-header .action-btn,
  body.inzercia-page.inzercia-vsetky.auth-guest .site-header-clean #goToAdFormBtn,
  body.inzercia-page.inzercia-kategoria.auth-guest .site-header-clean #goToAdFormBtn,
  body.inzercia-page.inzercia-vsetky.auth-guest .site-header-clean .action-btn,
  body.inzercia-page.inzercia-kategoria.auth-guest .site-header-clean .action-btn {
    flex: 0 0 auto !important;

    width: auto !important;
    min-width: 0 !important;

    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;

    margin: 0 !important;
    padding: 0 8px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    font-size: 0.66rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    white-space: nowrap !important;

    border-radius: 999px !important;
  }

  body.inzercia-page.inzercia-vsetky.auth-guest header.inzercia-header .theme-toggle,
  body.inzercia-page.inzercia-kategoria.auth-guest header.inzercia-header .theme-toggle,
  body.inzercia-page.inzercia-vsetky.auth-guest .site-header-clean .theme-toggle,
  body.inzercia-page.inzercia-kategoria.auth-guest .site-header-clean .theme-toggle {
    flex: 0 0 30px !important;

    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;

    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    font-size: 0.9rem !important;
    line-height: 1 !important;

    white-space: nowrap !important;
  }

  body.inzercia-page.inzercia-vsetky.auth-guest header.inzercia-header #logoutBtn,
  body.inzercia-page.inzercia-kategoria.auth-guest header.inzercia-header #logoutBtn,
  body.inzercia-page.inzercia-vsetky.auth-guest .site-header-clean #logoutBtn,
  body.inzercia-page.inzercia-kategoria.auth-guest .site-header-clean #logoutBtn {
    display: none !important;
  }
}

/* 430px a menej – kompaktnejší neprihlásený header */
@media (max-width: 430px) {
  body.inzercia-page.inzercia-vsetky.auth-guest .logo-container,
  body.inzercia-page.inzercia-kategoria.auth-guest .logo-container {
    max-width: 108px !important;
  }

  body.inzercia-page.inzercia-vsetky.auth-guest .logo,
  body.inzercia-page.inzercia-kategoria.auth-guest .logo,
  body.inzercia-page.inzercia-vsetky.auth-guest .logo-home,
  body.inzercia-page.inzercia-kategoria.auth-guest .logo-home {
    font-size: 1rem !important;
  }

  body.inzercia-page.inzercia-vsetky.auth-guest header.inzercia-header .auth-links.header-actions-clean,
  body.inzercia-page.inzercia-kategoria.auth-guest header.inzercia-header .auth-links.header-actions-clean,
  body.inzercia-page.inzercia-vsetky.auth-guest .site-header-clean .auth-links.header-actions-clean,
  body.inzercia-page.inzercia-kategoria.auth-guest .site-header-clean .auth-links.header-actions-clean {
    max-width: calc(100vw - 118px) !important;
    height: 30px !important;
    gap: 2px !important;
    column-gap: 2px !important;
  }

  body.inzercia-page.inzercia-vsetky.auth-guest header.inzercia-header #userInfo,
  body.inzercia-page.inzercia-kategoria.auth-guest header.inzercia-header #userInfo,
  body.inzercia-page.inzercia-vsetky.auth-guest .site-header-clean #userInfo,
  body.inzercia-page.inzercia-kategoria.auth-guest .site-header-clean #userInfo {
    max-width: 82px !important;
    height: 28px !important;
    min-height: 28px !important;

    color: var(--inz-muted) !important;
    font-size: 0.56rem !important;
    letter-spacing: -0.04em !important;
  }

  body.inzercia-page.inzercia-vsetky.auth-guest header.inzercia-header #goToAdFormBtn,
  body.inzercia-page.inzercia-kategoria.auth-guest header.inzercia-header #goToAdFormBtn,
  body.inzercia-page.inzercia-vsetky.auth-guest header.inzercia-header .action-btn,
  body.inzercia-page.inzercia-kategoria.auth-guest header.inzercia-header .action-btn,
  body.inzercia-page.inzercia-vsetky.auth-guest .site-header-clean #goToAdFormBtn,
  body.inzercia-page.inzercia-kategoria.auth-guest .site-header-clean #goToAdFormBtn,
  body.inzercia-page.inzercia-vsetky.auth-guest .site-header-clean .action-btn,
  body.inzercia-page.inzercia-kategoria.auth-guest .site-header-clean .action-btn {
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;

    padding: 0 6px !important;
    font-size: 0.58rem !important;
  }

  body.inzercia-page.inzercia-vsetky.auth-guest header.inzercia-header .theme-toggle,
  body.inzercia-page.inzercia-kategoria.auth-guest header.inzercia-header .theme-toggle,
  body.inzercia-page.inzercia-vsetky.auth-guest .site-header-clean .theme-toggle,
  body.inzercia-page.inzercia-kategoria.auth-guest .site-header-clean .theme-toggle {
    flex: 0 0 28px !important;

    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;

    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;

    font-size: 0.86rem !important;
  }
}

/* 380px a menej – finálne pritlačenie do jedného riadku */
@media (max-width: 380px) {
  body.inzercia-page.inzercia-vsetky.auth-guest .logo-container,
  body.inzercia-page.inzercia-kategoria.auth-guest .logo-container {
    max-width: 98px !important;
  }

  body.inzercia-page.inzercia-vsetky.auth-guest header.inzercia-header .auth-links.header-actions-clean,
  body.inzercia-page.inzercia-kategoria.auth-guest header.inzercia-header .auth-links.header-actions-clean,
  body.inzercia-page.inzercia-vsetky.auth-guest .site-header-clean .auth-links.header-actions-clean,
  body.inzercia-page.inzercia-kategoria.auth-guest .site-header-clean .auth-links.header-actions-clean {
    max-width: calc(100vw - 106px) !important;
    height: 28px !important;
    gap: 1px !important;
    column-gap: 1px !important;
  }

  body.inzercia-page.inzercia-vsetky.auth-guest header.inzercia-header #userInfo,
  body.inzercia-page.inzercia-kategoria.auth-guest header.inzercia-header #userInfo,
  body.inzercia-page.inzercia-vsetky.auth-guest .site-header-clean #userInfo,
  body.inzercia-page.inzercia-kategoria.auth-guest .site-header-clean #userInfo {
    max-width: 68px !important;
    height: 26px !important;
    min-height: 26px !important;

    color: var(--inz-muted) !important;
    font-size: 0.50rem !important;
    letter-spacing: -0.045em !important;
  }

  body.inzercia-page.inzercia-vsetky.auth-guest header.inzercia-header #goToAdFormBtn,
  body.inzercia-page.inzercia-kategoria.auth-guest header.inzercia-header #goToAdFormBtn,
  body.inzercia-page.inzercia-vsetky.auth-guest header.inzercia-header .action-btn,
  body.inzercia-page.inzercia-kategoria.auth-guest header.inzercia-header .action-btn,
  body.inzercia-page.inzercia-vsetky.auth-guest .site-header-clean #goToAdFormBtn,
  body.inzercia-page.inzercia-kategoria.auth-guest .site-header-clean #goToAdFormBtn,
  body.inzercia-page.inzercia-vsetky.auth-guest .site-header-clean .action-btn,
  body.inzercia-page.inzercia-kategoria.auth-guest .site-header-clean .action-btn {
    height: 26px !important;
    min-height: 26px !important;
    max-height: 26px !important;

    padding: 0 5px !important;
    font-size: 0.52rem !important;
  }

  body.inzercia-page.inzercia-vsetky.auth-guest header.inzercia-header .theme-toggle,
  body.inzercia-page.inzercia-kategoria.auth-guest header.inzercia-header .theme-toggle,
  body.inzercia-page.inzercia-vsetky.auth-guest .site-header-clean .theme-toggle,
  body.inzercia-page.inzercia-kategoria.auth-guest .site-header-clean .theme-toggle {
    flex: 0 0 26px !important;

    width: 26px !important;
    min-width: 26px !important;
    max-width: 26px !important;

    height: 26px !important;
    min-height: 26px !important;
    max-height: 26px !important;

    font-size: 0.8rem !important;
  }
}
/* =========================================================
   REPORT MODAL – jednotné buttony pre vsetky.html + kategoria.html
   bez ladenia cez breakpointy
   ========================================================= */

body.inzercia-page #reportModal .actions {
  width: 100% !important;
  margin-top: 16px !important;

  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;

  align-items: stretch !important;
  box-sizing: border-box !important;
}

body.inzercia-page #reportModal .actions button,
body.inzercia-page #reportModal #submitReport,
body.inzercia-page #reportModal #closeReportModal {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;

  min-height: 44px !important;
  margin: 0 !important;
  padding: 11px 14px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  box-sizing: border-box !important;
  border-radius: 12px !important;

  font-size: 0.95rem !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
  text-align: center !important;
  white-space: normal !important;
}