/* Custom mobile styles for account icon */

/* Hide text and show only icon on mobile */
@media only screen and (max-width: 767px) {
  /* Remove padding and margin from header-right divs on mobile - PRIORITY */
  .ts-header .header-middle div.header-right > div,
  .ts-header .header-bottom div.header-right > div {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .ts-header .header-middle div.header-right > div:last-child,
  .ts-header .header-bottom div.header-right > div:last-child {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
  .header-right .mobile-account-icon .ts-tiny-account-wrapper .account-control > a span {
    display: none;
  }

  .header-right .mobile-account-icon .ts-tiny-account-wrapper .account-control > a:before {
    content: '\e602';
    font-family: themify;
    font-size: 20px;
    display: inline-block;
    padding: 0;
  }

  /* Ensure the account wrapper is visible on mobile */
  .header-right .mobile-account-icon {
    display: block !important;
  }

  /* Remove padding and margin from header-right divs on mobile */
  .header-middle div.header-right > div,
  .header-bottom div.header-right > div {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .header-middle div.header-right > div:last-child,
  .header-bottom div.header-right > div:last-child {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
}
