/* =====================================================================
 JobLik 0.33.423 — Unified Public Desktop Header Cleanup
 Desktop only. Mobile and admin are intentionally untouched.
 ===================================================================== */

@media (min-width: 761px) {

  /* 1) Remove theme switch from all comparable public desktop headers. */
  html body.public-body .v064-header-actions > .v064-theme-button {
    display: none !important;
  }

  /* 2) Automotive quick actions are no longer separate header buttons.
        "نمایشگاه خودرو من" already exists inside the account dropdown.
        Search remains available through the automotive page/gallery itself. */
  html body.public-body:not(.construction-public-body):not(.smart-card-public-body)
  .v064-header-actions > .showroom-shortcut,
  html body.public-body:not(.construction-public-body):not(.smart-card-public-body)
  .v064-header-actions > .search-shortcut {
    display: none !important;
  }

  /* Fallback by destination/class for public automotive pages even when
     experience body classes vary between older templates. */
  html body.public-body .v064-header-actions > a.showroom-shortcut[href*="/showroom/my"],
  html body.public-body .v064-header-actions > a.search-shortcut[href*="/automotive"] {
    display: none !important;
  }

  /* 3) Give the brand more visual weight and move it toward the right edge. */
  html body.public-body > .v064-header,
  html body.public-body .v064-header {
    padding-right: 8px !important;
  }

  html body.public-body .v064-header > .v064-logo.joblik-public-brand {
    min-width: 230px !important;
    width: 230px !important;
    flex: 0 0 230px !important;
    margin-right: 0 !important;
    margin-left: 12px !important;
    padding-right: 0 !important;
    justify-content: flex-start !important;
  }

  html body.public-body .v064-header .joblik-theme-logo {
    width: 230px !important;
    min-width: 230px !important;
    max-width: 230px !important;
    height: 50px !important;
    flex-basis: 230px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body.public-body .v064-header .joblik-theme-logo img,
  html body.public-body .v064-header .joblik-theme-logo .joblik-theme-logo-light,
  html body.public-body .v064-header .joblik-theme-logo .joblik-theme-logo-dark {
    width: 230px !important;
    height: 50px !important;
    max-width: 230px !important;
    object-fit: contain !important;
    object-position: right center !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Construction has its own logo renderer; enlarge its host without
     changing the specialized artwork itself. */
  html body.public-body .v064-header .joblik-construction-header-logo-v355 {
    min-width: 220px !important;
    width: 220px !important;
    max-width: 220px !important;
    margin-right: 0 !important;
    background-position: right center !important;
  }

  /* Keep the navigation flexible after enlarging the logo. */
  html body.public-body .v064-header .v064-nav {
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }

  /* Account dropdown remains the principal desktop user control. */
  html body.public-body .v064-header-actions > .account-center {
    display: block !important;
  }
}
