In the Mediterranean Sea it occurs in two separate habitat types; shallow, warm lagoons and sheltered places in the central Mediterranean and deep water ( 18 meters ) rocky habitats in the northwest Mediterranean.