/* The calculator link belongs to the existing mobile menu only. */
.dmm-transporter-count {
  display: inline-block;
  white-space: nowrap;
}

/* Keep the trust line intact without squeezing the social or login links. */
@media (max-width: 767px) {
  header .header-top > .container > .row,
  .dmm-chrome .header-top > .container > .row {
    grid-template-columns: max-content minmax(0, 1fr) max-content;
    gap: 6px;
  }

  .header-top .header-trust-column .header-trust {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 4px;
    white-space: nowrap;
  }

  .header-top .header-trust .header-trust-mobile {
    display: inline;
    white-space: nowrap;
  }

  header .header-top .header-social a,
  .dmm-chrome .header-top .header-social a {
    width: 22px;
    flex-basis: 22px;
  }

  header .header-top .header-top-btn a,
  .dmm-chrome .header-top .header-top-btn a {
    white-space: nowrap;
  }
}

@media (max-width: 374px) {
  header .header-top .header-social a,
  .dmm-chrome .header-top .header-social a {
    width: 18px;
    flex-basis: 18px;
  }

  header .header-top .header-top-btn a,
  .dmm-chrome .header-top .header-top-btn a {
    font-size: 9px;
  }
}

@media (min-width: 992px) {
  .header-navigation .mobile-calculator-link {
    display: none !important;
  }
}

/* Additional entries belong to the existing mobile navigation only. */
@media (min-width: 992px) {
  .header-navigation .mobile-calculator-link,
  .header-navigation .mobile-quotes-link {
    display: none !important;
  }
}
@media (max-width: 991px) {
  .header-navigation {
    max-height: 100dvh;
    overflow-y: auto;
  }
  .header-navigation ul li.mobile-quotes-link {
    display: block;
    margin-top: 14px;
    padding-bottom: 8px;
    flex-shrink: 0;
  }
  .header-navigation ul li.mobile-quotes-link > a.btn-common {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: auto;
    min-height: 46px;
    padding: 12px 22px;
    border: 1px solid #ee7f1e;
    border-radius: 7px;
    background: #ee7f1e;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    white-space: nowrap;
    box-shadow: 0 3px 8px rgba(1,90,189,.18);
  }
  .header-navigation .mobile-quotes-link .nav-quote-button span {
    transform: none;
  }
  .header-navigation .mobile-quotes-link .nav-quote-button > i {
    position: static;
    transform: none;
    font-size: 11px;
  }
  .header-navigation ul li.mobile-quotes-link > a.btn-common:hover {
    background: #d96d12;
    border-color: #d96d12;
    color: #fff;
  }
  .header-navigation ul li.mobile-quotes-link > a.btn-common:focus-visible {
    outline: 2px solid #015abd;
    outline-offset: 3px;
  }
}
