.ast-mobile-header-profile {
  position: initial;

  .profile-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;

    .profile-icon {
      width: 22px;
      height: 22px;
      // fill: #fff; // adjust based on your theme
      transition: transform 0.2s ease;
    }

    &:hover .profile-icon {
      transform: scale(1.1);
    }
  }

  .profile-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 240px;
    background: #111;
    border-radius: 0px 0px $box-radius $box-radius;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    padding: 16px;
    z-index: 9999;
    animation: fadeIn 0.2s ease;
    width: 100%;


    ul {
      list-style: none;
      margin: 0;
      padding: 0;

      li {
        a {
          display: flex;
          align-items: center;
          gap: 10px;
          padding: 0px 10px;
          color: #fff;
          text-decoration: none;
          transition: background 0.2s ease;
          line-height: 3;

        
          &:hover {
            background: #1a1a1a;
          }
        }
      }
    }

    &.open {
      display: block;
    }
  }
}

.cart-button{
  border-radius: 50%;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: $text-white;
  min-width: 34px;
  min-height: 34px;
  svg{
    transition: transform 0.2s ease;
  }
  &:hover {
   outline: none;
   & svg {
      transform: scale(1.1);
    }
  }
  &:focus {
    outline: none;
  }
}

// Small fade animation
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@media (min-width:1201px) {
  .ast-mobile-header-profile{
    position: relative;
    .profile-dropdown{
        margin-top: 15px;
    }
    .profile-toggle{
        background-color: $secondary-color-2;
        border-radius: 50%;
    }
  }
  .cart-button{
    background-color: $secondary-color-2;
  }
}